Skip to content

Commit

Permalink
pythonPackages.amply: init at 0.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
risicle committed Sep 13, 2020
1 parent b3fd422 commit c305f3f
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
37 changes: 37 additions & 0 deletions pkgs/development/python-modules/amply/default.nix
@@ -0,0 +1,37 @@
{ stdenv
, fetchPypi
, buildPythonPackage
, setuptools_scm
, docutils
, pyparsing
}:

buildPythonPackage rec {
pname = "amply";
version = "0.1.2";

src = fetchPypi {
inherit pname version;
sha256 = "1j2dqdz1y1nbyw33qq89v0f5rkmqfbga72d9hax909vpcapm6pbf";
};

buildInputs = [ setuptools_scm ];
propagatedBuildInputs = [
docutils
pyparsing
];

checkPhase = ''
python tests/test_amply.py
'';
pythonImportsCheck = [ "amply" ];

meta = with stdenv.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;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Expand Up @@ -270,6 +270,8 @@ in {

amazon_kclpy = callPackage ../development/python-modules/amazon_kclpy { };

amply = callPackage ../development/python-modules/amply { };

amqp = callPackage ../development/python-modules/amqp { };

amqplib = callPackage ../development/python-modules/amqplib { };
Expand Down

0 comments on commit c305f3f

Please sign in to comment.