Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / hsluv / default.nix
blob9ddf64330770dffd472e411854ad4d23301a537d
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pytestCheckHook
5 , pythonOlder
6 }:
8 buildPythonPackage rec {
9   pname = "hsluv";
10   version = "5.0.4";
11   format = "setuptools";
12   disabled = pythonOlder "3.6";
14   src = fetchFromGitHub {
15     owner = "hsluv";
16     repo = "hsluv-python";
17     rev = "v${version}";
18     hash = "sha256-bjivmPTU3Gp3pcC0ru4GSZANdhPqS1QSTMeiPGN8GCI=";
19   };
21   nativeCheckInputs = [
22     pytestCheckHook
23   ];
25   pythonImportsCheck = [ "hsluv" ];
27   meta = with lib; {
28     description = "Python implementation of HSLuv";
29     homepage = "https://github.com/hsluv/hsluv-python";
30     license = licenses.mit;
31     maintainers = with maintainers; [ fab ];
32   };