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