mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
Merge pull request #23044 from lsix/channels_updates
updates pythonPackages.channels and dependencies
This commit is contained in:
commit
5c8a8c888a
23
pkgs/development/python-modules/channels/default.nix
Normal file
23
pkgs/development/python-modules/channels/default.nix
Normal file
@ -0,0 +1,23 @@
|
||||
{ stdenv, buildPythonPackage, fetchurl,
|
||||
asgiref, django, daphne
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
name = "channels-${version}";
|
||||
version = "1.0.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/c/channels/${name}.tar.gz";
|
||||
sha256 = "1bwlqnfc27p1qnjmdl8jnr941gpl8ggnxxfy8anh9qgmg20q9pfd";
|
||||
};
|
||||
|
||||
# Files are missing in the distribution
|
||||
doCheck = false;
|
||||
|
||||
propagatedBuildInputs = [ asgiref django daphne ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Brings event-driven capabilities to Django with a channel system";
|
||||
license = licenses.bsd3;
|
||||
homepage = https://github.com/django/channels;
|
||||
};
|
||||
}
|
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;
|
||||
};
|
||||
}
|
@ -2405,26 +2405,7 @@ in {
|
||||
};
|
||||
};
|
||||
|
||||
channels = buildPythonPackage rec {
|
||||
name = "channels-${version}";
|
||||
version = "1.0.2";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/c/channels/${name}.tar.gz";
|
||||
sha256 = "0d8fywg416p851i8vz26pmz8b47akg5z10yw7xc7i51cpmp7y5zj";
|
||||
};
|
||||
|
||||
# Files are missing in the distribution
|
||||
doCheck = false;
|
||||
|
||||
propagatedBuildInputs = with self ; [ asgiref django daphne ];
|
||||
|
||||
meta = {
|
||||
description = "Brings event-driven capabilities to Django with a channel system";
|
||||
license = licenses.bsd3;
|
||||
homepage = https://github.com/django/channels;
|
||||
};
|
||||
};
|
||||
channels = callPackage ../development/python-modules/channels {};
|
||||
|
||||
circus = buildPythonPackage rec {
|
||||
name = "circus-0.11.1";
|
||||
@ -5928,23 +5909,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 New Issue
Block a user