pythonPAckages.parsimonious: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-29 13:14:21 -04:00
parent 1b9a9d2530
commit 04558f25d8
No known key found for this signature in database
GPG Key ID: 9ED59B0AB1EAF573
2 changed files with 28 additions and 18 deletions

View 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;
};
}

View File

@ -4405,24 +4405,7 @@ in {
pychart = callPackage ../development/python-modules/pychart {};
parsimonious = buildPythonPackage rec {
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;
};
};
parsimonious = callPackage ../development/python-modules/parsimonious { };
networkx = callPackage ../development/python-modules/networkx { };