Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
910 B · 48 lines
Nix
at litex
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849{ lib, buildPythonPackage, fetchFromGitHub
# propagated, aiohttp
# tests, pytest-asyncio, pytestCheckHook}:
let pname = "pyoctoprintapi"; version = "0.1.12";inbuildPythonPackage { inherit pname version; format = "setuptools";
src = fetchFromGitHub { owner = "rfleming71"; repo = pname; rev = "refs/tags/v${version}"; hash = "sha256-Jf/zYnBHVl3TYxFy9Chy6qNH/eCroZkmUOEWfd62RIo="; };
propagatedBuildInputs = [ aiohttp ];
pythonImportsCheck = [ "pyoctoprintapi" ];
nativeCheckInputs = [ pytest-asyncio pytestCheckHook ];
meta = with lib; { description = "Simple async wrapper around the Octoprint API"; homepage = "https://github.com/rfleming71/pyoctoprintapi"; changelog = "https://github.com/rfleming71/pyoctoprintapi/releases/tag/v${version}"; license = licenses.mit; maintainers= with maintainers; [ hexa ]; };}