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
795 B
Nix
Raw Normal View History

2022-04-08 16:28:58 +00:00
{ stdenv
, lib
, pkg-config
, libevent
, libressl
, libbsd
, fetchurl
, readline
}:
stdenv.mkDerivation rec {
pname = "kamid";
2022-07-28 17:37:58 +00:00
version = "0.2";
2022-04-08 16:28:58 +00:00
src = fetchurl {
url = "https://github.com/omar-polo/kamid/releases/download/${version}/${pname}-${version}.tar.gz";
2022-07-28 17:37:58 +00:00
sha256 = "sha256-23LgcZ+R6wcUz1fZA+IbhyshfQOTyiFPZ+uKVwOh680=";
2022-04-08 16:28:58 +00:00
};
nativeBuildInputs = [
pkg-config
];
buildInputs = [
libevent
libressl
readline
libbsd
];
2022-11-27 18:21:54 +00:00
makeFlags = [ "AR:=$(AR)" ];
2022-04-08 16:28:58 +00:00
meta = with lib; {
description = "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 18:21:54 +00:00
platforms = platforms.linux;
2022-04-08 16:28:58 +00:00
};
}