python.pkgs.sockjs-tornado: move to a separate file

This commit is contained in:
Nikolay Amiantov 2018-02-25 20:27:10 +03:00
parent 67487427e9
commit 2cad4e61db
2 changed files with 21 additions and 18 deletions

View File

@ -0,0 +1,20 @@
{ lib, buildPythonPackage, fetchurl, tornado }:
buildPythonPackage rec {
name = "sockjs-tornado-${version}";
version = "1.0.3";
src = fetchurl {
url = "mirror://pypi/s/sockjs-tornado/${name}.tar.gz";
sha256 = "16cff40nniqsyvda1pb2j3b4zwmrw7y2g1vqq78lp20xpmhnwwkd";
};
propagatedBuildInputs = [ tornado ];
meta = with lib; {
homepage = http://github.com/mrjoes/sockjs-tornado/;
description = "SockJS python server implementation on top of Tornado framework";
license = licenses.mit;
maintainers = with maintainers; [ abbradar ];
};
}

View File

@ -16224,24 +16224,7 @@ in {
};
};
sockjs-tornado = buildPythonPackage rec {
name = "sockjs-tornado-${version}";
version = "1.0.3";
src = pkgs.fetchurl {
url = "mirror://pypi/s/sockjs-tornado/${name}.tar.gz";
sha256 = "16cff40nniqsyvda1pb2j3b4zwmrw7y2g1vqq78lp20xpmhnwwkd";
};
propagatedBuildInputs = with self; [ tornado ];
meta = {
homepage = "http://github.com/mrjoes/sockjs-tornado/";
description = "SockJS python server implementation on top of Tornado framework";
license = licenses.mit;
maintainers = with maintainers; [ abbradar ];
};
};
sockjs-tornado = callPackage ../development/python-modules/sockjs-tornado { };
sorl_thumbnail = buildPythonPackage rec {
name = "sorl-thumbnail-11.12";