Skip to content

Commit

Permalink
jimlib: init at 0.16.0
Browse files Browse the repository at this point in the history
  • Loading branch information
theneosloth committed Nov 1, 2024
1 parent fac65d8 commit b1afb46
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions pkgs/development/tcl-modules/by-name/ji/jimlib/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
lib,
fetchFromGitLab,
mkTclDerivation,
}:

mkTclDerivation rec {
pname = "jimlib";
version = "0.16.0";

src = fetchFromGitLab {
owner = "dbohdan";
repo = "jimlib";
rev = "v${version}";
hash = "sha256-a7Su/JByGLgnYBCRbP9z9CunTIYTwAisWuQafZWYgYo=";
};

dontBuild = true;
doCheck = true;

checkPhase = ''
runHook preCheck
tclsh ./jimlib.tcl
runHook postCheck
'';

installPhase = ''
runHook preInstall
install -Dm644 jimlib.tcl $out/lib/jimlib/jimlib.tcl
install -Dm644 pkgIndex.tcl $out/lib/jimlib/pkgIndex.tcl
runHook postInstall
'';

meta = {
homepage = "https://gitlab.com/dbohdan/jimlib/";
description = "Personal standard library for Jim Tcl";
license = [
lib.licenses.mit
lib.licenses.tcltk
lib.licenses.bsd3
];
platforms = lib.platforms.all;
maintainers = with lib.maintainers; [ neosloth ];
};
}

0 comments on commit b1afb46

Please sign in to comment.