587713944a
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
61 lines
1 KiB
Nix
61 lines
1 KiB
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, nose
|
|
, python
|
|
, pytestCheckHook
|
|
, six
|
|
, paste
|
|
, pastedeploy
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pastescript";
|
|
version = "3.5.1";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
pname = "PasteScript";
|
|
inherit version;
|
|
hash = "sha256-zRtgbNReloT/20SL1tmq70IN0u/n5rYsbTc6Rv9DyDU=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
paste
|
|
pastedeploy
|
|
six
|
|
];
|
|
|
|
# test suite seems to unset PYTHONPATH
|
|
doCheck = false;
|
|
|
|
nativeCheckInputs = [
|
|
nose
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonNamespaces = [
|
|
"paste"
|
|
];
|
|
|
|
disabledTestPaths = [
|
|
"appsetup/testfiles"
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"paste.script"
|
|
"paste.deploy"
|
|
"paste.util"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "A pluggable command-line frontend, including commands to setup package file layouts";
|
|
mainProgram = "paster";
|
|
homepage = "https://github.com/cdent/pastescript/";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ ];
|
|
};
|
|
}
|