2021-02-05 17:12:51 +00:00
|
|
|
{ lib
|
2020-04-24 23:36:52 +00:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, nose
|
2021-12-26 17:43:05 +00:00
|
|
|
, python
|
|
|
|
, pytestCheckHook
|
2020-04-24 23:36:52 +00:00
|
|
|
, six
|
|
|
|
, paste
|
2021-10-08 15:17:17 +00:00
|
|
|
, pastedeploy
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2021-10-08 15:17:17 +00:00
|
|
|
pname = "pastescript";
|
2021-06-28 23:13:55 +00:00
|
|
|
version = "3.2.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
2021-10-08 15:17:17 +00:00
|
|
|
pname = "PasteScript";
|
|
|
|
inherit version;
|
2021-06-28 23:13:55 +00:00
|
|
|
sha256 = "f3ef819785e1b284e6fc108a131bce7e740b18255d96cd2e99ee3f00fd452468";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-10-08 15:17:17 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
paste
|
|
|
|
pastedeploy
|
|
|
|
six
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-12-26 17:43:05 +00:00
|
|
|
# test suite seems to unset PYTHONPATH
|
|
|
|
doCheck = false;
|
|
|
|
checkInputs = [ nose pytestCheckHook ];
|
2021-10-08 15:17:17 +00:00
|
|
|
|
|
|
|
pythonNamespaces = [ "paste" ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-12-26 17:43:05 +00:00
|
|
|
disabledTestPaths = [
|
|
|
|
"appsetup/testfiles"
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"paste.script"
|
|
|
|
"paste.deploy"
|
|
|
|
"paste.util"
|
|
|
|
];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "A pluggable command-line frontend, including commands to setup package file layouts";
|
|
|
|
homepage = "https://github.com/cdent/pastescript/";
|
|
|
|
license = licenses.mit;
|
2021-10-08 15:17:17 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|