about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/stickytape/default.nix
blob: 99e63ebd3dfb28407460298c7971e282a9086f58 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{ lib
, buildPythonPackage
, fetchFromGitHub
, nose
, pytestCheckHook
, pythonOlder
, spur
}:

buildPythonPackage rec {
  pname = "stickytape";
  version = "0.2.1";
  format = "setuptools";

  disabled = pythonOlder "3.4";

  src = fetchFromGitHub {
    owner = "mwilliamson";
    repo = pname;
    rev = version;
    hash = "sha256-KOZN9oxPb91l8QVU07I49UMNXqox8j+oekA1fMtj6l8=";
  };

  # Tests have additional requirements
  doCheck = false;

  pythonImportsCheck = [
    "stickytape"
  ];

  meta = with lib; {
    description = "Python module to convert Python packages into a single script";
    mainProgram = "stickytape";
    homepage = "https://github.com/mwilliamson/stickytape";
    license = with licenses; [ bsd2 ];
    maintainers = with maintainers; [ fab ];
  };
}