depot/third_party/nixpkgs/pkgs/development/python-modules/pynzb/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

30 lines
602 B
Nix

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