mage: 1.7.1 -> 1.8.0 (#64591)
This commit is contained in:
parent
4463ec6a6f
commit
5236c81af4
1 changed files with 13 additions and 15 deletions
|
@ -1,32 +1,30 @@
|
|||
{ buildGoPackage, fetchFromGitHub, lib }:
|
||||
{ buildGoModule, fetchFromGitHub, lib }:
|
||||
|
||||
with lib;
|
||||
|
||||
buildGoPackage rec {
|
||||
name = "mage-${version}";
|
||||
version = "1.7.1";
|
||||
|
||||
goPackagePath = "github.com/magefile/mage";
|
||||
subPackages = [ "." ];
|
||||
buildGoModule rec {
|
||||
pname = "mage";
|
||||
version = "1.8.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "magefile";
|
||||
repo = "mage";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "0n4k5dy338rxwzj654smxzlanmd0zws6mdzv0wc4byqjhr7mqhg2";
|
||||
sha256 = "0vkzm2k2v3np30kdgz9kpwkhnshbjcn8j1y321djz2h3w23k5h7r";
|
||||
};
|
||||
|
||||
buildFlagsArray = [
|
||||
modSha256 = "0sjjj9z1dhilhpc8pq4154czrb79z9cm044jvn75kxcjv6v5l2m5";
|
||||
|
||||
buildFlagsArray = [
|
||||
"-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 = {
|
||||
meta = with lib; {
|
||||
description = "A Make/Rake-like Build Tool Using Go";
|
||||
homepage = "https://magefile.org/";
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.swdunlop ];
|
||||
homepage = https://magefile.org/;
|
||||
maintainers = with maintainers; [ swdunlop ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue