Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
705 B · 41 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142{ lib, buildPythonPackage, fetchFromGitHub, setuptools, wheel, mock, pytestCheckHook,}:
buildPythonPackage rec { pname = "polling"; version = "0.3.0"; pyproject = true;
src = fetchFromGitHub { owner = "justiniso"; repo = "polling"; rev = "v${version}"; hash = "sha256-Qy2QxCWzAjZMJ6yxZiDT/80I2+rLimoG8/SYxq960Tk="; };
nativeBuildInputs = [ setuptools wheel ];
pythonImportsCheck = [ "polling" ];
nativeCheckInputs = [ mock pytestCheckHook ];
meta = with lib; { description = "Powerful polling utility in Python"; homepage = "https://github.com/justiniso/polling"; license = licenses.mit; maintainers = [ ]; };}