nano: 4.6 -> 4.7
See https://lists.gnu.org/archive/html/info-gnu/2019-12/msg00005.html for release information.
This commit is contained in:
parent
f8dec92f04
commit
241e1fd9d0
1 changed files with 2 additions and 11 deletions
|
@ -20,11 +20,11 @@ let
|
|||
|
||||
in stdenv.mkDerivation rec {
|
||||
pname = "nano";
|
||||
version = "4.6";
|
||||
version = "4.7";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnu/nano/${pname}-${version}.tar.xz";
|
||||
sha256 = "1s98jsvkfar6qmd5n5l1n1k59623dnc93ciyvlhxjkvpad0kmb4v";
|
||||
sha256 = "1x9nqy2kgaz6087p63i71gdjsqbdc9jjpx1ymlyclfakvsby3h2q";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ texinfo ] ++ optional enableNls gettext;
|
||||
|
@ -38,15 +38,6 @@ 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/
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue