nixpkgs/pkgs/development/python-modules/asgiref/default.nix

20 lines
519 B
Nix
Raw Normal View History

{ stdenv, buildPythonPackage, fetchurl, six }:
2017-04-26 14:33:05 +02:00
buildPythonPackage rec {
version = "2.1.5";
pname = "asgiref";
name = "${pname}-${version}";
2017-04-26 14:33:05 +02:00
src = fetchurl {
url = "mirror://pypi/a/asgiref/${name}.tar.gz";
sha256 = "1a46196df28c67e046a54cc537ce5a8f6a59eb68649f54680d7e4fc3b113ab1b";
2017-04-26 14:33:05 +02:00
};
propagatedBuildInputs = [ six ];
2017-04-26 14:33:05 +02:00
meta = with stdenv.lib; {
description = "Reference ASGI adapters and channel layers";
license = licenses.bsd3;
homepage = https://github.com/django/asgiref;
};
}