1{ lib, fetchPypi
2, buildPythonPackage, python
3}:
4buildPythonPackage rec {
5 pname = "parse";
6 version = "1.19.0";
7
8 src = fetchPypi {
9 inherit pname version;
10 sha256 = "9ff82852bcb65d139813e2a5197627a94966245c897796760a3a2a8eb66f020b";
11 };
12
13 checkPhase = ''
14 ${python.interpreter} test_parse.py
15 '';
16
17 meta = with 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}