Merge pull request #241290 from mccurdyc/mccurdyc/adds-gitrs

gitrs: init at 0.3.6
This commit is contained in:
Emily 2023-07-03 18:44:01 +02:00 committed by GitHub
commit 6724706f5a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 53 additions and 0 deletions

View File

@ -10399,6 +10399,15 @@
githubId = 683809;
name = "Jeffrey Brent McBeth";
};
mccurdyc = {
email = "mccurdyc22@gmail.com";
github = "mccurdyc";
githubId = 5546264;
name = "Colton J. McCurdy";
keys = [{
fingerprint = "D709 03C8 0BE9 ACDC 14F0 3BFB 77BF E531 397E DE94";
}];
};
mcmtroffaes = {
email = "matthias.troffaes@gmail.com";
github = "mcmtroffaes";

View File

@ -0,0 +1,42 @@
{ lib
, stdenv
, fetchFromGitHub
, openssl
, pkg-config
, libiconv
, darwin
, rustPlatform
}:
rustPlatform.buildRustPackage rec {
pname = "gitrs";
version = "v0.3.6";
src = fetchFromGitHub {
owner = "mccurdyc";
repo = pname;
rev = version;
hash = "sha256-+43XJroPNWmdUC6FDL84rZWrJm5fzuUXfpDkAMyVQQg=";
};
cargoHash = "sha256-2TXm1JTs0Xkid91A5tdi6Kokm0K1NOPmlocwFXv48uw=";
nativeBuildInputs = [
pkg-config # for openssl
];
buildInputs = [ openssl.dev ]
++ lib.optionals stdenv.isDarwin [
libiconv
darwin.apple_sdk.frameworks.Security
darwin.apple_sdk.frameworks.SystemConfiguration
];
meta = with lib; {
description = "A simple, opinionated, tool, written in Rust, for declaratively managing Git repos on your machine";
homepage = "https://github.com/mccurdyc/gitrs";
license = licenses.mit;
maintainers = with maintainers; [ mccurdyc ];
mainProgram = "gitrs";
};
}

View File

@ -41224,4 +41224,6 @@ with pkgs;
charasay = callPackage ../tools/misc/charasay { };
waylyrics = callPackage ../applications/audio/waylyrics { };
gitrs = callPackage ../tools/misc/gitrs { };
}