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
32
pkgs/tools/X11/go-sct/default.nix
Normal file
32
pkgs/tools/X11/go-sct/default.nix
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
{ lib, buildGoModule, fetchFromGitHub, xorg, wayland }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "go-sct";
|
||||
version = "unstable-2022-01-32";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "d4l3k";
|
||||
repo = "go-sct";
|
||||
rev = "4ae88a6bf50e0b917541ddbcec1ff10ab77a0b15";
|
||||
sha256 = "sha256-/0ilM1g3CNaseqV9i+cKWyzxvWnj+TFqazt+aYDtNVs=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
# Disable tests require network access
|
||||
rm -f geoip/geoip_test.go
|
||||
'';
|
||||
|
||||
vendorSha256 = "sha256-Rx5/oORink2QtRcD+JqbyFroWYhuYmuYDzZ391R4Jsw=";
|
||||
|
||||
buildInputs = [ xorg.libX11 xorg.libXrandr wayland.dev ];
|
||||
|
||||
ldflags = [ "-s" "-w" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Color temperature setting library and CLI that operates in a similar way to f.lux and Redshift";
|
||||
homepage = "https://github.com/d4l3k/go-sct";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ cstrahan ];
|
||||
mainProgram = "sct";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue