Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
994 B · 51 lines
Nix
at llvm-cleanup
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152{ lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, pythonOlder,
colormath, cython, oldest-supported-numpy, setuptools,}:
buildPythonPackage rec { pname = "color-operations"; version = "0.1.3"; pyproject = true; disabled = pythonOlder "3.8";
src = fetchFromGitHub { owner = "vincentsarago"; repo = "color-operations"; rev = version; hash = "sha256-KsrgilcNK2ufPKrhtGdf8mdlFzhsHB2jHN+WDlZqabc="; };
nativeBuildInputs = [ cython setuptools ];
propagatedBuildInputs = [ oldest-supported-numpy ];
nativeCheckInputs = [ colormath pytestCheckHook ];
preCheck = '' python setup.py build_ext --inplace '';
pythonImportsCheck = [ "color_operations" ];
meta = { description = "Apply basic color-oriented image operations. Fork of rio-color"; homepage = "https://github.com/vincentsarago/color-operations"; license = lib.licenses.mit; maintainers = lib.teams.geospatial.members; };}