nixpkgs/pkgs/by-name/gr/gr-framework/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

69 lines
1 KiB
Nix
Raw Normal View History

2024-06-19 20:00:15 +02:00
{
lib,
stdenv,
fetchFromGitHub,
2023-09-19 10:39:50 +02:00
2024-06-19 20:00:15 +02:00
cmake,
2024-07-22 20:18:14 +02:00
ninja,
qt6,
2023-12-01 14:55:43 +01:00
2024-06-19 20:00:15 +02:00
cairo,
ffmpeg,
ghostscript,
glfw,
libtiff,
qhull,
2024-07-22 20:18:14 +02:00
xercesc,
2024-06-19 20:00:15 +02:00
xorg,
zeromq,
2024-07-22 20:18:14 +02:00
nix-update-script,
2023-06-18 21:49:58 +02:00
}:
stdenv.mkDerivation rec {
pname = "gr-framework";
2024-07-22 20:18:14 +02:00
version = "0.73.7";
2023-06-18 21:49:58 +02:00
src = fetchFromGitHub {
owner = "sciapp";
repo = "gr";
rev = "v${version}";
2024-07-22 20:18:14 +02:00
hash = "sha256-Xd1x6RUlre/5oxq0wiVKkIAuGKgtoNY/5aa7dvmn71U=";
2023-06-18 21:49:58 +02:00
};
nativeBuildInputs = [
cmake
2024-07-22 20:18:14 +02:00
ninja
qt6.wrapQtAppsHook
2023-06-18 21:49:58 +02:00
];
buildInputs = [
cairo
ffmpeg
ghostscript
glfw
libtiff
qhull
2024-07-22 20:18:14 +02:00
qt6.qtbase
xercesc
2023-06-18 21:49:58 +02:00
xorg.libX11
xorg.libXft
xorg.libXt
zeromq
];
preConfigure = ''
echo ${version} > version.txt
'';
passthru.updateScript = nix-update-script { };
2023-12-01 14:55:43 +01:00
meta = with lib; {
2023-06-18 21:49:58 +02:00
description = "GR framework is a graphics library for visualisation applications";
homepage = "https://gr-framework.org";
2023-12-01 14:55:43 +01:00
license = licenses.mit;
maintainers = with maintainers; [ paveloom ];
2024-06-19 20:00:15 +02:00
platforms = platforms.unix;
2023-06-18 21:49:58 +02:00
};
}