uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
30
pkgs/development/tools/build-managers/mage/default.nix
Normal file
30
pkgs/development/tools/build-managers/mage/default.nix
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
{ buildGoModule, fetchFromGitHub, lib }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "mage";
|
||||
version = "1.13.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "magefile";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-+OhmV5+XNhJVCVYNKc6M5bNB4gyb/SV6bEohaZJXtLk=";
|
||||
};
|
||||
|
||||
vendorSha256 = null;
|
||||
|
||||
doCheck = false;
|
||||
|
||||
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 = with lib; {
|
||||
description = "A Make/Rake-like Build Tool Using Go";
|
||||
homepage = "https://magefile.org/";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ swdunlop ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue