Unverified Commit 210327d0 authored by Toma's avatar Toma Committed by GitHub
Browse files

jedit: use git sources instead of removed svn sources (#475325)

parents 5cc377e3 14e859c6
Loading
Loading
Loading
Loading
+7 −10
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  fetchsvn,
  fetchgit,
  ant,
  jdk,
  jre,
@@ -14,13 +14,10 @@ stdenv.mkDerivation (finalAttrs: {
  pname = "jedit";
  version = "5.7.0";

  src =
    let
      versionWithDashes = lib.replaceStrings [ "." ] [ "-" ] finalAttrs.version;
    in
    fetchsvn {
      url = "https://svn.code.sf.net/p/jedit/svn/jEdit/tags/jedit-${versionWithDashes}";
      hash = "sha256-XfYK2C0QZrg4b//1eQcUNViRthBbXV+cbcYetzw2RG8=";
  src = fetchgit {
    url = "https://git.code.sf.net/p/jedit/jEdit";
    tag = "v${finalAttrs.version}";
    hash = "sha256-Q2uarFMWXTWuJ0brw1PNS/vKWUa9gOTpD6Fumn0wMoI=";
  };

  ivyDeps = stdenv.mkDerivation {
@@ -107,7 +104,7 @@ stdenv.mkDerivation (finalAttrs: {
  '';

  meta = {
    changelog = "${finalAttrs.src.url}/doc/CHANGES.txt";
    changelog = "https://sourceforge.net/p/jedit/jEdit/ci/v${finalAttrs.version}/tree/doc/CHANGES.txt";
    description = "Programmer's text editor written in Java";
    homepage = "https://www.jedit.org";
    license = lib.licenses.gpl2Only;