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