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

@@ -11,8 +11,8 @@
buildPythonPackage rec {
pname = "PySoundFile";
name = "PySoundFile-${version}";
version = "0.8.1";
name = pname + "-" + version;
src = fetchPypi {
inherit pname version;
@@ -35,4 +35,4 @@ buildPythonPackage rec {
# https://github.com/bastibe/PySoundFile/issues/157
disabled = isPyPy || stdenv.isi686;
}
}