Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
672 B · 32 lines
Nix
123456789101112131415161718192021222324252627282930313233{ lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, pythonOlder,}:
buildPythonPackage rec { pname = "hsluv"; version = "5.0.4"; format = "setuptools"; disabled = pythonOlder "3.6";
src = fetchFromGitHub { owner = "hsluv"; repo = "hsluv-python"; rev = "v${version}"; hash = "sha256-bjivmPTU3Gp3pcC0ru4GSZANdhPqS1QSTMeiPGN8GCI="; };
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "hsluv" ];
meta = with lib; { description = "Python implementation of HSLuv"; homepage = "https://github.com/hsluv/hsluv-python"; license = licenses.mit; maintainers = with maintainers; [ fab ]; };}