Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
49 lines
1.1 KiB
Nix
49 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchurl,
|
|
pkg-config,
|
|
libevent,
|
|
libressl,
|
|
readline,
|
|
libbsd,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "kamid";
|
|
version = "0.2";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/omar-polo/kamid/releases/download/${finalAttrs.version}/kamid-${finalAttrs.version}.tar.gz";
|
|
sha256 = "sha256-23LgcZ+R6wcUz1fZA+IbhyshfQOTyiFPZ+uKVwOh680=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
];
|
|
|
|
buildInputs = [
|
|
libevent
|
|
libressl
|
|
readline
|
|
libbsd
|
|
];
|
|
|
|
env.NIX_CFLAGS_COMPILE = toString [
|
|
# client.c:381:13: error: implicit declaration of function 'setgroups'; did you mean 'getgroups'?
|
|
"-Wno-error=implicit-function-declaration"
|
|
# ftp.c:1585:22: error: passing argument 1 of 'log_procinit' makes pointer from integer without a cast
|
|
"-Wno-error=int-conversion"
|
|
];
|
|
|
|
makeFlags = [ "AR:=$(AR)" ];
|
|
|
|
meta = {
|
|
description = "FREE, easy-to-use and portable implementation of a 9p file server daemon for UNIX-like systems";
|
|
homepage = "https://kamid.omarpolo.com";
|
|
license = lib.licenses.isc;
|
|
maintainers = with lib.maintainers; [ heph2 ];
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
})
|