2024-11-20 18:19:20 -07:00
|
|
|
{ lib
|
|
|
|
, mkTclDerivation
|
|
|
|
, fetchFromGitHub
|
|
|
|
, bwidget
|
|
|
|
, libnotify
|
|
|
|
, tclcurl
|
|
|
|
, tcltls
|
|
|
|
, tk
|
|
|
|
}:
|
2024-11-17 06:45:40 -07:00
|
|
|
|
|
|
|
mkTclDerivation {
|
|
|
|
|
|
|
|
pname = "irken";
|
2024-11-19 14:24:38 -07:00
|
|
|
version = "2024-11-19";
|
2024-11-17 06:45:40 -07:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "dlowe-net";
|
|
|
|
repo = "irken";
|
2024-11-20 18:19:20 -07:00
|
|
|
rev = "2196a9c0d4549d43972fbc56ef38a06b2b569c4f";
|
|
|
|
hash = "sha256-vK7eoJDMh9D/+BJMyGaDAsQSC8ENgu4D9ZNV5d1zLr0=";
|
2024-11-17 06:45:40 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
bwidget
|
2024-11-20 14:40:40 -07:00
|
|
|
libnotify
|
2024-11-20 18:19:20 -07:00
|
|
|
tclcurl
|
|
|
|
tcltls
|
|
|
|
tk
|
2024-11-17 06:45:40 -07:00
|
|
|
];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
|
|
|
mkdir -p $out/bin
|
|
|
|
cp irken.tcl $out/bin/irken
|
|
|
|
runHook postInstall
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/dlowe-net/irken";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ qbit ];
|
|
|
|
};
|
|
|
|
}
|