From 462484d4a7eefdbf6da4b35e2000518ec5b59731 Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Fri, 24 Mar 2023 15:07:56 +0200 Subject: [PATCH] gnustep.projectcenter: 0.6.2 -> 0.7.0 --- pkgs/desktops/gnustep/projectcenter/default.nix | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/pkgs/desktops/gnustep/projectcenter/default.nix b/pkgs/desktops/gnustep/projectcenter/default.nix index afe47c6cef70..b535365b25d9 100644 --- a/pkgs/desktops/gnustep/projectcenter/default.nix +++ b/pkgs/desktops/gnustep/projectcenter/default.nix @@ -1,15 +1,19 @@ -{ fetchurl +{ lib, fetchFromGitHub , base, back, gsmakeDerivation, gui, gorm , gnumake, gdb }: let - version = "0.6.2"; + version = "0.7.0"; in gsmakeDerivation { - name = "projectcenter-${version}"; - src = fetchurl { - url = "ftp://ftp.gnustep.org/pub/gnustep/dev-apps/ProjectCenter-${version}.tar.gz"; - sha256 = "0wwlbpqf541apw192jb633d634zkpjhcrrkd1j80y9hihphll465"; + pname = "projectcenter"; + inherit version; + + src = fetchFromGitHub { + owner = "gnustep"; + repo = "apps-projectcenter"; + rev = "projectcenter-${lib.replaceStrings [ "." ] [ "_" ] version}"; + hash = "sha256-uXT2UUvMZNc6Fqi2BUXQimbZk8b3IqXzB+A2btBOmms="; }; # NOTE: need a patch for ProjectCenter to help it locate some necessary tools: