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