python.pkgs.cryptography: remove assert broken when overriding
When overriding cryptography and cryptograohy_vectors, the assertion fails because `version` still refers to the old value.
This commit is contained in:
parent
5786cba889
commit
41c13780cb
@ -20,12 +20,10 @@
|
||||
, hypothesis
|
||||
}:
|
||||
|
||||
let
|
||||
version = "2.3";
|
||||
in assert version == cryptography_vectors.version; buildPythonPackage rec {
|
||||
buildPythonPackage rec {
|
||||
# also bump cryptography_vectors
|
||||
pname = "cryptography";
|
||||
inherit version;
|
||||
version = "2.3";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
@ -64,4 +62,4 @@ in assert version == cryptography_vectors.version; buildPythonPackage rec {
|
||||
# IOKit's dependencies are inconsistent between OSX versions, so this is the best we
|
||||
# can do until nix 1.11's release
|
||||
__impureHostDeps = [ "/usr/lib" ];
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user