nixpkgs/pkgs/servers/ftp/kamid/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

41 lines
797 B
Nix
Raw Normal View History

2022-04-08 18:28:58 +02:00
{ stdenv
, lib
, pkg-config
, libevent
, libressl
, libbsd
, fetchurl
, readline
}:
stdenv.mkDerivation rec {
pname = "kamid";
2022-07-28 19:37:58 +02:00
version = "0.2";
2022-04-08 18:28:58 +02:00
src = fetchurl {
url = "https://github.com/omar-polo/kamid/releases/download/${version}/${pname}-${version}.tar.gz";
2022-07-28 19:37:58 +02:00
sha256 = "sha256-23LgcZ+R6wcUz1fZA+IbhyshfQOTyiFPZ+uKVwOh680=";
2022-04-08 18:28:58 +02:00
};
nativeBuildInputs = [
pkg-config
];
buildInputs = [
libevent
libressl
readline
libbsd
];
2022-11-27 19:21:54 +01:00
makeFlags = [ "AR:=$(AR)" ];
2022-04-08 18:28:58 +02:00
meta = with lib; {
description = "A FREE, easy-to-use and portable implementation of a 9p file server daemon for UNIX-like systems";
homepage = "https://kamid.omarpolo.com";
license = licenses.isc;
maintainers = with maintainers; [ heph2 ];
2022-11-27 19:21:54 +01:00
platforms = platforms.linux;
2022-04-08 18:28:58 +02:00
};
}