depot/third_party/nixpkgs/pkgs/development/python-modules/amply/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

36 lines
742 B
Nix

{ lib
, 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 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;
};
}