Skip to content

Commit

Permalink
kdev-{php,python}: download from KDE mirrors
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelgrf committed Feb 25, 2022
1 parent 95fa0d6 commit 551e4c5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 12 deletions.
10 changes: 4 additions & 6 deletions pkgs/applications/editors/kdevelop5/kdev-php.nix
Original file line number Diff line number Diff line change
@@ -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:https://kde/stable/kdevelop/${version}/src/${pname}-${version}.tar.xz";
hash = "sha256-8Qg9rsK4x1LeGgRB0Pn3InSx4tKccjAF7Xjc+Lpxfgw=";
};

nativeBuildInputs = [ cmake extra-cmake-modules ];
Expand Down
10 changes: 4 additions & 6 deletions pkgs/applications/editors/kdevelop5/kdev-python.nix
Original file line number Diff line number Diff line change
@@ -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:https://kde/stable/kdevelop/${version}/src/${pname}-${version}.tar.xz";
hash = "sha256-IPm3cblhJi3tmGpPMrjSWa2fe8SLsp6sCl1YU74dkX8=";
};

cmakeFlags = [
Expand Down

0 comments on commit 551e4c5

Please sign in to comment.