pythonPackages.klein: move expression

This commit is contained in:
Robert Schütz 2018-03-20 12:55:22 +01:00
parent 86f21360ac
commit 86e007bd31
2 changed files with 23 additions and 18 deletions

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

View File

@ -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 {