about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/python-constraint/default.nix
blob: 7b191010aac58be23b20fee97f5b0d156584c2fc (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
{ lib
, buildPythonPackage
, fetchFromGitHub
  # Check inputs
, pytestCheckHook
}:

buildPythonPackage rec {
  pname = "python-constraint";
  version = "1.4.0";
  format = "setuptools";

  src = fetchFromGitHub {
    owner = "python-constraint";
    repo = "python-constraint";
    rev = version;
    sha256 = "1dv11406yxmmgkkhwzqicajbg2bmla5xfad7lv57zyahxz8jzz94";
  };

  nativeCheckInputs = [ pytestCheckHook ];
  dontUseSetuptoolsCheck = true;

  meta = with lib; {
    description = "Constraint Solving Problem resolver for Python.";
    homepage = "https://labix.org/doc/constraint/";
    downloadPage = "https://github.com/python-constraint/python-constraint/releases";
    license = licenses.bsd2;
    maintainers = with maintainers; [ drewrisinger ];
  };
}