Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
671 B · 33 lines
Nix
12345678910111213141516171819202122232425262728293031323334{ 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 ]; };}