depot/third_party/nixpkgs/pkgs/development/tools/build-managers/mage/default.nix
Default email 22017988c6 Project import generated by Copybara.
GitOrigin-RevId: c777cdf5c564015d5f63b09cc93bef4178b19b01
2022-04-27 11:35:20 +02:00

30 lines
730 B
Nix

{ buildGoModule, fetchFromGitHub, lib }:
buildGoModule rec {
pname = "mage";
version = "1.13.0";
src = fetchFromGitHub {
owner = "magefile";
repo = pname;
rev = "v${version}";
sha256 = "sha256-+OhmV5+XNhJVCVYNKc6M5bNB4gyb/SV6bEohaZJXtLk=";
};
vendorSha256 = 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 = "A Make/Rake-like Build Tool Using Go";
homepage = "https://magefile.org/";
license = licenses.asl20;
maintainers = with maintainers; [ swdunlop ];
};
}