pythonPackages.klein: move expression
This commit is contained in:
parent
86f21360ac
commit
86e007bd31
21
pkgs/development/python-modules/klein/default.nix
Normal file
21
pkgs/development/python-modules/klein/default.nix
Normal file
@ -0,0 +1,21 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, isPy3k, werkzeug, twisted }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "klein";
|
||||
version = "15.3.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1hl2psnn1chm698rimyn9dgcpl1mxgc8dj11b3ipp8z37yfjs3z9";
|
||||
};
|
||||
|
||||
disabled = isPy3k;
|
||||
|
||||
propagatedBuildInputs = [ werkzeug twisted ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Klein Web Micro-Framework";
|
||||
homepage = "https://github.com/twisted/klein";
|
||||
license = licenses.mit;
|
||||
};
|
||||
}
|
@ -8835,24 +8835,8 @@ in {
|
||||
|
||||
keyutils = callPackage ../development/python-modules/keyutils { };
|
||||
|
||||
klein = buildPythonPackage rec {
|
||||
name = "klein-15.3.1";
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/k/klein/${name}.tar.gz";
|
||||
sha256 = "1hl2psnn1chm698rimyn9dgcpl1mxgc8dj11b3ipp8z37yfjs3z9";
|
||||
};
|
||||
|
||||
disabled = isPy3k;
|
||||
|
||||
propagatedBuildInputs = with self; [ werkzeug twisted ];
|
||||
|
||||
meta = {
|
||||
description = "Klein Web Micro-Framework";
|
||||
homepage = "https://github.com/twisted/klein";
|
||||
license = licenses.mit;
|
||||
};
|
||||
};
|
||||
|
||||
klein = callPackage ../development/python-modules/klein { };
|
||||
|
||||
koji = callPackage ../development/python-modules/koji { };
|
||||
|
||||
kombu = buildPythonPackage rec {
|
||||
|
Loading…
Reference in New Issue
Block a user