about summary refs log tree commit diff
path: root/pkgs/development/python-modules/stickytape/default.nix
blob: c3c9d4423fd0251f08d0a1243dc456bb8808c796 (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
{ 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";
    homepage = "https://github.com/mwilliamson/stickytape";
    license = with licenses; [ bsd2 ];
    maintainers = with maintainers; [ fab ];
  };
}