mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 02:44:17 +03:00
gmid: 1.8 -> 1.8.1
* gmid: 1.8 -> 1.8.1 (#159180) * gmid: fix v1.8.1 source hash and use configureFlags instead of overriding configurePhase Co-authored-by: Renaud <c0bw3b@users.noreply.github.com>
This commit is contained in:
parent
ef818f540d
commit
895a3dd675
@ -1,25 +1,23 @@
|
||||
{ lib, stdenv, fetchFromGitHub, fetchpatch, bison, libressl, libevent }:
|
||||
{ lib, stdenv, fetchFromGitHub, bison, which, libressl, libevent }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "gmid";
|
||||
version = "1.8";
|
||||
version = "1.8.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "omar-polo";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-CwJPaZefRDyn2fliOd9FnOLXq70HFu2RsUZhzWQdE3E";
|
||||
hash = "sha256-XNif164C5b5sVsZW7sy0id4qM/mJzg3RhoHbwJuJqDk=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ bison ];
|
||||
nativeBuildInputs = [ bison which ];
|
||||
|
||||
buildInputs = [ libressl libevent ];
|
||||
|
||||
configurePhase = ''
|
||||
runHook preConfigure
|
||||
./configure PREFIX=$out
|
||||
runHook postConfigure
|
||||
'';
|
||||
configureFlags = [
|
||||
"PREFIX=${placeholder "out"}"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Simple and secure Gemini server";
|
||||
|
Loading…
Reference in New Issue
Block a user