Python: add pname attributes to libraries

so that we can use the update script.
This commit is contained in:
Frederik Rietdijk
2017-05-27 11:25:35 +02:00
parent dce1c26e5d
commit 959842a9c7
95 changed files with 265 additions and 152 deletions

View File

@@ -20,8 +20,9 @@ assert enableTk -> (tcl != null)
assert enableQt -> pyqt4 != null;
buildPythonPackage rec {
name = "matplotlib-${version}";
version = "2.0.0";
pname = "matplotlib";
name = "${pname}-${version}";
src = fetchurl {
url = "mirror://pypi/m/matplotlib/${name}.tar.gz";