pythonPackages.web: refactor move to python-modules
This commit is contained in:
parent
88c225d45a
commit
e273fa73ed
28
pkgs/development/python-modules/web/default.nix
Normal file
28
pkgs/development/python-modules/web/default.nix
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, isPy3k
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
version = "0.37";
|
||||||
|
pname = "web.py";
|
||||||
|
disabled = isPy3k;
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "748c7e99ad9e36f62ea19f7965eb7dd7860b530e8f563ed60ce3e53e7409a550";
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Makes web apps";
|
||||||
|
longDescription = ''
|
||||||
|
Think about the ideal way to write a web app.
|
||||||
|
Write the code to make it happen.
|
||||||
|
'';
|
||||||
|
homepage = "http://webpy.org/";
|
||||||
|
license = licenses.publicDomain;
|
||||||
|
maintainers = with maintainers; [ layus ];
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -4113,27 +4113,7 @@ in {
|
|||||||
|
|
||||||
wcwidth = callPackage ../development/python-modules/wcwidth { };
|
wcwidth = callPackage ../development/python-modules/wcwidth { };
|
||||||
|
|
||||||
web = buildPythonPackage rec {
|
web = callPackage ../development/python-modules/web { };
|
||||||
version = "0.37";
|
|
||||||
name = "web.py-${version}";
|
|
||||||
disabled = isPy3k;
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/w/web.py/web.py-${version}.tar.gz";
|
|
||||||
sha256 = "748c7e99ad9e36f62ea19f7965eb7dd7860b530e8f563ed60ce3e53e7409a550";
|
|
||||||
};
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "Makes web apps";
|
|
||||||
longDescription = ''
|
|
||||||
Think about the ideal way to write a web app.
|
|
||||||
Write the code to make it happen.
|
|
||||||
'';
|
|
||||||
homepage = "http://webpy.org/";
|
|
||||||
license = licenses.publicDomain;
|
|
||||||
maintainers = with maintainers; [ layus ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
webob = buildPythonPackage rec {
|
webob = buildPythonPackage rec {
|
||||||
pname = "WebOb";
|
pname = "WebOb";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user