evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / hsluv / default.nix
blob063137b74e4d988a48bf9156e8656067a2d956a8
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pytestCheckHook,
6   pythonOlder,
7 }:
9 buildPythonPackage rec {
10   pname = "hsluv";
11   version = "5.0.4";
12   format = "setuptools";
13   disabled = pythonOlder "3.6";
15   src = fetchFromGitHub {
16     owner = "hsluv";
17     repo = "hsluv-python";
18     rev = "v${version}";
19     hash = "sha256-bjivmPTU3Gp3pcC0ru4GSZANdhPqS1QSTMeiPGN8GCI=";
20   };
22   nativeCheckInputs = [ pytestCheckHook ];
24   pythonImportsCheck = [ "hsluv" ];
26   meta = with lib; {
27     description = "Python implementation of HSLuv";
28     homepage = "https://github.com/hsluv/hsluv-python";
29     license = licenses.mit;
30     maintainers = with maintainers; [ fab ];
31   };