Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: c9bf6aebaa6e
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 40d02af8aab1
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Jan 2, 2020

  1. ansible-lint: 4.1.1a0 -> 4.2.0

    Upstream switched to a PEP517-based build[1] which required some minor
    changes on the package. Additionally, the update fixes the currently
    broken package build[2].
    
    [1] https://www.python.org/dev/peps/pep-0517/
    [2] https://hydra.nixos.org/build/109032815
    Ma27 committed Jan 2, 2020

    Verified

    This commit was signed with the committer’s verified signature.
    janb87 Jan Bevers
    Copy the full SHA
    40d02af View commit details
Showing with 6 additions and 3 deletions.
  1. +6 −3 pkgs/development/python-modules/ansible-lint/default.nix
9 changes: 6 additions & 3 deletions pkgs/development/python-modules/ansible-lint/default.nix
Original file line number Diff line number Diff line change
@@ -11,13 +11,15 @@

buildPythonPackage rec {
pname = "ansible-lint";
version = "4.1.1a0";
version = "4.2.0";

src = fetchPypi {
inherit pname version;
sha256 = "00mw56a3lmdb5xvrzhahrzqv3wvxfz0mxl4n0qbkxzggf2pg0i8d";
sha256 = "0jj1vjmwgaj6d3f3xslcfq5zp16z7rxwlahfp36661fpha35v4pb";
};

format = "pyproject";

nativeBuildInputs = [ setuptools_scm ];
propagatedBuildInputs = [ pyyaml six ansible ruamel_yaml ];
checkInputs = [ nose ];
@@ -31,10 +33,11 @@ buildPythonPackage rec {
# give a hint to setuptools_scm on package version
preBuild = ''
export SETUPTOOLS_SCM_PRETEND_VERSION="v${version}"
export HOME=$(mktemp -d)
'';

checkPhase = ''
PATH=$out/bin:$PATH HOME=$(mktemp -d) nosetests test
PATH=$out/bin:$PATH nosetests test
'';

meta = with lib; {