pythonPAckages.parsimonious: refactor move to python-modules
This commit is contained in:
parent
1b9a9d2530
commit
04558f25d8
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;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -4405,24 +4405,7 @@ in {
|
|||||||
|
|
||||||
pychart = callPackage ../development/python-modules/pychart {};
|
pychart = callPackage ../development/python-modules/pychart {};
|
||||||
|
|
||||||
parsimonious = buildPythonPackage rec {
|
parsimonious = callPackage ../development/python-modules/parsimonious { };
|
||||||
version = "0.7.0";
|
|
||||||
name = "parsimonious-${version}";
|
|
||||||
src = pkgs.fetchFromGitHub {
|
|
||||||
repo = "parsimonious";
|
|
||||||
owner = "erikrose";
|
|
||||||
rev = version;
|
|
||||||
sha256 = "087npc8ccryrxabmqifcz56w4wd0hzmv0mc91wrbhc1sil196j0a";
|
|
||||||
};
|
|
||||||
|
|
||||||
propagatedBuildInputs = with self; [ nose six ];
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
homepage = "https://github.com/erikrose/parsimonious";
|
|
||||||
description = "Fast arbitrary-lookahead parser written in pure Python";
|
|
||||||
license = licenses.mit;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
networkx = callPackage ../development/python-modules/networkx { };
|
networkx = callPackage ../development/python-modules/networkx { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user