Skip to content
This repository was archived by the owner on Apr 12, 2021. It is now read-only.
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-channels
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: ad3e19a520ae
Choose a base ref
...
head repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: ce9b83b8fee9
Choose a head ref
  • 2 commits
  • 2 files changed
  • 2 contributors

Commits on Mar 9, 2019

  1. pythonPackages.rfc3986: fix pytest dependency

    (cherry picked from commit 40953c8)
    worldofpeace committed Mar 9, 2019

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    jluttine Jaakko Luttinen
    Copy the full SHA
    1b97770 View commit details
  2. Merge pull request #57132 from ckauhaus/vulnix-1.8.0

    vulnix: 1.7.1 -> 1.8.0
    (cherry picked from commit 1f8aa8b)
    7c6f434c committed Mar 9, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    ce9b83b View commit details
Showing with 7 additions and 8 deletions.
  1. +2 −2 pkgs/development/python-modules/rfc3986/default.nix
  2. +5 −6 pkgs/tools/security/vulnix/default.nix
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/rfc3986/default.nix
Original file line number Diff line number Diff line change
@@ -10,9 +10,9 @@ buildPythonPackage rec {
sha256 = "1qf4dyxvjs7mxrxc0gr7gzyn4iflb2wgq01r5pzrxac8rnvy8fmw";
};

buildInputs = [ pytest ];
checkInputs = [ pytest ];
checkPhase = ''
py.test
pytest
'';

meta = with stdenv.lib; {
11 changes: 5 additions & 6 deletions pkgs/tools/security/vulnix/default.nix
Original file line number Diff line number Diff line change
@@ -2,13 +2,14 @@

pythonPackages.buildPythonApplication rec {
pname = "vulnix";
version = "1.7.1";
version = "1.8.0";

src = pythonPackages.fetchPypi {
inherit pname version;
sha256 = "15c32976sgb5clixngi6z1fk5h02v1kn1a89h8rkbkvyhfnjgg8m";
sha256 = "15j8zz7qmf6c6vhim08yn1knn0qhwypmc7bxw608zg5nf50vghyb";
};

outputs = [ "out" "doc" "man" ];
nativeBuildInputs = [ ronn ];

checkInputs = with pythonPackages; [
@@ -30,17 +31,15 @@ pythonPackages.buildPythonApplication rec {
zodb
]);

outputs = [ "out" "doc" ];

postBuild = "make -C doc";

checkPhase = "py.test src/vulnix";

postInstall = ''
install -D -t $out/share/man/man1 doc/vulnix.1
install -D -t $out/share/man/man5 doc/vulnix-whitelist.5
install -D -t $doc/share/doc/vulnix README.rst CHANGES.rst
gzip $doc/share/doc/vulnix/*.rst
install -D -t $man/share/man/man1 doc/vulnix.1
install -D -t $man/share/man/man5 doc/vulnix-whitelist.5
'';

dontStrip = true;