Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / hsluv / default.nix
blob27701da88914c0fd4f9b953f1447f8db07f83452
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pytestCheckHook
5 , pythonOlder
6 }:
8 buildPythonPackage rec {
9   pname = "hsluv";
10   version = "5.0.4";
11   disabled = pythonOlder "3.6";
13   src = fetchFromGitHub {
14     owner = "hsluv";
15     repo = "hsluv-python";
16     rev = "v${version}";
17     hash = "sha256-bjivmPTU3Gp3pcC0ru4GSZANdhPqS1QSTMeiPGN8GCI=";
18   };
20   nativeCheckInputs = [
21     pytestCheckHook
22   ];
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   };