mage: init at 1.7.1

(#46407)
* mage: init at 1.2.4

* mage: init at 1.7.1
This commit is contained in:
Scott Dunlop 2018-11-18 08:35:41 -08:00 committed by Renaud
parent 26513e7665
commit 611ef59485
2 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,32 @@
{ buildGoPackage, fetchFromGitHub, lib }:
with lib;
buildGoPackage rec {
name = "mage-${version}";
version = "1.7.1";
goPackagePath = "github.com/magefile/mage";
subPackages = [ "." ];
src = fetchFromGitHub {
owner = "magefile";
repo = "mage";
rev = "v${version}";
sha256 = "0n4k5dy338rxwzj654smxzlanmd0zws6mdzv0wc4byqjhr7mqhg2";
};
buildFlagsArray = [
"-ldflags="
"-X github.com/magefile/mage/mage.commitHash=v${version}"
"-X github.com/magefile/mage/mage.gitTag=v${version}"
];
meta = {
description = "A Make/Rake-like Build Tool Using Go";
license = licenses.asl20;
maintainers = [ maintainers.swdunlop ];
homepage = https://magefile.org/;
platforms = platforms.all;
};
}

View File

@ -8711,6 +8711,8 @@ with pkgs;
go-md2man = callPackage ../development/tools/misc/md2man {};
mage = callPackage ../development/tools/build-managers/mage { };
minify = callPackage ../development/web/minify { };
minizinc = callPackage ../development/tools/minizinc { };