From 5a4977dfd72a21633eb3296f5735c56dd35709ec Mon Sep 17 00:00:00 2001 From: Ben Siraphob Date: Tue, 9 Mar 2021 20:22:07 +0700 Subject: [PATCH] metamath: fix cross-compilation and update license --- pkgs/development/interpreters/metamath/default.nix | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/pkgs/development/interpreters/metamath/default.nix b/pkgs/development/interpreters/metamath/default.nix index a2b94667a6e..d5c021a815f 100644 --- a/pkgs/development/interpreters/metamath/default.nix +++ b/pkgs/development/interpreters/metamath/default.nix @@ -1,12 +1,10 @@ { lib, stdenv, fetchFromGitHub, autoreconfHook }: -let - version = "0.196"; -in stdenv.mkDerivation { +stdenv.mkDerivation rec { pname = "metamath"; - inherit version; + version = "0.196"; - buildInputs = [ autoreconfHook ]; + nativeBuildInputs = [ autoreconfHook ]; src = fetchFromGitHub { owner = "metamath"; @@ -25,7 +23,7 @@ in stdenv.mkDerivation { ''; homepage = "http://us.metamath.org"; downloadPage = "http://us.metamath.org/#downloads"; - license = licenses.gpl2Only; + license = licenses.gpl2Plus; maintainers = [ maintainers.taneb ]; platforms = platforms.all; };