1{ stdenv, fetchPypi
2, buildPythonPackage, python
3}:
4buildPythonPackage rec {
5 pname = "parse";
6 version = "1.8.4";
7
8 src = fetchPypi {
9 inherit pname version;
10 sha256 = "c3cdf6206f22aeebfa00e5b954fcfea13d1b2dc271c75806b6025b94fb490939";
11 };
12
13 checkPhase = ''
14 ${python.interpreter} test_parse.py
15 '';
16
17 meta = with stdenv.lib; {
18 homepage = https://github.com/r1chardj0n3s/parse;
19 description = "parse() is the opposite of format()";
20 license = licenses.bsdOriginal;
21 maintainers = with maintainers; [ alunduil ];
22 };
23}