Merge pull request #166470 from mstarzyk/tab-9.1

tab: 9.0 -> 9.1
This commit is contained in:
Mario Rodas 2022-05-18 18:29:36 -05:00 committed by GitHub
commit ee0079e057
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,24 +1,20 @@
{ lib, stdenv, fetchFromGitHub, python3 }: { lib, stdenv, fetchFromGitHub, python3 }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "9.0"; version = "9.1";
pname = "tab"; pname = "tab";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "ivan-tkatchev"; owner = "ivan-tkatchev";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "sha256-2keVGPRYV2KCeJ+LgAcl74cjW5wvp6Rmy7VNMtdliBE="; sha256 = "sha256-AhgWeV/ojB8jM16A5ggrOD1YjWfRVcoQbkd3S2bgdyE=";
}; };
checkInputs = [ python3 ]; checkInputs = [ python3 ];
doCheck = !stdenv.isDarwin; doCheck = !stdenv.isDarwin;
preCheck = ''
substituteInPlace Makefile --replace "python2 go2.py" "python go.py"
'';
checkTarget = "test"; checkTarget = "test";
installPhase = '' installPhase = ''
@ -32,7 +28,7 @@ stdenv.mkDerivation rec {
meta = with lib; { meta = with lib; {
description = "Programming language/shell calculator"; description = "Programming language/shell calculator";
homepage = "https://tkatchev.bitbucket.io/tab/"; homepage = "http://tab-lang.xyz";
license = licenses.boost; license = licenses.boost;
maintainers = with maintainers; [ mstarzyk ]; maintainers = with maintainers; [ mstarzyk ];
platforms = with platforms; unix; platforms = with platforms; unix;