Merge pull request #24084 from ndowens/scite

scite: 3.3.7 -> 3.7.3; Cosmetic changes
This commit is contained in:
ndowens 2017-03-19 17:29:01 -05:00 committed by GitHub
commit ed2c0a8328

View File

@ -1,18 +1,16 @@
{ stdenv, fetchurl, pkgconfig, gtk2 }: { stdenv, fetchurl, pkgconfig, gtk2 }:
let stdenv.mkDerivation rec {
version = "3.3.7";
version_short = stdenv.lib.replaceChars [ "." ] [ "" ] "${version}";
in stdenv.mkDerivation {
name = "scite-${version}"; name = "scite-${version}";
version = "3.7.3";
src = fetchurl { src = fetchurl {
url = "mirror://sourceforge/project/scintilla/SciTE/${version}/scite${version_short}.tgz"; url = "mirror://sourceforge/project/scintilla/SciTE/${version}/scite373.tgz";
sha256 = "0x7i6yxq50frsjkrp3lc5zy0d1ssq2n91igjn0dmqajpg7kls2dd"; sha256 = "05d81h1fqhjlw9apvrni3x2q4a562cd5ra1071qpna8h4ml0an9m";
}; };
buildInputs = [ pkgconfig gtk2 ]; nativeBuildInputs = [ pkgconfig ];
buildInputs = [ gtk2 ];
sourceRoot = "scintilla/gtk"; sourceRoot = "scintilla/gtk";
buildPhase = '' buildPhase = ''
@ -25,11 +23,11 @@ in stdenv.mkDerivation {
make install prefix=$out/ make install prefix=$out/
''; '';
meta = { meta = with stdenv.lib; {
homepage = "http://www.scintilla.org/SciTE.html"; homepage = "http://www.scintilla.org/SciTE.html";
description = "SCIntilla based Text Editor"; description = "SCIntilla based Text Editor";
license = stdenv.lib.licenses.mit; license = licenses.mit;
platforms = stdenv.lib.platforms.linux; platforms = platforms.linux;
maintainers = [ stdenv.lib.maintainers.rszibele ]; maintainers = [ maintainers.rszibele ];
}; };
} }