nixpkgs/pkgs/development/python-modules/asgi_ipc/default.nix
Frederik Rietdijk 959842a9c7 Python: add pname attributes to libraries
so that we can use the update script.
2017-05-27 11:30:21 +02:00

21 lines
566 B
Nix

{ stdenv, buildPythonPackage, fetchurl,
asgiref, msgpack, posix_ipc
}:
buildPythonPackage rec {
version = "1.3.1";
pname = "asgi_ipc";
name = "${pname}-${version}";
src = fetchurl {
url = "mirror://pypi/a/asgi_ipc/${name}.tar.gz";
sha256 = "1dm8xvm1z28f421ck1ympxsq2sjm9xb7dla6p8yd2bz6gn6p5h7v";
};
propagatedBuildInputs = [ asgiref msgpack posix_ipc ];
meta = with stdenv.lib; {
description = "Posix IPC-backed ASGI channel layer implementation";
license = licenses.bsd3;
homepage = http://github.com/django/asgi_ipc/;
};
}