Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, aiohttp 5}: 6 7buildPythonPackage rec { 8 pname = "pysabnzbd"; 9 version = "1.1.1"; 10 11 src = fetchFromGitHub { 12 owner = "jeradM"; 13 repo = "pysabnzbd"; 14 rev = "8e6cd1869c8cc99a4560ea1b178f0a1efd89e460"; # tag is missing 15 hash = "sha256-Ubl+kdcjMm1A7pa3Q5G+fFBwPIxA375Ci04/vVyUl+A="; 16 }; 17 18 propagatedBuildInputs = [ 19 aiohttp 20 ]; 21 22 # upstream has no tests 23 doCheck = false; 24 25 pythonImportsCheck = [ "pysabnzbd" ]; 26 27 meta = { 28 description = "Python wrapper for SABnzbd API"; 29 homepage = "https://github.com/jeradM/pysabnzbd"; 30 license = lib.licenses.mit; 31 maintainers = with lib.maintainers; [ dotlambda ]; 32 }; 33}