depot/third_party/nixpkgs/pkgs/development/tools/build-managers/mage/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

31 lines
752 B
Nix

{ buildGoModule, fetchFromGitHub, lib }:
buildGoModule rec {
pname = "mage";
version = "1.15.0";
src = fetchFromGitHub {
owner = "magefile";
repo = pname;
rev = "v${version}";
sha256 = "sha256-aZPv3+F4VMiThjR0nFP+mKQLI9zKj2jaOawClROnT34=";
};
vendorHash = null;
doCheck = false;
ldflags = [
"-X github.com/magefile/mage/mage.commitHash=v${version}"
"-X github.com/magefile/mage/mage.gitTag=v${version}"
"-X github.com/magefile/mage/mage.timestamp=1970-01-01T00:00:00Z"
];
meta = with lib; {
description = "Make/Rake-like Build Tool Using Go";
mainProgram = "mage";
homepage = "https://magefile.org/";
license = licenses.asl20;
maintainers = with maintainers; [ swdunlop ];
};
}