mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-30 08:44:31 +00:00
pythonPackages.parse: init at 1.6.6
This commit is contained in:
parent
7e7f91d23a
commit
4934a4d553
32
pkgs/development/python-modules/parse/default.nix
Normal file
32
pkgs/development/python-modules/parse/default.nix
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
{ stdenv, fetchPypi, fetchpatch
|
||||||
|
, buildPythonPackage, python
|
||||||
|
}:
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "parse";
|
||||||
|
version = "1.6.6";
|
||||||
|
name = "${pname}-${version}";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "71435aaac494e08cec76de646de2aab8392c114e56fe3f81c565ecc7eb886178";
|
||||||
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
(fetchpatch {
|
||||||
|
name = "python-3.5-tests-compat.patch";
|
||||||
|
url = "https://github.com/r1chardj0n3s/parse/pull/34.patch";
|
||||||
|
sha256 = "16iicgkf3lwivmdnp3xkq4n87wjmr3nb77z8mwz67b7by9nnp3jg";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
${python.interpreter} test_parse.py
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = https://github.com/r1chardj0n3s/parse;
|
||||||
|
description = "parse() is the opposite of format()";
|
||||||
|
license = licenses.bsdOriginal;
|
||||||
|
maintainers = with maintainers; [ alunduil ];
|
||||||
|
};
|
||||||
|
}
|
@ -27574,6 +27574,8 @@ EOF
|
|||||||
thinc = callPackage ../development/python-modules/thinc { };
|
thinc = callPackage ../development/python-modules/thinc { };
|
||||||
|
|
||||||
spacy = callPackage ../development/python-modules/spacy { };
|
spacy = callPackage ../development/python-modules/spacy { };
|
||||||
|
|
||||||
|
parse = callPackage ../development/python-modules/parse { };
|
||||||
});
|
});
|
||||||
|
|
||||||
in fix' (extends overrides packages)
|
in fix' (extends overrides packages)
|
||||||
|
Loading…
Reference in New Issue
Block a user