pythonPackages.flup: refactor move to pyhton-modules
added pypifetch
This commit is contained in:
parent
fd9d52e1fe
commit
cfe52039ac
23
pkgs/development/python-modules/flup/default.nix
Normal file
23
pkgs/development/python-modules/flup/default.nix
Normal 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;
|
||||
};
|
||||
|
||||
}
|
@ -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 { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user