mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 04:19:00 +02:00
gmnisrv: unstable-2021-05-16 → 1.0
This commit is contained in:
parent
41c9be7c10
commit
f8c288d306
|
@ -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 ];
|
||||
|
|
Loading…
Reference in a new issue