2020-03-21 10:23:00 +00:00
|
|
|
{ stdenv, buildGoModule, fetchFromGitHub, Security }:
|
2019-11-25 23:00:00 +00:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "git-subtrac";
|
|
|
|
version = "0.01";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "apenwarr";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1w6gd0x1902lzpqr74gsdrnxq36f6v14bv8h0vhlrfhbwbsih7n6";
|
|
|
|
};
|
|
|
|
|
|
|
|
modSha256 = "147vzllp1gydk2156hif313vwykagrj35vaiqy1swqczxs7p9hhs";
|
|
|
|
|
2020-03-21 10:23:00 +00:00
|
|
|
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2019-11-25 23:00:00 +00:00
|
|
|
description = "Keep the content for your git submodules all in one place: the parent repo";
|
|
|
|
homepage = "https://github.com/apenwarr/git-subtrac";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = [ maintainers.marsam ];
|
|
|
|
};
|
|
|
|
}
|