kdev-python: switch to fetchFromGitHub
This commit is contained in:
parent
a4a96c50bd
commit
32e5eb59fa
1 changed files with 6 additions and 4 deletions
|
@ -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 = [
|
||||||
|
|
Loading…
Reference in a new issue