diff options
author | Alex Brandt <alunduil@alunduil.com> | 2017-08-23 21:32:24 -0500 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2017-09-07 09:28:03 +0200 |
commit | 4934a4d553843c1fb2bef1fb9075c0e7d86d455c (patch) | |
tree | 4116ff2be0209677e0ecb6a9b8fbe380598d07fe /pkgs/development | |
parent | 7e7f91d23abc690753b834cac4119841cbfa60ee (diff) | |
download | nixlib-4934a4d553843c1fb2bef1fb9075c0e7d86d455c.tar nixlib-4934a4d553843c1fb2bef1fb9075c0e7d86d455c.tar.gz nixlib-4934a4d553843c1fb2bef1fb9075c0e7d86d455c.tar.bz2 nixlib-4934a4d553843c1fb2bef1fb9075c0e7d86d455c.tar.lz nixlib-4934a4d553843c1fb2bef1fb9075c0e7d86d455c.tar.xz nixlib-4934a4d553843c1fb2bef1fb9075c0e7d86d455c.tar.zst nixlib-4934a4d553843c1fb2bef1fb9075c0e7d86d455c.zip |
pythonPackages.parse: init at 1.6.6
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/python-modules/parse/default.nix | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/parse/default.nix b/pkgs/development/python-modules/parse/default.nix new file mode 100644 index 000000000000..eaca200e2bff --- /dev/null +++ b/pkgs/development/python-modules/parse/default.nix @@ -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 ]; + }; +} |