3
0
Fork 0
forked from mirrors/nixpkgs

pythonPackages.websockify: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-29 09:38:34 -04:00
parent 0e1a1d0bd9
commit 1d10b0c74a
No known key found for this signature in database
GPG key ID: 9ED59B0AB1EAF573
2 changed files with 25 additions and 17 deletions

View file

@ -0,0 +1,24 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, numpy
}:
buildPythonPackage rec {
version = "0.7.0";
pname = "websockify";
src = fetchPypi {
inherit pname version;
sha256 = "1v6pmamjprv2x55fvbdaml26ppxdw8v6xz8p0sav3368ajwwgcqc";
};
propagatedBuildInputs = [ numpy ];
meta = with stdenv.lib; {
description = "WebSockets support for any application/server";
homepage = https://github.com/kanaka/websockify;
license = licenses.lgpl3;
};
}

View file

@ -4117,23 +4117,7 @@ in {
webob = callPackage ../development/python-modules/webob { };
websockify = buildPythonPackage rec {
version = "0.7.0";
name = "websockify-${version}";
src = pkgs.fetchurl {
url = "mirror://pypi/w/websockify/websockify-${version}.tar.gz";
sha256 = "1v6pmamjprv2x55fvbdaml26ppxdw8v6xz8p0sav3368ajwwgcqc";
};
propagatedBuildInputs = with self; [ numpy ];
meta = {
description = "WebSockets support for any application/server";
homepage = https://github.com/kanaka/websockify;
};
};
websockify = callPackage ../development/python-modules/websockify { };
webtest = buildPythonPackage rec {
version = "2.0.20";