kdev-python: switch to fetchFromGitHub

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

View file

@ -1,12 +1,14 @@
{ stdenv, lib, fetchurl, cmake, extra-cmake-modules, threadweaver, ktexteditor, kdevelop-unwrapped, python }: { stdenv, lib, fetchFromGitHub, cmake, extra-cmake-modules, threadweaver, ktexteditor, kdevelop-unwrapped, python }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "kdev-python"; pname = "kdev-python";
version = "5.6.2"; version = "5.6.2";
src = fetchurl { src = fetchFromGitHub {
url = "https://github.com/KDE/${pname}/archive/v${version}.tar.gz"; owner = "KDE";
sha256 = "sha256-Iw3puQ3ZS0eNfBvaZ4cxsP49IRqIMX3R+r3OPG771RI="; repo = "kdev-python";
rev = "v${version}";
sha256 = "sha256-xYElqpJjRtBRIyZGf6JaCvurQ+QrGrdLHxtuANYfCds=";
}; };
cmakeFlags = [ cmakeFlags = [