gravit: update homepage and source URLs

and use SPDX 3.0 license identifier
This commit is contained in:
Renaud 2022-02-06 13:14:34 +01:00 committed by c0bw3b
parent 77bd063257
commit d968838c90

View file

@ -1,12 +1,14 @@
{ lib, stdenv, fetchurl, SDL, SDL_ttf, SDL_image, libSM, libICE, libGLU, libGL, libpng, lua5, autoconf, automake }:
{ lib, stdenv, fetchFromGitHub, SDL, SDL_ttf, SDL_image, libSM, libICE, libGLU, libGL, libpng, lua5, autoconf, automake }:
stdenv.mkDerivation rec {
pname = "gravit";
version = "0.5.1";
src = fetchurl {
url = "https://gravit.slowchop.com/media/downloads/gravit-${version}.tgz";
sha256 = "14vf7zj2bgrl96wsl3f1knsggc8h9624354ajzd72l46y09x5ky7";
src = fetchFromGitHub {
owner = "gak";
repo = pname;
rev = version;
hash = "sha256-JuqnLLD5+Ec8kQI0SK98V1O6TTbGM6+yKn5KCHe85eM=";
};
buildInputs = [ libGLU libGL SDL SDL_ttf SDL_image lua5 libpng libSM libICE ];
@ -23,9 +25,9 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
meta = {
homepage = "https://gravit.slowchop.com";
homepage = "https://github.com/gak/gravit";
description = "Beautiful OpenGL-based gravity simulator";
license = lib.licenses.gpl2;
license = lib.licenses.gpl2Plus;
longDescription = ''
Gravit is a gravity simulator which runs under Linux, Windows and