nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ stdenv
2, lib
3, pkg-config
4, libevent
5, libressl
6, libbsd
7, fetchurl
8, readline
9}:
10
11stdenv.mkDerivation rec {
12 pname = "kamid";
13 version = "0.2";
14
15 src = fetchurl {
16 url = "https://github.com/omar-polo/kamid/releases/download/${version}/${pname}-${version}.tar.gz";
17 sha256 = "sha256-23LgcZ+R6wcUz1fZA+IbhyshfQOTyiFPZ+uKVwOh680=";
18 };
19
20 nativeBuildInputs = [
21 pkg-config
22 ];
23
24 buildInputs = [
25 libevent
26 libressl
27 readline
28 libbsd
29 ];
30
31 makeFlags = [ "AR:=$(AR)" ];
32
33 meta = with lib; {
34 description = "A FREE, easy-to-use and portable implementation of a 9p file server daemon for UNIX-like systems";
35 homepage = "https://kamid.omarpolo.com";
36 license = licenses.isc;
37 maintainers = with maintainers; [ heph2 ];
38 platforms = platforms.linux;
39 };
40}