pythonPackages.webhelpers: refactor move to python-modules
This commit is contained in:
parent
9041374d64
commit
6c10afe130
31
pkgs/development/python-modules/webhelpers/default.nix
Normal file
31
pkgs/development/python-modules/webhelpers/default.nix
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, routes
|
||||||
|
, markupsafe
|
||||||
|
, webob
|
||||||
|
, nose
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "WebHelpers";
|
||||||
|
version = "1.3";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "ea86f284e929366b77424ba9a89341f43ae8dee3cbeb8702f73bcf86058aa583";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ routes markupsafe webob nose ];
|
||||||
|
|
||||||
|
# TODO: failing tests https://bitbucket.org/bbangert/webhelpers/pull-request/1/fix-error-on-webob-123/diff
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = https://webhelpers.readthedocs.org/en/latest/;
|
||||||
|
description = "Web Helpers";
|
||||||
|
license = licenses.free;
|
||||||
|
maintainers = with maintainers; [ garbas domenkozar ];
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -4268,25 +4268,7 @@ in {
|
|||||||
|
|
||||||
websocket_client = callPackage ../development/python-modules/websockets_client { };
|
websocket_client = callPackage ../development/python-modules/websockets_client { };
|
||||||
|
|
||||||
|
webhelpers = callPackage ../development/python-modules/webhelpers { };
|
||||||
webhelpers = buildPythonPackage rec {
|
|
||||||
name = "WebHelpers-1.3";
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/W/WebHelpers/${name}.tar.gz";
|
|
||||||
sha256 = "ea86f284e929366b77424ba9a89341f43ae8dee3cbeb8702f73bcf86058aa583";
|
|
||||||
};
|
|
||||||
|
|
||||||
buildInputs = with self; [ routes markupsafe webob nose ];
|
|
||||||
|
|
||||||
# TODO: failing tests https://bitbucket.org/bbangert/webhelpers/pull-request/1/fix-error-on-webob-123/diff
|
|
||||||
doCheck = false;
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
maintainers = with maintainers; [ garbas domenkozar ];
|
|
||||||
platforms = platforms.all;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
whichcraft = callPackage ../development/python-modules/whichcraft { };
|
whichcraft = callPackage ../development/python-modules/whichcraft { };
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user