2021-02-05 17:12:51 +00:00
|
|
|
{ lib
|
2020-09-25 04:45:31 +00:00
|
|
|
, fetchPypi
|
|
|
|
, buildPythonPackage
|
2021-06-04 09:07:49 +00:00
|
|
|
, setuptools-scm
|
2020-09-25 04:45:31 +00:00
|
|
|
, docutils
|
|
|
|
, pyparsing
|
2020-11-19 00:13:47 +00:00
|
|
|
, pytestCheckHook
|
2020-09-25 04:45:31 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "amply";
|
2022-04-27 09:35:20 +00:00
|
|
|
version = "0.1.5";
|
2020-09-25 04:45:31 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-04-27 09:35:20 +00:00
|
|
|
sha256 = "sha256-rXF7SQtrcFWQn6oZXoKkQytwb4+VhUBQFy9Ckx5HhCY=";
|
2020-09-25 04:45:31 +00:00
|
|
|
};
|
|
|
|
|
2021-06-04 09:07:49 +00:00
|
|
|
nativeBuildInputs = [ setuptools-scm ];
|
2020-09-25 04:45:31 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
docutils
|
|
|
|
pyparsing
|
|
|
|
];
|
2020-11-19 00:13:47 +00:00
|
|
|
checkInputs = [ pytestCheckHook ];
|
2020-09-25 04:45:31 +00:00
|
|
|
|
|
|
|
pythonImportsCheck = [ "amply" ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-09-25 04:45:31 +00:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|