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
38
pkgs/applications/networking/soju/default.nix
Normal file
38
pkgs/applications/networking/soju/default.nix
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
{ lib, buildGoModule, fetchFromSourcehut, installShellFiles, scdoc }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "soju";
|
||||
version = "0.4.0";
|
||||
|
||||
src = fetchFromSourcehut {
|
||||
owner = "~emersion";
|
||||
repo = "soju";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-4ixPEnSa1m52Hu1dzxMG8c0bkqGN04vRlIzvdZ/ES4A=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-UVFi/QK2zwzhBkPXEJLYc5WSu3OOvWTVVGkMhrrufyc=";
|
||||
|
||||
subPackages = [
|
||||
"cmd/soju"
|
||||
"cmd/sojuctl"
|
||||
"contrib/znc-import.go"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
scdoc
|
||||
installShellFiles
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
scdoc < doc/soju.1.scd > doc/soju.1
|
||||
installManPage doc/soju.1
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A user-friendly IRC bouncer";
|
||||
homepage = "https://soju.im";
|
||||
license = licenses.agpl3Only;
|
||||
maintainers = with maintainers; [ malvo ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue