1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-01-22 06:36:43 +00:00
nixpkgs/pkgs/applications/version-management/git-and-tools/git-subtrac/default.nix
2020-03-21 05:23:00 -05:00

25 lines
689 B
Nix

{ stdenv, buildGoModule, fetchFromGitHub, Security }:
buildGoModule rec {
pname = "git-subtrac";
version = "0.01";
src = fetchFromGitHub {
owner = "apenwarr";
repo = pname;
rev = "v${version}";
sha256 = "1w6gd0x1902lzpqr74gsdrnxq36f6v14bv8h0vhlrfhbwbsih7n6";
};
modSha256 = "147vzllp1gydk2156hif313vwykagrj35vaiqy1swqczxs7p9hhs";
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
meta = with stdenv.lib; {
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 ];
};
}