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
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;
};
}