3
0
Fork 0
forked from mirrors/nixpkgs

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 }:
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 ];
};
}