3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/parse/default.nix

25 lines
581 B
Nix
Raw Normal View History

2017-08-24 03:32:24 +01:00
{ stdenv, fetchPypi, fetchpatch
, buildPythonPackage, python
}:
buildPythonPackage rec {
pname = "parse";
2018-03-07 17:02:22 +00:00
version = "1.8.2";
2017-08-24 03:32:24 +01:00
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
2018-03-07 17:02:22 +00:00
sha256 = "1lj9v1q4imszyhvipb6drsm3xdl35nan011mqxxas1yaypixsj40";
2017-08-24 03:32:24 +01:00
};
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 ];
};
}