nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib, stdenv, fetchurl, autoreconfHook }:
2
3stdenv.mkDerivation rec {
4 pname = "libmd";
5 version = "1.0.4";
6
7 src = fetchurl {
8 url = "https://archive.hadrons.org/software/${pname}/${pname}-${version}.tar.xz";
9 sha256 = "sha256-9RySEELjS+3e3tS3VVdlZVnPWx8kSAM7TB7sEcB+Uw8=";
10 };
11
12 nativeBuildInputs = [ autoreconfHook ];
13
14 meta = with lib; {
15 homepage = "https://www.hadrons.org/software/${pname}/";
16 changelog = "https://archive.hadrons.org/software/libmd/libmd-${version}.announce";
17 # Git: https://git.hadrons.org/cgit/libmd.git
18 description = "Message Digest functions from BSD systems";
19 license = with licenses; [ bsd3 bsd2 isc beerware publicDomain ];
20 maintainers = with maintainers; [ primeos ];
21 platforms = platforms.linux;
22 };
23}