libmd: init at 0.0.0

This commit is contained in:
Michael Weiss 2016-12-29 21:04:29 +01:00 committed by Joachim F
parent 868147420d
commit b1ac86db87
2 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,30 @@
{ stdenv, fetchurl, autoreconfHook }:
stdenv.mkDerivation rec {
name = "${pname}-${version}";
pname = "libmd";
version = "0.0.0";
src = fetchurl {
url = "https://archive.hadrons.org/software/${pname}/${pname}-${version}.tar.xz";
sha256 = "121s73pgbqsnmy6xblbrkj9y44c5zzzpf2hcmh6zvcvg4dk26gzx";
};
buildInputs = [ autoreconfHook ];
# Writing the version to a .dist-version file is required for the get-version
# shell script because fetchgit removes the .git directory.
prePatch = ''
echo '${version}' > .dist-version;
'';
autoreconfPhase = "./autogen";
meta = with stdenv.lib; {
homepage = "https://www.hadrons.org/software/${pname}/";
description = "Message Digest functions from BSD systems";
license = with licenses; [ bsd3 bsd2 isc beerware publicDomain ];
maintainers = with maintainers; [ primeos ];
platforms = platforms.linux;
};
}

View File

@ -8199,6 +8199,8 @@ in
libmcs = callPackage ../development/libraries/libmcs { }; libmcs = callPackage ../development/libraries/libmcs { };
libmd = callPackage ../development/libraries/libmd { };
libmemcached = callPackage ../development/libraries/libmemcached { }; libmemcached = callPackage ../development/libraries/libmemcached { };
libmicrohttpd = callPackage ../development/libraries/libmicrohttpd { }; libmicrohttpd = callPackage ../development/libraries/libmicrohttpd { };