9bb3fccb5b
continuation of #109595 pkgconfig was aliased in 2018, however, it remained in all-packages.nix due to its wide usage. This cleans up the remaining references to pkgs.pkgsconfig and moves the entry to aliases.nix. python3Packages.pkgconfig remained unchanged because it's the canonical name of the upstream package on pypi.
33 lines
839 B
Nix
33 lines
839 B
Nix
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, asciidoc
|
|
, jansson, jose, http-parser, systemd
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "tang";
|
|
version = "7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "latchset";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "0y5w1jrq5djh9gpy2r98ja7676nfxss17s1dk7jvgblsijx9qsd7";
|
|
};
|
|
|
|
configureFlags = [
|
|
"--localstatedir=/var"
|
|
"--with-systemdsystemunitdir=${placeholder "out"}/lib/systemd/system"
|
|
];
|
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config asciidoc ];
|
|
buildInputs = [ jansson jose http-parser systemd ];
|
|
|
|
outputs = [ "out" "man" ];
|
|
|
|
meta = {
|
|
description = "Server for binding data to network presence";
|
|
homepage = "https://github.com/latchset/tang";
|
|
maintainers = with lib.maintainers; [ fpletz ];
|
|
license = lib.licenses.gpl3Plus;
|
|
};
|
|
}
|