1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 nose,
6 python,
7 pytestCheckHook,
8 six,
9 paste,
10 pastedeploy,
11 pythonOlder,
12}:
13
14buildPythonPackage rec {
15 pname = "pastescript";
16 version = "3.5.1";
17 format = "setuptools";
18
19 disabled = pythonOlder "3.7";
20
21 src = fetchPypi {
22 pname = "PasteScript";
23 inherit version;
24 hash = "sha256-zRtgbNReloT/20SL1tmq70IN0u/n5rYsbTc6Rv9DyDU=";
25 };
26
27 propagatedBuildInputs = [
28 paste
29 pastedeploy
30 six
31 ];
32
33 # test suite seems to unset PYTHONPATH
34 doCheck = false;
35
36 nativeCheckInputs = [
37 nose
38 pytestCheckHook
39 ];
40
41 pythonNamespaces = [ "paste" ];
42
43 disabledTestPaths = [ "appsetup/testfiles" ];
44
45 pythonImportsCheck = [
46 "paste.script"
47 "paste.deploy"
48 "paste.util"
49 ];
50
51 meta = with lib; {
52 description = "A pluggable command-line frontend, including commands to setup package file layouts";
53 mainProgram = "paster";
54 homepage = "https://github.com/cdent/pastescript/";
55 license = licenses.mit;
56 maintainers = with maintainers; [ ];
57 };
58}