1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, nose
5, pytestCheckHook
6, pythonOlder
7, spur
8}:
9
10buildPythonPackage rec {
11 pname = "stickytape";
12 version = "0.2.1";
13 format = "setuptools";
14
15 disabled = pythonOlder "3.4";
16
17 src = fetchFromGitHub {
18 owner = "mwilliamson";
19 repo = pname;
20 rev = version;
21 hash = "sha256-KOZN9oxPb91l8QVU07I49UMNXqox8j+oekA1fMtj6l8=";
22 };
23
24 # Tests have additional requirements
25 doCheck = false;
26
27 pythonImportsCheck = [
28 "stickytape"
29 ];
30
31 meta = with lib; {
32 description = "Python module to convert Python packages into a single script";
33 homepage = "https://github.com/mwilliamson/stickytape";
34 license = with licenses; [ bsd2 ];
35 maintainers = with maintainers; [ fab ];
36 };
37}