python3Packages.hsluv: init at 5.0.2
This commit is contained in:
parent
2412b97e18
commit
195ee1e14b
|
@ -0,0 +1,32 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "hsluv";
|
||||
version = "5.0.2";
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "hsluv";
|
||||
repo = "hsluv-python";
|
||||
rev = "v${version}";
|
||||
sha256 = "0r0w8ycjwfg3pmzjghzrs0lkam93fzvgiqvrwh3nl9jnqlpw7v7j";
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
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 ];
|
||||
};
|
||||
}
|
|
@ -3113,6 +3113,8 @@ in {
|
|||
|
||||
hsaudiotag3k = callPackage ../development/python-modules/hsaudiotag3k { };
|
||||
|
||||
hsluv = callPackage ../development/python-modules/hsluv { };
|
||||
|
||||
hstspreload = callPackage ../development/python-modules/hstspreload { };
|
||||
|
||||
html2text = callPackage ../development/python-modules/html2text { };
|
||||
|
|
Loading…
Reference in New Issue