Skip to content

Commit

Permalink
python3Packages.sly: init at 0.3 (NixOS#55093)
Browse files Browse the repository at this point in the history
tests will be included with the next release
dabeaz/sly#25
  • Loading branch information
costrouc authored and dotlambda committed Feb 7, 2019
1 parent 9649145 commit e16e9c9
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
29 changes: 29 additions & 0 deletions pkgs/development/python-modules/sly/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{ lib
, buildPythonPackage
, fetchPypi
, pytest
, pythonOlder
}:

buildPythonPackage rec {
pname = "sly";
version = "0.3";
disabled = pythonOlder "3.6";

src = fetchPypi {
inherit pname version;
sha256 = "be6a3825b042a9e1b6f5730fc747e6d983c917f0f002d798d0b9f86ca5c05ad9";
};

checkInputs = [ pytest ];

# tests not included with pypi release
doCheck = false;

meta = with lib; {
description = "An improved PLY implementation of lex and yacc for Python 3";
homepage = https://github.com/dabeaz/sly;
license = licenses.bsd3;
maintainers = [ maintainers.costrouc ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -778,6 +778,8 @@ in {

slither-analyzer = callPackage ../development/python-modules/slither-analyzer { };

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

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

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

0 comments on commit e16e9c9

Please sign in to comment.