Merge pull request #115533 from siraben/metamath-xcompile

metamath: fix cross-compilation and update license
This commit is contained in:
Sandro 2021-03-09 14:44:52 +01:00 committed by GitHub
commit 9c83271a4c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;
}; };