diff options
Diffstat (limited to 'nixpkgs/pkgs/applications/editors/scite/default.nix')
-rw-r--r-- | nixpkgs/pkgs/applications/editors/scite/default.nix | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/applications/editors/scite/default.nix b/nixpkgs/pkgs/applications/editors/scite/default.nix new file mode 100644 index 000000000000..3d6ec9ece9c7 --- /dev/null +++ b/nixpkgs/pkgs/applications/editors/scite/default.nix @@ -0,0 +1,33 @@ +{ lib, stdenv, fetchurl, pkg-config, gtk2 }: + +stdenv.mkDerivation { + pname = "scite"; + version = "4.0.5"; + + src = fetchurl { + url = "https://www.scintilla.org/scite405.tgz"; + sha256 = "0h16wk2986nkkhhdv5g4lxlcn02qwyja24x1r6vf02r1hf46b9q2"; + }; + + nativeBuildInputs = [ pkg-config ]; + buildInputs = [ gtk2 ]; + sourceRoot = "scintilla/gtk"; + + buildPhase = '' + make + cd ../../scite/gtk + make prefix=$out/ + ''; + + installPhase = '' + make install prefix=$out/ + ''; + + meta = with lib; { + homepage = "https://www.scintilla.org/SciTE.html"; + description = "SCIntilla based Text Editor"; + license = licenses.mit; + platforms = platforms.linux; + maintainers = [ maintainers.rszibele ]; + }; +} |