504525a148
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
31 lines
617 B
Nix
31 lines
617 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, python
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pynzb";
|
|
version = "0.1.0";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "0735b3889a1174bbb65418ee503629d3f5e4a63f04b16f46ffba18253ec3ef17";
|
|
};
|
|
|
|
checkPhase = ''
|
|
${python.interpreter} -m unittest -s pynzb -t .
|
|
'';
|
|
|
|
# Can't get them working
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/ericflo/pynzb";
|
|
description = "Unified API for parsing NZB files";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ domenkozar ];
|
|
};
|
|
|
|
}
|