aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/development/python-modules/amply/default.nix
blob: 1962d004f41bd88f32c8ab3afeb7cedabb0b0ba4 (plain)
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
{ stdenv
, fetchPypi
, buildPythonPackage
, setuptools_scm
, docutils
, pyparsing
, pytestCheckHook
}:

buildPythonPackage rec {
  pname = "amply";
  version = "0.1.4";

  src = fetchPypi {
    inherit pname version;
    sha256 = "cb12dcb49d16b168c02be128a1527ecde50211e4bd94af76ff4e67707f5a2d38";
  };

  nativeBuildInputs = [ setuptools_scm ];
  propagatedBuildInputs = [
    docutils
    pyparsing
  ];
  checkInputs = [ pytestCheckHook ];

  pythonImportsCheck = [ "amply" ];

  meta = with stdenv.lib; {
    homepage = "https://github.com/willu47/amply";
    description = ''
      Allows you to load and manipulate AMPL/GLPK data as Python data structures
    '';
    maintainers = with maintainers; [ ris ];
    license = licenses.epl10;
  };
}