pythonPackages: Add version and pname attributes to packages

This commit is contained in:
adisbladis
2017-11-23 17:49:43 +01:00
committed by Frederik Rietdijk
parent 4ae5f31403
commit d99378654f
79 changed files with 240 additions and 137 deletions
@@ -1,8 +1,9 @@
{ lib, fetchurl, buildPythonPackage, numpy }:
buildPythonPackage rec {
name = "sphfile-${version}";
pname = "sphfile";
version = "1.0.0";
name = pname + "-" + version;
src = fetchurl {
url = "mirror://pypi/s/sphfile/${name}.tar.gz";