From 58b75b9a05c6bf0e54d89850086c1d4848366af4 Mon Sep 17 00:00:00 2001 From: Daniel Bergey Date: Sat, 7 Dec 2019 09:08:56 -0500 Subject: nano: upstream patch fixes build on MacOS fixes https://github.com/NixOS/nixpkgs/issues/74840 --- pkgs/applications/editors/nano/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'pkgs/applications/editors') diff --git a/pkgs/applications/editors/nano/default.nix b/pkgs/applications/editors/nano/default.nix index 6f29946d77a8..7b2992201fc7 100644 --- a/pkgs/applications/editors/nano/default.nix +++ b/pkgs/applications/editors/nano/default.nix @@ -38,6 +38,15 @@ in stdenv.mkDerivation rec { (stdenv.lib.enableFeature enableTiny "tiny") ]; + patches = [ + (fetchurl { + # fix compilation on macOS, where 'st_mtim' is unknown + # upstream patch not in 4.6 + url = "https://git.savannah.gnu.org/cgit/nano.git/patch/?id=f516cddce749c3bf938271ef3182b9169ac8cbcc"; + sha256 = "0gqymvr5vxxypr7y3sm252rsi4gjqp597l01x0lkxyvxsn45a4sx"; + }) + ]; + postInstall = '' cp ${nixSyntaxHighlight}/nix.nanorc $out/share/nano/ ''; -- cgit 1.4.1 From 768943000f9af627b4d2d238b4ed555326d2cada Mon Sep 17 00:00:00 2001 From: Eduardo QuirĂ³s <39096810+equirosa@users.noreply.github.com> Date: Thu, 12 Dec 2019 13:01:35 -0600 Subject: edbrowse: 3.7.4 -> 3.7.6 (#75087) * edbrowse: 3.7.4 -> 3.7.6 * Remove unneeded patch * edbrowse: update source hash for v3.7.6 + turn makeFlags into a list + update meta.homepage --- pkgs/applications/editors/edbrowse/default.nix | 23 +++++++++-------------- 1 file changed, 9 insertions(+), 14 deletions(-) (limited to 'pkgs/applications/editors') diff --git a/pkgs/applications/editors/edbrowse/default.nix b/pkgs/applications/editors/edbrowse/default.nix index 0de514233f8e..1161fc8256cb 100644 --- a/pkgs/applications/editors/edbrowse/default.nix +++ b/pkgs/applications/editors/edbrowse/default.nix @@ -1,19 +1,11 @@ -{ stdenv, fetchFromGitHub, fetchpatch, duktape, curl, pcre, readline, openssl, perl, html-tidy }: +{ stdenv, fetchFromGitHub, duktape, curl, pcre, readline, openssl, perl, html-tidy }: stdenv.mkDerivation rec { pname = "edbrowse"; - version = "3.7.4"; + version = "3.7.6"; buildInputs = [ curl pcre readline openssl duktape perl html-tidy ]; - patches = [ - # Fix build against recent libcurl - (fetchpatch { - url = https://github.com/CMB/edbrowse/commit/5d2b9e21fdf019f461ebe62738d615428d5db963.diff; - sha256 = "167q8n0syj3iv6lxrbpv4kvb63j4byj4qxrxayy08bah3pss3gky"; - }) - ]; - postPatch = '' for i in ./tools/*.pl do @@ -21,13 +13,16 @@ stdenv.mkDerivation rec { done ''; - makeFlags = "-C src prefix=$(out)"; + makeFlags = [ + "-C src" + "prefix=${placeholder "out"}" + ]; src = fetchFromGitHub { owner = "CMB"; repo = "edbrowse"; rev = "v${version}"; - sha256 = "0i9ivyfy1dd16c89f392kwx6wxgkkpyq2hl32jhzra0fb0zyl0k6"; + sha256 = "0yk4djb9q8ll94fs57y706bsqlar4pfx6ysasvkzj146926lrh8a"; }; meta = with stdenv.lib; { description = "Command Line Editor Browser"; @@ -39,8 +34,8 @@ stdenv.mkDerivation rec { edbrowse can also tap into databases through odbc. It was primarily written by Karl Dahlke. ''; license = licenses.gpl1Plus; - homepage = http://edbrowse.org/; - maintainers = [ maintainers.schmitthenner maintainers.vrthra ]; + homepage = "https://edbrowse.org/"; + maintainers = with maintainers; [ schmitthenner vrthra equirosa ]; platforms = platforms.linux; }; } -- cgit 1.4.1