pythonPackages.flup: refactor move to pyhton-modules

added pypifetch
This commit is contained in:
Chris Ostrouchov 2018-10-16 15:58:44 -04:00 committed by Frederik Rietdijk
parent fd9d52e1fe
commit cfe52039ac
2 changed files with 24 additions and 13 deletions

View File

@ -0,0 +1,23 @@
{ stdenv
, buildPythonPackage
, isPy3k
, fetchPypi
}:
buildPythonPackage rec {
pname = "flup";
version = "1.0.3";
disabled = isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "5eb09f26eb0751f8380d8ac43d1dfb20e1d42eca0fa45ea9289fa532a79cd159";
};
meta = with stdenv.lib; {
homepage = "http://trac.saddi.com/flup";
description = "FastCGI Python module set";
license = licenses.bsd0;
};
}

View File

@ -2305,20 +2305,8 @@ in {
license = licenses.mit;
};
};
flup = buildPythonPackage (rec {
name = "flup-1.0.2";
disabled = isPy3k;
src = pkgs.fetchurl {
url = "http://www.saddi.com/software/flup/dist/${name}.tar.gz";
sha256 = "1nbx174g40l1z3a8arw72qz05a1qxi3didp9wm7kvkn1bxx33bab";
};
meta = {
homepage = "http://trac.saddi.com/flup";
description = "FastCGI Python module set";
};
});
flup = callPackage ../development/python-modules/flup { };
fn = callPackage ../development/python-modules/fn { };