nixpkgs/pkgs/applications/version-management/git-and-tools/git-absorb/default.nix

25 lines
703 B
Nix
Raw Normal View History

2018-11-15 16:39:26 -08:00
{ stdenv, fetchFromGitHub, rustPlatform, libiconv, Security }:
rustPlatform.buildRustPackage rec {
2019-07-14 17:00:00 -07:00
pname = "git-absorb";
2019-07-16 22:00:00 -07:00
version = "0.5.0";
2018-11-15 16:39:26 -08:00
src = fetchFromGitHub {
owner = "tummychow";
2019-07-14 17:00:00 -07:00
repo = pname;
2018-11-15 16:39:26 -08:00
rev = "refs/tags/${version}";
2019-07-16 22:00:00 -07:00
sha256 = "0lggv3knh6iglkh8x2zqvqcs3dlwfsdiclg7pmdrycny72la4k2j";
2018-11-15 16:39:26 -08:00
};
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ libiconv Security ];
2019-07-16 22:00:00 -07:00
cargoSha256 = "1khplyglavsidh13nnq9y5rxd5w89ail08wgzn29a5m03zir1yfd";
2018-11-15 16:39:26 -08:00
meta = with stdenv.lib; {
2019-07-14 17:00:00 -07:00
homepage = "https://github.com/tummychow/git-absorb";
2018-11-15 16:39:26 -08:00
description = "git commit --fixup, but automatic";
license = [ licenses.bsd3 ];
maintainers = [ maintainers.marsam ];
};
}