1{ lib
2, buildPythonPackage
3, fetchPypi
4, python
5}:
6
7buildPythonPackage rec {
8 pname = "pynzb";
9 version = "0.1.0";
10
11 src = fetchPypi {
12 inherit pname version;
13 sha256 = "0735b3889a1174bbb65418ee503629d3f5e4a63f04b16f46ffba18253ec3ef17";
14 };
15
16 checkPhase = ''
17 ${python.interpreter} -m unittest -s pynzb -t .
18 '';
19
20 # Can't get them working
21 doCheck = false;
22
23 meta = with lib; {
24 homepage = "https://github.com/ericflo/pynzb";
25 description = "Unified API for parsing NZB files";
26 license = licenses.bsd3;
27 maintainers = with maintainers; [ domenkozar ];
28 };
29
30}