mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
pythonPackages.daphne: 1.0.1 -> 1.0.3
This commit is contained in:
parent
8103499e9d
commit
4d5093f5e1
2 changed files with 21 additions and 17 deletions
20
pkgs/development/python-modules/daphne/default.nix
Normal file
20
pkgs/development/python-modules/daphne/default.nix
Normal file
|
@ -0,0 +1,20 @@
|
|||
{ stdenv, buildPythonPackage, fetchurl,
|
||||
asgiref, autobahn, twisted
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
name = "daphne-${version}";
|
||||
version = "1.0.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/d/daphne/${name}.tar.gz";
|
||||
sha256 = "1bpavq3sxr66mqwnnfg67pcchyaq7siqyin2r89aqadf6nab58d2";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ asgiref autobahn twisted ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Django ASGI (HTTP/WebSocket) server";
|
||||
license = licenses.bsd3;
|
||||
homepage = https://github.com/django/daphne;
|
||||
};
|
||||
}
|
|
@ -5895,23 +5895,7 @@ in {
|
|||
};
|
||||
});
|
||||
|
||||
daphne = buildPythonPackage rec {
|
||||
name = "daphne-${version}";
|
||||
version = "1.0.1";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/d/daphne/${name}.tar.gz";
|
||||
sha256 = "0l62bd9swv0k9qcpl2s8kj4mgl6qayi0krwkkg1x73a9y48xpi9z";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with self; [ asgiref autobahn ];
|
||||
|
||||
meta = {
|
||||
description = "Django ASGI (HTTP/WebSocket) server";
|
||||
license = licenses.bsd3;
|
||||
homepage = https://github.com/django/daphne;
|
||||
};
|
||||
};
|
||||
daphne = callPackage ../development/python-modules/daphne { };
|
||||
|
||||
dateparser = buildPythonPackage rec {
|
||||
name = "dateparser-${version}";
|
||||
|
|
Loading…
Reference in a new issue