60f07311b9
GitOrigin-RevId: f8e2ebd66d097614d51a56a755450d4ae1632df1
60 lines
1,017 B
Nix
60 lines
1,017 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, nose
|
|
, python
|
|
, pytestCheckHook
|
|
, six
|
|
, paste
|
|
, pastedeploy
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pastescript";
|
|
version = "3.4.0";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
pname = "PasteScript";
|
|
inherit version;
|
|
hash = "sha256-k0jvBlr/Is8ViMEt+wIMx1HGSC4hb4o8dRL6QKQ/kNw=";
|
|
};
|
|
|
|
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";
|
|
homepage = "https://github.com/cdent/pastescript/";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ ];
|
|
};
|
|
}
|