Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
907 B · 44 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445{ lib, bleak, buildPythonPackage, fetchFromGitHub, pytest-mock, pytestCheckHook, pythonOlder, setuptools,}:
buildPythonPackage rec { pname = "fjaraskupan"; version = "2.3.2"; pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub { owner = "elupus"; repo = "fjaraskupan"; tag = version; hash = "sha256-IKi2kaypwHdK9w+FZlWrreUXBgBgg4y3D8bSJhKHSYo="; };
build-system = [ setuptools ];
dependencies = [ bleak ];
nativeCheckInputs = [ pytest-mock pytestCheckHook ];
pythonImportsCheck = [ "fjaraskupan" ];
meta = with lib; { description = "Module for controlling Fjäråskupan kitchen fans"; homepage = "https://github.com/elupus/fjaraskupan"; changelog = "https://github.com/elupus/fjaraskupan/releases/tag/${version}"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; };}