Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
804 B · 37 lines
Nix
at litex
1234567891011121314151617181920212223242526272829303132333435363738{ lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook}:
buildPythonPackage rec { pname = "apcaccess"; version = "0.0.13";
src = fetchFromGitHub { owner = "flyte"; repo = "apcaccess"; rev = version; hash = "sha256-XLoNRh6MgXCfRtWD9NpVZSyroW6E9nRYw6Grxa+AQkc="; };
postPatch = '' substituteInPlace setup.py \ --replace "setup_requires='pytest-runner'," "" '';
pythonImportsCheck = [ "apcaccess" ];
nativeCheckInputs = [ pytestCheckHook ];
meta = with lib; { description = "Library offers programmatic access to the status information provided by apcupsd over its Network Information Server"; homepage = "https://github.com/flyte/apcaccess"; license = licenses.mit; maintainers = with maintainers; [ uvnikita ]; };}