default.nix (641B)
1 { lib, stdenv, fetchFromGitHub, python3Packages }: 2 3 python3Packages.buildPythonPackage rec { 4 pname = "color-operations"; 5 version = "0.1.0"; 6 7 src = fetchFromGitHub { 8 owner = "vincentsarago"; 9 repo = "color-operations"; 10 rev = version; 11 hash = "sha256-xGugXOpCqI8+06faCf3AjjpJaOkblkGoyaDG3AyrZoI="; 12 }; 13 14 nativeBuildInputs = with python3Packages; [ numpy ]; 15 16 pythonImportsCheck = [ "color_operations" ]; 17 18 meta = with lib; { 19 description = "Apply basic color-oriented image operations. Fork of rio-color"; 20 inherit (src.meta) homepage; 21 license = licenses.mit; 22 maintainers = [ maintainers.sikmir ]; 23 }; 24 }