Loading pkgs/development/libraries/libqglviewer/default.nix +12 −10 Original line number Diff line number Diff line { 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 ]; Loading @@ -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; }; } }) Loading
pkgs/development/libraries/libqglviewer/default.nix +12 −10 Original line number Diff line number Diff line { 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 ]; Loading @@ -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; }; } })