at 24.05-pre 786 B view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, poetry-core 5, hypothesis 6, pytestCheckHook 7}: 8 9buildPythonPackage rec { 10 pname = "ochre"; 11 version = "0.4.0"; 12 format = "pyproject"; 13 14 src = fetchFromGitHub { 15 owner = "getcuia"; 16 repo = "ochre"; 17 rev = "v${version}"; 18 hash = "sha256-U6qycLnldwNze3XMAn6DS3XGX4RaCZgW0pH/y/FEAkk="; 19 }; 20 21 nativeBuildInputs = [ 22 poetry-core 23 ]; 24 25 nativeCheckInputs = [ 26 hypothesis 27 pytestCheckHook 28 ]; 29 30 pythonImportsCheck = [ "ochre" ]; 31 32 meta = with lib; { 33 description = "A down-to-earth approach to colors"; 34 homepage = "https://github.com/getcuia/ochre"; 35 changelog = "https://github.com/getcuia/ochre/releases/tag/${src.rev}"; 36 license = licenses.mit; 37 maintainers = with maintainers; [ figsoda ]; 38 }; 39}