3
0
Fork 0
forked from mirrors/nixpkgs

pythonPackages.matchpy: init at 0.4.6

This commit is contained in:
Chris Ostrouchov 2018-11-26 15:21:05 -05:00
parent b5d58552c0
commit fe5a7e5ed6
No known key found for this signature in database
GPG key ID: 9ED59B0AB1EAF573
2 changed files with 33 additions and 0 deletions

View file

@ -0,0 +1,31 @@
{ lib
, buildPythonPackage
, fetchPypi
, hopcroftkarp
, multiset
, pytest
, pytestrunner
, hypothesis
, setuptools_scm
}:
buildPythonPackage rec {
pname = "matchpy";
version = "0.4.6";
src = fetchPypi {
inherit pname version;
sha256 = "eefa1e50a10e1255db61bc2522a6768ad0701f8854859f293ebaa442286faadd";
};
buildInputs = [ setuptools_scm pytestrunner ];
checkInputs = [ pytest hypothesis ];
propagatedBuildInputs = [ hopcroftkarp multiset ];
meta = with lib; {
description = "A library for pattern matching on symbolic expressions";
homepage = https://github.com/HPAC/matchpy;
license = licenses.mit;
maintainers = [ maintainers.costrouc ];
};
}

View file

@ -422,6 +422,8 @@ in {
markerlib = callPackage ../development/python-modules/markerlib { };
matchpy = callPackage ../development/python-modules/matchpy { };
monty = callPackage ../development/python-modules/monty { };
mininet-python = (toPythonModule (pkgs.mininet.override{ inherit python; })).py;