depot/third_party/nixpkgs/pkgs/development/tools/git-ps-rs/default.nix
Luke Granger-Brown f92e137cfb
Some checks failed
/ combine-systems (push) Blocked by required conditions
/ build (x86_64-linux) (push) Failing after 11m44s
/ build (aarch64-linux) (push) Failing after 11m50s
/ build (push) Failing after 16m42s
Merge commit '1e2ed035f4bebc9adad02b365508ad96f7df87c1' into HEAD
2025-03-02 02:23:32 +00:00

40 lines
819 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=";
};
useFetchCargoVendor = true;
cargoHash = "sha256-QYkEBqDwspdhSliwLwMWmybS9nd41DCjGNURnMzLzBM=";
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 ];
};
}