commit
ee0079e057
1 changed files with 3 additions and 7 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue