2022-08-06 16:12:42 +00:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, wrapQtAppsHook
|
2023-02-05 08:25:59 +00:00
|
|
|
, qtbase
|
2022-08-06 16:12:42 +00:00
|
|
|
, cmake
|
|
|
|
, python3
|
|
|
|
, harfbuzz
|
|
|
|
, freetype
|
|
|
|
, libGLU
|
|
|
|
, git
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "vgc";
|
2024-08-24 04:55:40 +00:00
|
|
|
version = "unstable-2024-08-16";
|
2022-08-06 16:12:42 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "vgc";
|
|
|
|
repo = "vgc";
|
2024-08-24 04:55:40 +00:00
|
|
|
rev = "f9814daf5b7d411feeca0a1d994b344243402989";
|
|
|
|
sha256 = "sha256-86Ze8+aKMn0EU+RjcyUuDCCaEleh48gzyU9ZuYxpSdM=";
|
2022-08-06 16:12:42 +00:00
|
|
|
fetchSubmodules = true;
|
|
|
|
};
|
|
|
|
|
2023-02-05 08:25:59 +00:00
|
|
|
patches = [
|
|
|
|
./patches/set-reproducible-build.patch
|
|
|
|
];
|
2022-08-06 16:12:42 +00:00
|
|
|
|
2023-02-05 08:25:59 +00:00
|
|
|
nativeBuildInputs = [ wrapQtAppsHook cmake ];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
python3
|
|
|
|
git
|
|
|
|
freetype
|
|
|
|
harfbuzz
|
|
|
|
libGLU
|
|
|
|
qtbase
|
|
|
|
];
|
2022-08-06 16:12:42 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://www.vgc.io/";
|
|
|
|
description =
|
|
|
|
"Upcoming suite of vector-drawing applications that makes use of Vector Graphics Complex (VGC)";
|
|
|
|
license = licenses.asl20;
|
2024-08-24 04:55:40 +00:00
|
|
|
maintainers = with maintainers; [ foo-dogsquared ];
|
2022-08-06 16:12:42 +00:00
|
|
|
};
|
|
|
|
}
|