mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-24 05:00:19 +00:00
gr-framework: init at 0.72.9
This commit is contained in:
parent
e935fd4632
commit
62f5b9eeec
65
pkgs/development/libraries/gr-framework/default.nix
Normal file
65
pkgs/development/libraries/gr-framework/default.nix
Normal file
@ -0,0 +1,65 @@
|
|||||||
|
{ cairo
|
||||||
|
, cmake
|
||||||
|
, fetchFromGitHub
|
||||||
|
, ffmpeg
|
||||||
|
, freetype
|
||||||
|
, ghostscript
|
||||||
|
, glfw
|
||||||
|
, lib
|
||||||
|
, libjpeg
|
||||||
|
, libtiff
|
||||||
|
, nix-update-script
|
||||||
|
, qhull
|
||||||
|
, qtbase
|
||||||
|
, stdenv
|
||||||
|
, wrapQtAppsHook
|
||||||
|
, xorg
|
||||||
|
, zeromq
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "gr-framework";
|
||||||
|
version = "0.72.9";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "sciapp";
|
||||||
|
repo = "gr";
|
||||||
|
rev = "v${version}";
|
||||||
|
hash = "sha256-4rOcrMn0sxTeRQqiQMAWULzUV39i6J96Mb096Lyblns=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
cmake
|
||||||
|
wrapQtAppsHook
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
cairo
|
||||||
|
ffmpeg
|
||||||
|
freetype
|
||||||
|
ghostscript
|
||||||
|
glfw
|
||||||
|
libjpeg
|
||||||
|
libtiff
|
||||||
|
qhull
|
||||||
|
qtbase
|
||||||
|
xorg.libX11
|
||||||
|
xorg.libXft
|
||||||
|
xorg.libXt
|
||||||
|
zeromq
|
||||||
|
];
|
||||||
|
|
||||||
|
preConfigure = ''
|
||||||
|
echo ${version} > version.txt
|
||||||
|
'';
|
||||||
|
|
||||||
|
passthru.updateScript = nix-update-script { };
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "GR framework is a graphics library for visualisation applications";
|
||||||
|
homepage = "https://gr-framework.org";
|
||||||
|
maintainers = [ lib.maintainers.paveloom ];
|
||||||
|
license = lib.licenses.mit;
|
||||||
|
platforms = lib.platforms.unix;
|
||||||
|
};
|
||||||
|
}
|
@ -21090,6 +21090,10 @@ with pkgs;
|
|||||||
|
|
||||||
ghcid = haskellPackages.ghcid.bin;
|
ghcid = haskellPackages.ghcid.bin;
|
||||||
|
|
||||||
|
gr-framework = libsForQt5.callPackage ../development/libraries/gr-framework {
|
||||||
|
stdenv = if stdenv.isDarwin then darwin.apple_sdk_11_0.stdenv else stdenv;
|
||||||
|
};
|
||||||
|
|
||||||
graphia = libsForQt5.callPackage ../applications/science/misc/graphia { };
|
graphia = libsForQt5.callPackage ../applications/science/misc/graphia { };
|
||||||
|
|
||||||
graphinder = callPackage ../tools/security/graphinder { };
|
graphinder = callPackage ../tools/security/graphinder { };
|
||||||
|
Loading…
Reference in New Issue
Block a user