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
|
2023-01-11 07:51:40 +00:00
|
|
|
, pythonOlder
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2021-10-08 15:17:17 +00:00
|
|
|
pname = "pastescript";
|
2024-02-07 01:22:34 +00:00
|
|
|
version = "3.4.0";
|
2023-01-11 07:51:40 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
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-02-07 01:22:34 +00:00
|
|
|
hash = "sha256-k0jvBlr/Is8ViMEt+wIMx1HGSC4hb4o8dRL6QKQ/kNw=";
|
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;
|
2021-10-08 15:17:17 +00:00
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [
|
2023-01-11 07:51:40 +00:00
|
|
|
nose
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
|
|
|
|
|
|
|
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
|
|
|
};
|
|
|
|
}
|