pythonPackages: Add version and pname attributes to packages

This commit is contained in:
adisbladis
2017-11-09 19:26:09 +08:00
committed by Frederik Rietdijk
parent 4ae5f31403
commit d99378654f
79 changed files with 240 additions and 137 deletions

View File

@@ -6,10 +6,9 @@
, six
}:
let
buildPythonPackage rec {
pname = "pytest-expect";
version = "1.1.0";
in buildPythonPackage rec {
name = "${pname}-${version}";
src = fetchurl {
@@ -28,4 +27,4 @@ in buildPythonPackage rec {
homepage = https://github.com/gsnedders/pytest-expect;
license = lib.licenses.mit;
};
}
}