Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tclPackages.jimlib: init at 0.15.0 #352558

Open
wants to merge 15 commits into
base: master
Choose a base branch
from
6 changes: 6 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15253,6 +15253,12 @@
githubId = 1771772;
name = "Alexander Ben Nasrallah";
};
neosloth = {
email = "neosloth@sent.com";
github = "theneosloth";
githubId = 1973649;
name = "Stefan Kuznetsov";
};
nequissimus = {
email = "tim@nequissimus.com";
github = "NeQuissimus";
Expand Down
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}";
sha256 = "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 ];
};
}