pythonPAckages.parsimonious: refactor move to python-modules
This commit is contained in:
27
pkgs/development/python-modules/parsimonious/default.nix
Normal file
27
pkgs/development/python-modules/parsimonious/default.nix
Normal file
@@ -0,0 +1,27 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, nose
|
||||
, six
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.7.0";
|
||||
pname = "parsimonious";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
repo = "parsimonious";
|
||||
owner = "erikrose";
|
||||
rev = version;
|
||||
sha256 = "087npc8ccryrxabmqifcz56w4wd0hzmv0mc91wrbhc1sil196j0a";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ nose six ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://github.com/erikrose/parsimonious";
|
||||
description = "Fast arbitrary-lookahead parser written in pure Python";
|
||||
license = licenses.mit;
|
||||
};
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user