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