depot/third_party/nixpkgs/pkgs/development/tools/git-ps-rs/default.nix
Default email 7e47f3658e Project import generated by Copybara.
GitOrigin-RevId: 1925c603f17fc89f4c8f6bf6f631a802ad85d784
2024-09-26 11:04:55 +00:00

35 lines
769 B
Nix

{ lib
, fetchFromGitHub
, rustPlatform
, stdenv
, pkg-config
, dbus
, openssl
, Security
}:
rustPlatform.buildRustPackage rec {
pname = "git-ps-rs";
version = "7.3.1";
src = fetchFromGitHub {
owner = "uptech";
repo = "git-ps-rs";
rev = version;
hash = "sha256-4lk6AHquWKgDk0pBaswbVShZbUDA3wO6cPakhrvrwac=";
};
cargoHash = "sha256-GS/RRPzULUla4XY4tO+eM2NAy2nG0qDxqcSq292ivgU=";
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl dbus ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ Security ];
meta = with lib; {
description = "Tool for working with a stack of patches";
mainProgram = "gps";
homepage = "https://git-ps.sh/";
license = licenses.mit;
maintainers = with maintainers; [ alizter ];
};
}