diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2023-03-01 23:28:26 +0100 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2023-03-01 23:28:26 +0100 |
commit | 3ddfa29f5108a75aa47ba320db25b3830dc51f49 (patch) | |
tree | fdb46ff5638a8eeac4c8ae114a6361717917f1cd /pkgs/servers/tang | |
parent | 36c9dc57b5efeaba48bc6d52110861d15bbfcf23 (diff) |
tang: 7 -> 12
Changelogs: https://github.com/latchset/tang/releases/tag/v12 https://github.com/latchset/tang/releases/tag/v11 https://github.com/latchset/tang/releases/tag/v10 https://github.com/latchset/tang/releases/tag/v9 https://github.com/latchset/tang/releases/tag/v8
Diffstat (limited to 'pkgs/servers/tang')
-rw-r--r-- | pkgs/servers/tang/default.nix | 43 |
1 files changed, 31 insertions, 12 deletions
diff --git a/pkgs/servers/tang/default.nix b/pkgs/servers/tang/default.nix index 8c5a64f22955f..fdcadc4bb28df 100644 --- a/pkgs/servers/tang/default.nix +++ b/pkgs/servers/tang/default.nix @@ -1,31 +1,50 @@ -{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, asciidoc -, jansson, jose, http-parser, systemd +{ lib +, stdenv +, fetchFromGitHub +, pkg-config +, asciidoc +, jansson +, jose +, http-parser +, systemd +, meson +, ninja }: stdenv.mkDerivation rec { pname = "tang"; - version = "7"; + version = "12"; src = fetchFromGitHub { owner = "latchset"; - repo = pname; - rev = "v${version}"; - sha256 = "0y5w1jrq5djh9gpy2r98ja7676nfxss17s1dk7jvgblsijx9qsd7"; + repo = "tang"; + rev = "refs/tags/v${version}"; + hash = "sha256-wfZFOJrVzjtysh0VKdw5O+DJybYkV9bYJNnaku6YctE="; }; - configureFlags = [ - "--localstatedir=/var" - "--with-systemdsystemunitdir=${placeholder "out"}/lib/systemd/system" + nativeBuildInputs = [ + asciidoc + meson + ninja + pkg-config ]; - nativeBuildInputs = [ autoreconfHook pkg-config asciidoc ]; - buildInputs = [ jansson jose http-parser systemd ]; + buildInputs = [ + jansson + jose + http-parser + systemd + ]; - outputs = [ "out" "man" ]; + 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; }; |