Loading pkgs/by-name/pr/prs/package.nix +25 −28 Original line number Diff line number Diff line { lib , rustPlatform , fetchFromGitLab , installShellFiles , pkg-config , python3 , dbus , glib , gpgme , gtk3 , libxcb , libxkbcommon , stdenv { lib, rustPlatform, fetchFromGitLab, installShellFiles, pkg-config, python3, glib, gpgme, gtk3, stdenv, }: rustPlatform.buildRustPackage rec { pname = "prs"; version = "0.5.1"; version = "0.5.2"; src = fetchFromGitLab { owner = "timvisee"; repo = "prs"; rev = "refs/tags/v${version}"; hash = "sha256-MvQ0B35NF/AuGHBMa201FkFlU/UX0WXMcBRxTJwpUFw="; hash = "sha256-W5wNmZWjSsM6Xe50fCpa/aGsJ8PDyh2INs1Oj86et04="; }; cargoHash = "sha256-YDcAjBIdUboOKvGSnGW6b1JVbhQaB3ccXcSmK78M7DI="; cargoHash = "sha256-T57RqIzurpYLHyeFhvqxmC+DoB6zUf+iTu1YkMmwtp8="; postPatch = '' # The GPGME backend is recommended for f in "gtk3/Cargo.toml" "cli/Cargo.toml"; do substituteInPlace "$f" --replace \ 'default = ["backend-gnupg-bin"' 'default = ["backend-gpgme"' done ''; nativeBuildInputs = [ gpgme installShellFiles pkg-config python3 ]; nativeBuildInputs = [ gpgme installShellFiles pkg-config python3 ]; cargoBuildFlags = [ "--no-default-features" "--features=alias,backend-gpgme,clipboard,notify,select-fzf-bin,select-skim-bin,tomb,totp" ]; buildInputs = [ dbus glib gpgme gtk3 libxcb libxkbcommon ]; postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) '' Loading Loading
pkgs/by-name/pr/prs/package.nix +25 −28 Original line number Diff line number Diff line { lib , rustPlatform , fetchFromGitLab , installShellFiles , pkg-config , python3 , dbus , glib , gpgme , gtk3 , libxcb , libxkbcommon , stdenv { lib, rustPlatform, fetchFromGitLab, installShellFiles, pkg-config, python3, glib, gpgme, gtk3, stdenv, }: rustPlatform.buildRustPackage rec { pname = "prs"; version = "0.5.1"; version = "0.5.2"; src = fetchFromGitLab { owner = "timvisee"; repo = "prs"; rev = "refs/tags/v${version}"; hash = "sha256-MvQ0B35NF/AuGHBMa201FkFlU/UX0WXMcBRxTJwpUFw="; hash = "sha256-W5wNmZWjSsM6Xe50fCpa/aGsJ8PDyh2INs1Oj86et04="; }; cargoHash = "sha256-YDcAjBIdUboOKvGSnGW6b1JVbhQaB3ccXcSmK78M7DI="; cargoHash = "sha256-T57RqIzurpYLHyeFhvqxmC+DoB6zUf+iTu1YkMmwtp8="; postPatch = '' # The GPGME backend is recommended for f in "gtk3/Cargo.toml" "cli/Cargo.toml"; do substituteInPlace "$f" --replace \ 'default = ["backend-gnupg-bin"' 'default = ["backend-gpgme"' done ''; nativeBuildInputs = [ gpgme installShellFiles pkg-config python3 ]; nativeBuildInputs = [ gpgme installShellFiles pkg-config python3 ]; cargoBuildFlags = [ "--no-default-features" "--features=alias,backend-gpgme,clipboard,notify,select-fzf-bin,select-skim-bin,tomb,totp" ]; buildInputs = [ dbus glib gpgme gtk3 libxcb libxkbcommon ]; postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) '' Loading