kdev-php: switch to fetchFromGitHub

This commit is contained in:
Felix Buehler 2021-12-13 15:38:12 +01:00
parent f970c56d2a
commit a4a96c50bd

View File

@ -1,12 +1,14 @@
{ stdenv, lib, fetchurl, cmake, extra-cmake-modules, threadweaver, ktexteditor, kdevelop-unwrapped, kdevelop-pg-qt }:
{ stdenv, lib, fetchFromGitHub, cmake, extra-cmake-modules, threadweaver, ktexteditor, kdevelop-unwrapped, kdevelop-pg-qt }:
stdenv.mkDerivation rec {
pname = "kdev-php";
version = "5.6.2";
src = fetchurl {
url = "https://github.com/KDE/${pname}/archive/v${version}.tar.gz";
sha256 = "sha256-P7u/KIf/1YkJ2uWsuVThILP87vaYSbHpx5CtnSR3YbU=";
src = fetchFromGitHub {
owner = "KDE";
repo = "kdev-php";
rev = "v${version}";
sha256 = "sha256-hEumH7M6yAuH+jPShOmbKjHmuPRg2djaVy9Xt28eK38=";
};
nativeBuildInputs = [ cmake extra-cmake-modules ];