Merge pull request #161885 from samuelgrf/kdevelop-plugings-use-kde-mirror

kdev-{php,python}: download from KDE mirrors
This commit is contained in:
Aaron Andersen 2022-02-25 18:03:44 -05:00 committed by GitHub
commit 549f836e3c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 12 deletions

View file

@ -1,14 +1,12 @@
{ stdenv, lib, fetchFromGitHub, cmake, extra-cmake-modules, threadweaver, ktexteditor, kdevelop-unwrapped, kdevelop-pg-qt }:
{ stdenv, lib, fetchurl, cmake, extra-cmake-modules, threadweaver, ktexteditor, kdevelop-unwrapped, kdevelop-pg-qt }:
stdenv.mkDerivation rec {
pname = "kdev-php";
version = "5.6.2";
src = fetchFromGitHub {
owner = "KDE";
repo = "kdev-php";
rev = "v${version}";
sha256 = "sha256-hEumH7M6yAuH+jPShOmbKjHmuPRg2djaVy9Xt28eK38=";
src = fetchurl {
url = "mirror://kde/stable/kdevelop/${version}/src/${pname}-${version}.tar.xz";
hash = "sha256-8Qg9rsK4x1LeGgRB0Pn3InSx4tKccjAF7Xjc+Lpxfgw=";
};
nativeBuildInputs = [ cmake extra-cmake-modules ];

View file

@ -1,14 +1,12 @@
{ stdenv, lib, fetchFromGitHub, cmake, extra-cmake-modules, threadweaver, ktexteditor, kdevelop-unwrapped, python }:
{ stdenv, lib, fetchurl, cmake, extra-cmake-modules, threadweaver, ktexteditor, kdevelop-unwrapped, python }:
stdenv.mkDerivation rec {
pname = "kdev-python";
version = "5.6.2";
src = fetchFromGitHub {
owner = "KDE";
repo = "kdev-python";
rev = "v${version}";
sha256 = "sha256-xYElqpJjRtBRIyZGf6JaCvurQ+QrGrdLHxtuANYfCds=";
src = fetchurl {
url = "mirror://kde/stable/kdevelop/${version}/src/${pname}-${version}.tar.xz";
hash = "sha256-IPm3cblhJi3tmGpPMrjSWa2fe8SLsp6sCl1YU74dkX8=";
};
cmakeFlags = [