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";
|
|
|
|
version = "0.4.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-15 01:00:00 +01:00
|
|
|
sha256 = "1clmd1b90vppbzng1kq0vzfh7964m3fk64q6h1vfcd1cfqj63r5v";
|
2018-11-16 00:39:26 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ libiconv Security ];
|
|
|
|
|
2019-05-25 12:03:08 +01:00
|
|
|
cargoSha256 = "0q40qcki49dw23n3brgdz5plvigmsf61jm0kfy48j89mijih8zy7";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|