From e27a85709d97671747aff55a455ae0b720bed7d6 Mon Sep 17 00:00:00 2001 From: ndowens Date: Sun, 19 Mar 2017 17:28:35 -0500 Subject: [PATCH] scite: 3.3.7 -> 3.7.3; Cosmetic changes --- pkgs/applications/editors/scite/default.nix | 22 ++++++++++----------- 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/pkgs/applications/editors/scite/default.nix b/pkgs/applications/editors/scite/default.nix index 989d3e42a6fa..d02a08a0a597 100644 --- a/pkgs/applications/editors/scite/default.nix +++ b/pkgs/applications/editors/scite/default.nix @@ -1,18 +1,16 @@ { stdenv, fetchurl, pkgconfig, gtk2 }: -let - version = "3.3.7"; - - version_short = stdenv.lib.replaceChars [ "." ] [ "" ] "${version}"; -in stdenv.mkDerivation { +stdenv.mkDerivation rec { name = "scite-${version}"; + version = "3.7.3"; src = fetchurl { - url = "mirror://sourceforge/project/scintilla/SciTE/${version}/scite${version_short}.tgz"; - sha256 = "0x7i6yxq50frsjkrp3lc5zy0d1ssq2n91igjn0dmqajpg7kls2dd"; + url = "mirror://sourceforge/project/scintilla/SciTE/${version}/scite373.tgz"; + sha256 = "05d81h1fqhjlw9apvrni3x2q4a562cd5ra1071qpna8h4ml0an9m"; }; - buildInputs = [ pkgconfig gtk2 ]; + nativeBuildInputs = [ pkgconfig ]; + buildInputs = [ gtk2 ]; sourceRoot = "scintilla/gtk"; buildPhase = '' @@ -25,11 +23,11 @@ in stdenv.mkDerivation { make install prefix=$out/ ''; - meta = { + meta = with stdenv.lib; { homepage = "http://www.scintilla.org/SciTE.html"; description = "SCIntilla based Text Editor"; - license = stdenv.lib.licenses.mit; - platforms = stdenv.lib.platforms.linux; - maintainers = [ stdenv.lib.maintainers.rszibele ]; + license = licenses.mit; + platforms = platforms.linux; + maintainers = [ maintainers.rszibele ]; }; }