nixpkgs/pkgs/by-name/ma/mage/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
752 B
Nix
Raw Normal View History

2019-07-12 03:58:26 +00:00
{ buildGoModule, fetchFromGitHub, lib }:
2019-07-12 03:58:26 +00:00
buildGoModule rec {
pname = "mage";
2023-05-17 04:07:07 +00:00
version = "1.15.0";
src = fetchFromGitHub {
owner = "magefile";
2019-07-12 03:58:26 +00:00
repo = pname;
rev = "v${version}";
2023-05-17 04:07:07 +00:00
sha256 = "sha256-aZPv3+F4VMiThjR0nFP+mKQLI9zKj2jaOawClROnT34=";
};
2023-05-17 04:07:07 +00:00
vendorHash = null;
2019-07-12 03:58:26 +00:00
doCheck = false;
2021-08-26 06:45:51 +00:00
ldflags = [
"-X github.com/magefile/mage/mage.commitHash=v${version}"
"-X github.com/magefile/mage/mage.gitTag=v${version}"
2019-07-12 03:58:26 +00:00
"-X github.com/magefile/mage/mage.timestamp=1970-01-01T00:00:00Z"
];
2019-07-12 03:58:26 +00:00
meta = with lib; {
description = "Make/Rake-like Build Tool Using Go";
mainProgram = "mage";
2019-07-12 03:58:26 +00:00
homepage = "https://magefile.org/";
license = licenses.asl20;
2019-07-12 03:58:26 +00:00
maintainers = with maintainers; [ swdunlop ];
};
2020-07-11 16:06:12 +00:00
}