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
39
pkgs/tools/misc/noti/default.nix
Normal file
39
pkgs/tools/misc/noti/default.nix
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
{ stdenv, lib, buildGoPackage, fetchFromGitHub
|
||||
, Cocoa ? null }:
|
||||
|
||||
buildGoPackage rec {
|
||||
pname = "noti";
|
||||
version = "3.5.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "variadico";
|
||||
repo = "noti";
|
||||
rev = version;
|
||||
sha256 = "12r9wawwl6x0rfv1kahwkamfa0pjq24z60az9pn9nsi2z1rrlwkd";
|
||||
};
|
||||
|
||||
buildInputs = lib.optional stdenv.isDarwin Cocoa;
|
||||
|
||||
goPackagePath = "github.com/variadico/noti";
|
||||
|
||||
ldflags = [
|
||||
"-X ${goPackagePath}/internal/command.Version=${version}"
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
install -Dm444 -t $out/share/man/man1 $src/docs/man/*.1
|
||||
install -Dm444 -t $out/share/man/man5 $src/docs/man/*.5
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Monitor a process and trigger a notification";
|
||||
longDescription = ''
|
||||
Monitor a process and trigger a notification.
|
||||
|
||||
Never sit and wait for some long-running process to finish. Noti can alert you when it's done. You can receive messages on your computer or phone.
|
||||
'';
|
||||
homepage = "https://github.com/variadico/noti";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ stites marsam ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue