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