metamath: fix cross-compilation and update license

This commit is contained in:
Ben Siraphob 2021-03-09 20:22:07 +07:00
parent 0e97a17319
commit 5a4977dfd7

View File

@ -1,12 +1,10 @@
{ lib, stdenv, fetchFromGitHub, autoreconfHook }: { lib, stdenv, fetchFromGitHub, autoreconfHook }:
let stdenv.mkDerivation rec {
version = "0.196";
in stdenv.mkDerivation {
pname = "metamath"; pname = "metamath";
inherit version; version = "0.196";
buildInputs = [ autoreconfHook ]; nativeBuildInputs = [ autoreconfHook ];
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "metamath"; owner = "metamath";
@ -25,7 +23,7 @@ in stdenv.mkDerivation {
''; '';
homepage = "http://us.metamath.org"; homepage = "http://us.metamath.org";
downloadPage = "http://us.metamath.org/#downloads"; downloadPage = "http://us.metamath.org/#downloads";
license = licenses.gpl2Only; license = licenses.gpl2Plus;
maintainers = [ maintainers.taneb ]; maintainers = [ maintainers.taneb ];
platforms = platforms.all; platforms = platforms.all;
}; };