nixpkgs/pkgs/servers/tang/default.nix

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

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