forked from mirrors/nixpkgs
eb11feaa0b
Changes the default fetcher in the Rust Platform to be the newer `fetchCargoTarball`, and changes every application using the current default to instead opt out. This commit does not change any hashes or cause any rebuilds. Once integrated, we will start deleting the opt-outs and recomputing hashes. See #79975 for details.
28 lines
788 B
Nix
28 lines
788 B
Nix
{ stdenv, fetchFromGitHub, rustPlatform, libiconv, Security }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "git-absorb";
|
|
version = "0.5.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "tummychow";
|
|
repo = pname;
|
|
rev = "refs/tags/${version}";
|
|
sha256 = "0lggv3knh6iglkh8x2zqvqcs3dlwfsdiclg7pmdrycny72la4k2j";
|
|
};
|
|
|
|
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ libiconv Security ];
|
|
|
|
# Delete this on next update; see #79975 for details
|
|
legacyCargoFetcher = true;
|
|
|
|
cargoSha256 = "1khplyglavsidh13nnq9y5rxd5w89ail08wgzn29a5m03zir1yfd";
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = "https://github.com/tummychow/git-absorb";
|
|
description = "git commit --fixup, but automatic";
|
|
license = [ licenses.bsd3 ];
|
|
maintainers = [ maintainers.marsam ];
|
|
};
|
|
}
|