depot/third_party/nixpkgs/pkgs/servers/tang/default.nix
Default email 4d5a95770c Project import generated by Copybara.
GitOrigin-RevId: 3c5319ad3aa51551182ac82ea17ab1c6b0f0df89
2023-03-04 15:14:45 +03:00

51 lines
848 B
Nix

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