1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-06 04:23:14 +00:00

kdiagram: 2.6.0 -> 2.7.0

Use fetchFromGitLab as it seems to be unavailable in the previous url.
This commit is contained in:
Doron Behar 2020-10-30 21:03:39 +02:00
parent 09fd4270d7
commit 35078d9918

View file

@ -1,14 +1,18 @@
{
mkDerivation, fetchurl, lib,
mkDerivation, fetchFromGitLab, lib,
extra-cmake-modules, qttools,
qtbase, qtsvg,
}:
mkDerivation {
name = "kdiagram-2.6.0";
src = fetchurl {
url = "https://download.kde.org/stable/kdiagram/2.6.0/src/kdiagram-2.6.0.tar.xz";
sha256 = "10hqk12wwgbiq4q5145s8v7v96j621ckq1yil9s4pihmgsnqsy02";
mkDerivation rec {
pname = "kdiagram";
version = "2.7.0";
src = fetchFromGitLab {
domain = "invent.kde.org";
owner = "graphics";
repo = pname;
rev = "v${version}";
sha256 = "NSBNHPr8JzBn3y3ivhL0RjiXjDuPwZsTTOeI22pq3vc=";
};
nativeBuildInputs = [ extra-cmake-modules qttools ];
propagatedBuildInputs = [ qtbase qtsvg ];