1{ stdenv, fetchPypi
2, buildPythonPackage, python
3}:
4buildPythonPackage rec {
5 pname = "parse";
6 version = "1.16.0";
7
8 src = fetchPypi {
9 inherit pname version;
10 sha256 = "cd89e57aed38dcf3e0ff8253f53121a3b23e6181758993323658bffc048a5c19";
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}