pythonPackages.webhelpers: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-29 11:32:23 -04:00
parent 9041374d64
commit 6c10afe130
No known key found for this signature in database
GPG Key ID: 9ED59B0AB1EAF573
2 changed files with 32 additions and 19 deletions

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

View File

@ -4268,25 +4268,7 @@ in {
websocket_client = callPackage ../development/python-modules/websockets_client { };
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;
};
};
webhelpers = callPackage ../development/python-modules/webhelpers { };
whichcraft = callPackage ../development/python-modules/whichcraft { };