2022-07-14 12:49:19 +00:00
|
|
|
{ lib, stdenv, fetchurl, fetchpatch, autoreconfHook }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "libmd";
|
2023-10-09 19:29:22 +00:00
|
|
|
version = "1.1.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2022-07-14 12:49:19 +00:00
|
|
|
urls = [
|
2023-10-09 19:29:22 +00:00
|
|
|
"https://archive.hadrons.org/software/libmd/libmd-${finalAttrs.version}.tar.xz"
|
|
|
|
"https://libbsd.freedesktop.org/releases/libmd-${finalAttrs.version}.tar.xz"
|
2022-07-14 12:49:19 +00:00
|
|
|
];
|
2023-10-09 19:29:22 +00:00
|
|
|
sha256 = "sha256-G9aqQidTE68xQcfPLluWTosf1IgCXK8vlx9DsAd2szI=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
doCheck = true;
|
2022-07-14 12:49:19 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2023-10-09 19:29:22 +00:00
|
|
|
homepage = "https://www.hadrons.org/software/libmd/";
|
|
|
|
changelog = "https://archive.hadrons.org/software/libmd/libmd-${finalAttrs.version}.announce";
|
2021-01-05 17:05:55 +00:00
|
|
|
# Git: https://git.hadrons.org/cgit/libmd.git
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Message Digest functions from BSD systems";
|
|
|
|
license = with licenses; [ bsd3 bsd2 isc beerware publicDomain ];
|
|
|
|
maintainers = with maintainers; [ primeos ];
|
2022-07-14 12:49:19 +00:00
|
|
|
platforms = platforms.unix;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
2023-10-09 19:29:22 +00:00
|
|
|
})
|