nixpkgs/pkgs/by-name/ar/arpa2common/package.nix

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

74 lines
1.6 KiB
Nix
Raw Normal View History

{
lib,
stdenv,
fetchFromGitLab,
fetchpatch,
cmake,
2021-08-20 16:20:44 +00:00
arpa2cm,
doxygen,
e2fsprogs,
graphviz,
libsodium,
lmdb,
openssl,
pkg-config,
ragel,
2021-08-20 16:20:44 +00:00
}:
2024-09-12 16:51:23 +00:00
stdenv.mkDerivation (finalAttrs: {
2021-08-20 16:20:44 +00:00
pname = "arpa2common";
2024-09-12 16:51:23 +00:00
version = "2.6.2";
2021-08-20 16:20:44 +00:00
src = fetchFromGitLab {
owner = "arpa2";
2024-09-12 16:51:23 +00:00
repo = "arpa2common";
rev = "v${finalAttrs.version}";
hash = "sha256-eWfWaO6URCK2FWQ+NYAoeCONkovgsVDPSRQVCGFnW3s=";
2021-08-20 16:20:44 +00:00
};
2024-09-12 16:51:23 +00:00
patches = [
(fetchpatch {
url = "https://gitlab.com/arpa2/arpa2common/-/commit/13ea82df60b87a5367db00a8c6f3502e8ecb7298.patch";
hash = "sha256-V9Dhr6PeArqXnuXmFuDjcirlGl7xovq7VQZsrbbMFSk=";
})
];
2021-08-20 16:20:44 +00:00
nativeBuildInputs = [
cmake
arpa2cm
doxygen
2022-07-30 02:46:07 +00:00
graphviz
2021-08-20 16:20:44 +00:00
pkg-config
];
propagatedBuildInputs = [
e2fsprogs
2024-09-12 16:51:23 +00:00
libsodium
2021-08-20 16:20:44 +00:00
lmdb
openssl
ragel
];
meta = {
2024-09-12 16:51:23 +00:00
changelog = "https://gitlab.com/arpa2/arpa2common/-/blob/v${finalAttrs.version}/CHANGES";
description = "ARPA2 ID and ACL libraries and other core data structures for ARPA2";
2021-08-20 16:20:44 +00:00
longDescription = ''
The ARPA2 Common Library package offers elementary services that can
benefit many software packages. They are designed to be easy to
include, with a minimum of dependencies. At the same time, they were
designed with the InternetWide Architecture in mind, thus helping to
liberate users.
'';
homepage = "https://gitlab.com/arpa2/arpa2common";
license = with lib.licenses; [
bsd2
cc-by-sa-40
cc0
isc
];
2021-08-20 16:20:44 +00:00
maintainers = with lib.maintainers; [ fufexan ];
platforms = lib.platforms.linux;
};
2024-09-12 16:51:23 +00:00
})