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