2024-05-23 11:43:35 +00:00
|
|
|
{ lib, stdenv, fetchurl, autoreconfHook }:
|
2016-12-29 20:04:29 +00:00
|
|
|
|
2023-08-03 22:57:13 +00:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
2016-12-29 20:04:29 +00:00
|
|
|
pname = "libmd";
|
2023-08-03 22:57:13 +00:00
|
|
|
version = "1.1.0";
|
2016-12-29 20:04:29 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2022-07-09 12:35:17 +00:00
|
|
|
urls = [
|
2023-08-03 22:57:13 +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-09 12:35:17 +00:00
|
|
|
];
|
2023-08-03 22:57:13 +00:00
|
|
|
sha256 = "sha256-G9aqQidTE68xQcfPLluWTosf1IgCXK8vlx9DsAd2szI=";
|
2016-12-29 20:04:29 +00:00
|
|
|
};
|
|
|
|
|
2023-08-03 22:57:13 +00:00
|
|
|
enableParallelBuilding = true;
|
2022-07-09 12:35:17 +00:00
|
|
|
|
2023-08-04 07:47:15 +00:00
|
|
|
doCheck = true;
|
|
|
|
|
2017-01-21 19:42:41 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
2016-12-29 20:04:29 +00:00
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2023-08-03 22:57:13 +00:00
|
|
|
homepage = "https://www.hadrons.org/software/libmd/";
|
|
|
|
changelog = "https://archive.hadrons.org/software/libmd/libmd-${finalAttrs.version}.announce";
|
2021-01-03 17:49:24 +00:00
|
|
|
# Git: https://git.hadrons.org/cgit/libmd.git
|
2016-12-29 20:04:29 +00:00
|
|
|
description = "Message Digest functions from BSD systems";
|
|
|
|
license = with licenses; [ bsd3 bsd2 isc beerware publicDomain ];
|
|
|
|
maintainers = with maintainers; [ primeos ];
|
2022-07-09 12:35:17 +00:00
|
|
|
platforms = platforms.unix;
|
2016-12-29 20:04:29 +00:00
|
|
|
};
|
2023-08-03 22:57:13 +00:00
|
|
|
})
|