forked from mirrors/nixpkgs
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.
29 lines
730 B
Nix
29 lines
730 B
Nix
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config
|
|
, zlib, jansson, openssl
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "jose";
|
|
version = "10";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "latchset";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "15ac8a656m66rd9qg4dj53smykwaagqv606h18w7fiqn0ykxl4vi";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
|
buildInputs = [ zlib jansson openssl ];
|
|
|
|
outputs = [ "out" "dev" "man" ];
|
|
enableParallelBuilding = true;
|
|
|
|
meta = {
|
|
description = "C-language implementation of Javascript Object Signing and Encryption";
|
|
homepage = "https://github.com/latchset/jose";
|
|
maintainers = with lib.maintainers; [ fpletz ];
|
|
license = lib.licenses.asl20;
|
|
};
|
|
}
|