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

@@ -1,7 +1,9 @@
{ stdenv, fetchurl, python, buildPythonPackage, mpi, openssh, isPy3k, isPyPy }:
buildPythonPackage rec {
name = "mpi4py-1.3.1";
pname = "mpi4py";
version = "1.3.1";
name = "${pname}-${version}";
src = fetchurl {
url = "https://bitbucket.org/mpi4py/mpi4py/downloads/${name}.tar.gz";