mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 14:13:35 +00:00
35078d9918
Use fetchFromGitLab as it seems to be unavailable in the previous url.
26 lines
643 B
Nix
26 lines
643 B
Nix
{
|
|
mkDerivation, fetchFromGitLab, lib,
|
|
extra-cmake-modules, qttools,
|
|
qtbase, qtsvg,
|
|
}:
|
|
|
|
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 ];
|
|
meta = {
|
|
description = "Libraries for creating business diagrams";
|
|
license = lib.licenses.gpl2;
|
|
platforms = qtbase.meta.platforms;
|
|
maintainers = [ lib.maintainers.ttuegel ];
|
|
};
|
|
}
|