forked from mirrors/nixpkgs
f5fa5fa4d6
* pkgs: refactor needless quoting of homepage meta attribute A lot of packages are needlessly quoting the homepage meta attribute (about 1400, 22%), this commit refactors all of those instances. * pkgs: Fixing some links that were wrongfully unquoted in the previous commit * Fixed some instances
34 lines
733 B
Nix
34 lines
733 B
Nix
{ stdenv, fetchurl, pkgconfig, gtk2 }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "scite-${version}";
|
|
version = "3.7.5";
|
|
|
|
src = fetchurl {
|
|
url = http://www.scintilla.org/scite375.tgz;
|
|
sha256 = "11pg9bifyyqpblqsrl1b9f8shb3fa6fgzclvjba6hwh7hh98drji";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
buildInputs = [ gtk2 ];
|
|
sourceRoot = "scintilla/gtk";
|
|
|
|
buildPhase = ''
|
|
make
|
|
cd ../../scite/gtk
|
|
make prefix=$out/
|
|
'';
|
|
|
|
installPhase = ''
|
|
make install prefix=$out/
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = http://www.scintilla.org/SciTE.html;
|
|
description = "SCIntilla based Text Editor";
|
|
license = licenses.mit;
|
|
platforms = platforms.linux;
|
|
maintainers = [ maintainers.rszibele ];
|
|
};
|
|
}
|