libqglviewer: clean
Co-authored-by: Niklas Korz <590517+niklaskorz@users.noreply.github.com>
This commit is contained in:
co-authored by
Niklas Korz
parent
9dc66d61ba
commit
4dcb3055bc
@@ -1,12 +1,14 @@
|
||||
{ lib, stdenv, fetchurl, qmake, qtbase, libGLU, AGL }:
|
||||
{ lib, stdenv, fetchFromGitHub, qmake, qtbase, libGLU, AGL }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "libqglviewer";
|
||||
version = "2.9.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.libqglviewer.com/src/libQGLViewer-${version}.tar.gz";
|
||||
sha256 = "sha256-J4+DKgstPvvg1pUhGd+8YFh5C3oPGHaQmDfLZzzkP/M=";
|
||||
src = fetchFromGitHub {
|
||||
owner = "GillesDebunne";
|
||||
repo = "libQGLViewer";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-T8KAcw3cXbp0FZm53OjlQBnUvLRFdoj80dIQzQY0/yw=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ qmake ];
|
||||
@@ -19,10 +21,10 @@ stdenv.mkDerivation rec {
|
||||
cd QGLViewer
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "C++ library based on Qt that eases the creation of OpenGL 3D viewers";
|
||||
homepage = "http://libqglviewer.com";
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.all;
|
||||
homepage = "https://github.com/GillesDebunne/libQGLViewer";
|
||||
license = lib.licenses.gpl2;
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user