mini-calc: 3.3.3 -> 3.3.5 (#372274)
[NixPkgs.git] / pkgs / by-name / li / libmd / package.nix
blob72c8ffda720bafd0fe17b8e577a2304e535c10ce
2   lib,
3   stdenv,
4   fetchurl,
5   autoreconfHook,
6 }:
8 stdenv.mkDerivation (finalAttrs: {
9   pname = "libmd";
10   version = "1.1.0";
12   src = fetchurl {
13     urls = [
14       "https://archive.hadrons.org/software/libmd/libmd-${finalAttrs.version}.tar.xz"
15       "https://libbsd.freedesktop.org/releases/libmd-${finalAttrs.version}.tar.xz"
16     ];
17     sha256 = "sha256-G9aqQidTE68xQcfPLluWTosf1IgCXK8vlx9DsAd2szI=";
18   };
20   enableParallelBuilding = true;
22   doCheck = true;
24   nativeBuildInputs = [ autoreconfHook ];
26   meta = with lib; {
27     homepage = "https://www.hadrons.org/software/libmd/";
28     changelog = "https://archive.hadrons.org/software/libmd/libmd-${finalAttrs.version}.announce";
29     # Git: https://git.hadrons.org/cgit/libmd.git
30     description = "Message Digest functions from BSD systems";
31     license = with licenses; [
32       bsd3
33       bsd2
34       isc
35       beerware
36       publicDomain
37     ];
38     maintainers = with maintainers; [ primeos ];
39     platforms = platforms.unix;
40   };