pythonPackages: Add version and pname attributes to packages
This commit is contained in:
committed by
Frederik Rietdijk
parent
4ae5f31403
commit
d99378654f
@@ -10,7 +10,7 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "path.py";
|
||||
version = "10.4";
|
||||
name = "path.py-${version}";
|
||||
name = pname + "-" + version;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
@@ -31,4 +31,4 @@ buildPythonPackage rec {
|
||||
checkPhase = ''
|
||||
py.test test_path.py
|
||||
'';
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user