gmnisrv: unstable-2021-05-16 → 1.0

This commit is contained in:
Nikolay Korotkiy 2021-11-12 18:27:39 +03:00 committed by ehmry
parent 41c9be7c10
commit f8c288d306

View file

@ -2,15 +2,20 @@
stdenv.mkDerivation rec {
pname = "gmnisrv";
version = "unstable-2021-05-16";
version = "1.0";
src = fetchFromSourcehut {
owner = "~sircmpwn";
repo = "gmnisrv";
rev = "b9a92193e96bbe621ebc8430d8308d45a5b86cef";
sha256 = "sha256-eMKsoq3Y+eS20nxI7EoDLbdwdoB6shbGt6p8wS+uoPc=";
rev = version;
sha256 = "sha256-V9HXXYQIo3zeqZjJEn+dhemNg6AU+ee3FRmBmXgLuYQ=";
};
postPatch = ''
substituteInPlace config.sh \
--replace "pkg-config" "${stdenv.cc.targetPrefix}pkg-config"
'';
MIMEDB = "${mime-types}/etc/mime.types";
nativeBuildInputs = [ pkg-config scdoc ];
buildInputs = [ openssl mime-types ];