Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.2 kB · 60 lines
Nix
at litex
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061{ lib, aiohttp, aresponses, buildPythonPackage, fetchFromGitHub, pytest-asyncio, pytestCheckHook, pythonOlder}:
buildPythonPackage rec { pname = "pytautulli"; version = "23.1.1"; format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchFromGitHub { owner = "ludeeus"; repo = pname; rev = "refs/tags/${version}"; hash = "sha256-5wE8FjLFu1oQkVqnWsbp253dsQ1/QGWC6hHSIFwLajY="; };
postPatch = '' # Upstream is releasing with the help of a CI to PyPI, GitHub releases # are not in their focus substituteInPlace setup.py \ --replace 'version="main",' 'version="${version}",' '';
propagatedBuildInputs = [ aiohttp ];
nativeCheckInputs = [ pytestCheckHook ];
checkInputs = [ aresponses pytest-asyncio ];
pytestFlagsArray = [ "--asyncio-mode=auto" ];
pythonImportsCheck = [ "pytautulli" ];
meta = with lib; { description = "Python module to get information from Tautulli"; homepage = "https://github.com/ludeeus/pytautulli"; changelog = "https://github.com/ludeeus/pytautulli/releases/tag/${version}"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; };}