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,8 +1,9 @@
{ stdenv, buildPythonPackage, fetchurl,
m2r, setuptools_scm, six, attrs }:
buildPythonPackage rec {
name = "Automat-${version}";
version = "0.5.0";
pname = "Automat";
name = "${pname}-${version}";
src = fetchurl {
url = "mirror://pypi/A/Automat/${name}.tar.gz";