1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-17 18:34:41 +00:00
nixpkgs/pkgs/development/python-modules/rply/default.nix
R. RyanTM 32ef4b1fa7 python36Packages.rply: 0.7.5 -> 0.7.6
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/python3.6-rply/versions
2018-10-24 10:14:40 +02:00

28 lines
634 B
Nix

{ stdenv, pytest, fetchFromGitHub, buildPythonPackage, appdirs }:
buildPythonPackage rec {
pname = "rply";
version = "0.7.6";
src = fetchFromGitHub {
owner = "alex";
repo = "rply";
rev = "v${version}";
sha256 = "0a9r81kaibgr26psss02rn2nc6bf84a8q9nsywkm1xcswy8xrmcx";
};
buildInputs = [ appdirs ];
checkInputs = [ pytest ];
checkPhase = ''
HOME=$(mktemp -d) py.test tests
'';
meta = with stdenv.lib; {
description = "A python Lex/Yacc that works with RPython";
homepage = https://github.com/alex/rply;
license = licenses.bsd3;
maintainers = with maintainers; [ nixy ];
};
}