2021-01-11 08:54:33 +01:00
|
|
|
{ lib, stdenv
|
2020-09-13 14:21:56 +02:00
|
|
|
, fetchPypi
|
|
|
|
, buildPythonPackage
|
|
|
|
, setuptools_scm
|
|
|
|
, docutils
|
|
|
|
, pyparsing
|
2020-11-06 00:19:14 +01:00
|
|
|
, pytestCheckHook
|
2020-09-13 14:21:56 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "amply";
|
2020-10-25 10:06:49 +01:00
|
|
|
version = "0.1.4";
|
2020-09-13 14:21:56 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-10-25 10:06:49 +01:00
|
|
|
sha256 = "cb12dcb49d16b168c02be128a1527ecde50211e4bd94af76ff4e67707f5a2d38";
|
2020-09-13 14:21:56 +02:00
|
|
|
};
|
|
|
|
|
2020-11-06 00:19:14 +01:00
|
|
|
nativeBuildInputs = [ setuptools_scm ];
|
2020-09-13 14:21:56 +02:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
docutils
|
|
|
|
pyparsing
|
|
|
|
];
|
2020-11-06 00:19:14 +01:00
|
|
|
checkInputs = [ pytestCheckHook ];
|
2020-09-13 14:21:56 +02:00
|
|
|
|
|
|
|
pythonImportsCheck = [ "amply" ];
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-09-13 14:21:56 +02: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;
|
|
|
|
};
|
|
|
|
}
|