2020-04-24 23:36:52 +00:00
|
|
|
{ buildGoModule, fetchFromGitHub, lib }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "mage";
|
2022-09-22 12:36:57 +00:00
|
|
|
version = "1.14.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "magefile";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2022-09-22 12:36:57 +00:00
|
|
|
sha256 = "sha256-77RjA5gncKE3fhejlmA+Vkhud4nyaRZW84I3cYTk0Js=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
vendorSha256 = null;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-08-20 17:08:02 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
2021-08-27 14:25:00 +00:00
|
|
|
ldflags = [
|
2020-04-24 23:36:52 +00:00
|
|
|
"-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 ];
|
|
|
|
};
|
2020-07-18 16:06:22 +00:00
|
|
|
}
|