python.pkgs.beaker: move expression
This commit is contained in:
parent
e002b543af
commit
d296a379ba
43
pkgs/development/python-modules/beaker/default.nix
Normal file
43
pkgs/development/python-modules/beaker/default.nix
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, nose
|
||||||
|
, mock
|
||||||
|
, webtest
|
||||||
|
, sqlalchemy
|
||||||
|
, pycrypto
|
||||||
|
, isPy27
|
||||||
|
, funcsigs
|
||||||
|
, pycryptopp
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "Beaker";
|
||||||
|
version = "1.8.0";
|
||||||
|
|
||||||
|
# The pypy release do not contains the tests
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "bbangert";
|
||||||
|
repo = "beaker";
|
||||||
|
rev = "${version}";
|
||||||
|
sha256 = "17yfr7a307n8rdl09was4j60xqk2s0hk0hywdkigrpj4qnw0is7g";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs =
|
||||||
|
[ nose
|
||||||
|
mock
|
||||||
|
webtest
|
||||||
|
];
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
sqlalchemy
|
||||||
|
pycrypto
|
||||||
|
] ++ lib.optionals (isPy27) [
|
||||||
|
funcsigs
|
||||||
|
pycryptopp
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "A Session and Caching library with WSGI Middleware";
|
||||||
|
maintainers = with lib.maintainers; [ garbas domenkozar ];
|
||||||
|
};
|
||||||
|
}
|
@ -937,37 +937,7 @@ in {
|
|||||||
|
|
||||||
beautifulsoup4 = callPackage ../development/python-modules/beautifulsoup4 { };
|
beautifulsoup4 = callPackage ../development/python-modules/beautifulsoup4 { };
|
||||||
|
|
||||||
beaker = buildPythonPackage rec {
|
beaker = callPackage ../development/python-modules/beaker { };
|
||||||
name = "Beaker-${version}";
|
|
||||||
version = "1.8.0";
|
|
||||||
|
|
||||||
# The pypy release do not contains the tests
|
|
||||||
src = pkgs.fetchFromGitHub {
|
|
||||||
owner = "bbangert";
|
|
||||||
repo = "beaker";
|
|
||||||
rev = "${version}";
|
|
||||||
sha256 = "17yfr7a307n8rdl09was4j60xqk2s0hk0hywdkigrpj4qnw0is7g";
|
|
||||||
};
|
|
||||||
|
|
||||||
buildInputs =
|
|
||||||
[ self.nose
|
|
||||||
self.mock
|
|
||||||
self.webtest
|
|
||||||
];
|
|
||||||
propagatedBuildInputs = [
|
|
||||||
self.sqlalchemy
|
|
||||||
self.pycrypto
|
|
||||||
] ++ optionals (isPy27) [
|
|
||||||
self.funcsigs
|
|
||||||
self.pycryptopp
|
|
||||||
];
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "A Session and Caching library with WSGI Middleware";
|
|
||||||
maintainers = with maintainers; [ garbas domenkozar ];
|
|
||||||
platforms = platforms.all;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
betamax = callPackage ../development/python-modules/betamax {};
|
betamax = callPackage ../development/python-modules/betamax {};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user