python.pkgs.cryptography_vectors: move expression

This commit is contained in:
Frederik Rietdijk 2018-02-03 11:35:57 +01:00
parent e375e77bcf
commit 40aff3b912
2 changed files with 19 additions and 14 deletions

View File

@ -0,0 +1,18 @@
{ buildPythonPackage
, fetchPypi
, cryptography
}:
buildPythonPackage rec {
# also bump cryptography
pname = "cryptography_vectors";
version = cryptography.version;
src = fetchPypi {
inherit pname version;
sha256 = "beb831aa73663a224f4d7520483ed02da544533bb03b26ec07a5f9a0dd0941e1";
};
# No tests included
doCheck = false;
}

View File

@ -2841,20 +2841,7 @@ in {
__impureHostDeps = [ "/usr/lib" ];
};
cryptography_vectors = buildPythonPackage rec {
# also bump cryptography
pname = "cryptography_vectors";
version = self.cryptography.version;
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "beb831aa73663a224f4d7520483ed02da544533bb03b26ec07a5f9a0dd0941e1";
};
# No tests included
doCheck = false;
};
cryptography_vectors = callPackage ../development/python-modules/cryptography_vectors { };
curtsies = callPackage ../development/python-modules/curtsies { };