xin/pkgs/irken.nix

44 lines
719 B
Nix
Raw Normal View History

{ 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";
rev = "2196a9c0d4549d43972fbc56ef38a06b2b569c4f";
hash = "sha256-vK7eoJDMh9D/+BJMyGaDAsQSC8ENgu4D9ZNV5d1zLr0=";
2024-11-17 06:45:40 -07:00
};
buildInputs = [
bwidget
libnotify
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 ];
};
}