2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
pytestCheckHook,
|
|
|
|
six,
|
|
|
|
paste,
|
2024-07-31 10:19:44 +00:00
|
|
|
setuptools,
|
2024-06-05 15:53:02 +00:00
|
|
|
pastedeploy,
|
|
|
|
pythonOlder,
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2021-10-08 15:17:17 +00:00
|
|
|
pname = "pastescript";
|
2024-06-05 15:53:02 +00:00
|
|
|
version = "3.6.0";
|
2024-07-31 10:19:44 +00:00
|
|
|
pyproject = true;
|
2023-01-11 07:51:40 +00:00
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
2021-10-08 15:17:17 +00:00
|
|
|
pname = "PasteScript";
|
|
|
|
inherit version;
|
2024-06-05 15:53:02 +00:00
|
|
|
hash = "sha256-HCLSt81TUWRr7tKMb3DrSipLklZR2a/Ko1AdBsq7UXE=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2024-07-31 10:19:44 +00:00
|
|
|
build-system = [ setuptools ];
|
|
|
|
|
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;
|
2021-10-08 15:17:17 +00:00
|
|
|
|
2024-07-31 10:19:44 +00:00
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
2023-01-11 07:51:40 +00:00
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
disabledTestPaths = [ "appsetup/testfiles" ];
|
2021-12-26 17:43:05 +00:00
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"paste.script"
|
|
|
|
"paste.deploy"
|
|
|
|
"paste.util"
|
|
|
|
];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Pluggable command-line frontend, including commands to setup package file layouts";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "paster";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/cdent/pastescript/";
|
|
|
|
license = licenses.mit;
|
2024-07-31 10:19:44 +00:00
|
|
|
maintainers = [ ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|