xin/pkgs/irken.nix

35 lines
691 B
Nix
Raw Normal View History

{ lib, mkTclDerivation, fetchFromGitHub, tcltls, bwidget, tk, libnotify }:
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-19 14:24:38 -07:00
rev = "66bfa30b6933f5347bb301b8e5ea63eef5d446a6";
hash = "sha256-rPpmcaAeEVFhT2EERYXsXVsj+w//bBX+gJHRSa3mph0=";
2024-11-17 06:45:40 -07:00
};
buildInputs = [
tcltls
bwidget
tk
libnotify
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 ];
};
}