gitAndTools.git-trim: 0.2.4 -> 0.3.1
This commit is contained in:
parent
f234b2bce7
commit
1ad005458f
@ -2,23 +2,23 @@
|
|||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "git-trim";
|
pname = "git-trim";
|
||||||
version = "0.2.4";
|
version = "0.3.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "foriequal0";
|
owner = "foriequal0";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0gfmv9bwhh6bv0s9kfbxq9wsvrk3zz3ibavbpp9l8cpqc3145pqy";
|
sha256 = "06wni47s8yq274bh5f7bcy0sah23938kjiw5pdxnma5kwwnrccrr";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "0xklczk4vbh2mqf76r3rsfyclyza9imf6yss7vbkm9w4ir3ar9f3";
|
cargoSha256 = "06ndja8212xy4rybh1117wijsyj70w4z8h6km538a7598s49vzdk";
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
|
|
||||||
buildInputs = [ openssl ] ++ stdenv.lib.optionals stdenv.isDarwin [ libiconv Security ];
|
buildInputs = [ openssl ] ++ stdenv.lib.optionals stdenv.isDarwin [ libiconv Security ];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
install -Dm644 docs/git-trim.md.1 $out/share/man/man1/git-trim.1
|
install -Dm644 -t $out/share/man/man1/ docs/git-trim.1
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# fails with sandbox
|
# fails with sandbox
|
||||||
|
Loading…
Reference in New Issue
Block a user