mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 15:41:40 +00:00
mage: init at 1.7.1
(#46407) * mage: init at 1.2.4 * mage: init at 1.7.1
This commit is contained in:
parent
26513e7665
commit
611ef59485
32
pkgs/development/tools/build-managers/mage/default.nix
Normal file
32
pkgs/development/tools/build-managers/mage/default.nix
Normal 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;
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue