1{ lib
2, fetchPypi
3, buildPythonPackage
4, setuptools-scm
5, docutils
6, pyparsing
7, pytestCheckHook
8}:
9
10buildPythonPackage rec {
11 pname = "amply";
12 version = "0.1.6";
13
14 src = fetchPypi {
15 inherit pname version;
16 hash = "sha256-YUIRA8z44QZnFxFf55F2ENgx1VHGjTGhEIdqW2x4rqQ=";
17 };
18
19 nativeBuildInputs = [ setuptools-scm ];
20 propagatedBuildInputs = [
21 docutils
22 pyparsing
23 ];
24 nativeCheckInputs = [ pytestCheckHook ];
25
26 pythonImportsCheck = [ "amply" ];
27
28 meta = with lib; {
29 homepage = "https://github.com/willu47/amply";
30 description = ''
31 Allows you to load and manipulate AMPL/GLPK data as Python data structures
32 '';
33 maintainers = with maintainers; [ ris ];
34 license = licenses.epl10;
35 };
36}