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

@@ -2,8 +2,9 @@
asgiref, asgi_ipc, msgpack, six, redis, cryptography
}:
buildPythonPackage rec {
name = "asgi_redis-${version}";
version = "1.3.0";
pname = "asgi_redis";
name = "${pname}-${version}";
src = fetchurl {
url = "mirror://pypi/a/asgi_redis/${name}.tar.gz";