Loading pkgs/by-name/lu/lutgen/package.nix +18 −15 Original line number Diff line number Diff line { lib , fetchFromGitHub , rustPlatform , stdenv , installShellFiles { lib, fetchFromGitHub, rustPlatform, stdenv, installShellFiles, }: rustPlatform.buildRustPackage rec { pname = "lutgen"; version = "0.10.1"; version = "0.11.0"; src = fetchFromGitHub { owner = "ozwaldorf"; repo = "lutgen-rs"; rev = "v${version}"; hash = "sha256-Rj6y8ZiNWQsGn8B+iNMZvuE/U2703oYbJW+ZSdV3fl4="; hash = "sha256-ybaapL9OUUQ+sO8P0JH1MuxCFmTihKp9gXJpM7KLY7U="; }; cargoHash = "sha256-7yNr6Zc5A7rj6sUnplo2gB2xNUgZ3TLwUuBEfVKZfIQ="; cargoHash = "sha256-Fxecnq7QKcDe6aAsKj9uye3sFdfkgFEKYmdqnvQDiAQ="; nativeBuildInputs = [ installShellFiles ]; nativeBuildInputs = [ installShellFiles ]; postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) '' installShellCompletion --cmd lutgen \ --bash <($out/bin/lutgen completions bash) \ --fish <($out/bin/lutgen completions fish) \ --zsh <($out/bin/lutgen completions zsh) --bash <($out/bin/lutgen --bpaf-complete-style-bash) \ --fish <($out/bin/lutgen --bpaf-complete-style-fish) \ --zsh <($out/bin/lutgen --bpaf-complete-style-zsh) ''; meta = with lib; { description = "Blazingly fast interpolated LUT generator and applicator for arbitrary and popular color palettes"; homepage = "https://github.com/ozwaldorf/lutgen-rs"; maintainers = with maintainers; [ ozwaldorf zzzsy donovanglover ]; maintainers = with maintainers; [ ozwaldorf zzzsy donovanglover ]; mainProgram = "lutgen"; license = licenses.mit; }; Loading Loading
pkgs/by-name/lu/lutgen/package.nix +18 −15 Original line number Diff line number Diff line { lib , fetchFromGitHub , rustPlatform , stdenv , installShellFiles { lib, fetchFromGitHub, rustPlatform, stdenv, installShellFiles, }: rustPlatform.buildRustPackage rec { pname = "lutgen"; version = "0.10.1"; version = "0.11.0"; src = fetchFromGitHub { owner = "ozwaldorf"; repo = "lutgen-rs"; rev = "v${version}"; hash = "sha256-Rj6y8ZiNWQsGn8B+iNMZvuE/U2703oYbJW+ZSdV3fl4="; hash = "sha256-ybaapL9OUUQ+sO8P0JH1MuxCFmTihKp9gXJpM7KLY7U="; }; cargoHash = "sha256-7yNr6Zc5A7rj6sUnplo2gB2xNUgZ3TLwUuBEfVKZfIQ="; cargoHash = "sha256-Fxecnq7QKcDe6aAsKj9uye3sFdfkgFEKYmdqnvQDiAQ="; nativeBuildInputs = [ installShellFiles ]; nativeBuildInputs = [ installShellFiles ]; postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) '' installShellCompletion --cmd lutgen \ --bash <($out/bin/lutgen completions bash) \ --fish <($out/bin/lutgen completions fish) \ --zsh <($out/bin/lutgen completions zsh) --bash <($out/bin/lutgen --bpaf-complete-style-bash) \ --fish <($out/bin/lutgen --bpaf-complete-style-fish) \ --zsh <($out/bin/lutgen --bpaf-complete-style-zsh) ''; meta = with lib; { description = "Blazingly fast interpolated LUT generator and applicator for arbitrary and popular color palettes"; homepage = "https://github.com/ozwaldorf/lutgen-rs"; maintainers = with maintainers; [ ozwaldorf zzzsy donovanglover ]; maintainers = with maintainers; [ ozwaldorf zzzsy donovanglover ]; mainProgram = "lutgen"; license = licenses.mit; }; Loading