nixpkgs/pkgs/servers/tang/default.nix

52 lines
848 B
Nix
Raw Normal View History

{ lib
, stdenv
, fetchFromGitHub
, pkg-config
, asciidoc
, jansson
, jose
, http-parser
, systemd
, meson
, ninja
2020-02-09 20:40:03 +03:00
}:
stdenv.mkDerivation rec {
pname = "tang";
version = "12";
2020-02-09 20:40:03 +03:00
src = fetchFromGitHub {
owner = "latchset";
repo = "tang";
rev = "refs/tags/v${version}";
hash = "sha256-wfZFOJrVzjtysh0VKdw5O+DJybYkV9bYJNnaku6YctE=";
2020-02-09 20:40:03 +03:00
};
nativeBuildInputs = [
asciidoc
meson
ninja
pkg-config
2020-02-09 20:40:03 +03:00
];
buildInputs = [
jansson
jose
http-parser
systemd
];
2020-02-09 20:40:03 +03:00
outputs = [
"out"
"man"
];
2020-02-09 20:40:03 +03:00
meta = {
description = "Server for binding data to network presence";
2020-02-09 20:40:03 +03:00
homepage = "https://github.com/latchset/tang";
changelog = "https://github.com/latchset/tang/releases/tag/v${version}";
2020-02-09 20:40:03 +03:00
maintainers = with lib.maintainers; [ fpletz ];
license = lib.licenses.gpl3Plus;
};
}