pkgs/irken: init

This commit is contained in:
Aaron Bieber 2024-11-17 06:45:40 -07:00
parent d8199c9c84
commit 629b870d52
No known key found for this signature in database
3 changed files with 35 additions and 0 deletions

View File

@ -325,6 +325,7 @@
inherit spkgs; inherit spkgs;
isUnstable = true; isUnstable = true;
}; };
irken = upkgs.tclPackages.callPackage ./pkgs/irken.nix { };
ttfs = upkgs.callPackage ./pkgs/ttfs.nix { }; ttfs = upkgs.callPackage ./pkgs/ttfs.nix { };
intiface-engine = upkgs.callPackage ./pkgs/intiface-engine.nix { }; intiface-engine = upkgs.callPackage ./pkgs/intiface-engine.nix { };
flake-warn = flake-warn =

View File

@ -401,6 +401,7 @@ in
(callPackage ../../pkgs/zutty.nix { }) (callPackage ../../pkgs/zutty.nix { })
(python3Packages.callPackage ../../pkgs/watchmap.nix { }) (python3Packages.callPackage ../../pkgs/watchmap.nix { })
(python3Packages.callPackage ../../pkgs/ble-serial.nix { }) (python3Packages.callPackage ../../pkgs/ble-serial.nix { })
(tclPackages.callPackage ../../pkgs/irken.nix { })
restic restic
]; ];

33
pkgs/irken.nix Normal file
View File

@ -0,0 +1,33 @@
{ lib, mkTclDerivation, fetchFromGitHub, tcltls, bwidget, tk }:
mkTclDerivation {
pname = "irken";
version = "2024-11-16";
src = fetchFromGitHub {
owner = "dlowe-net";
repo = "irken";
rev = "659a185de9b6c5a48f46a4535911123c91c7c866";
hash = "sha256-Sti6id6aT9QFug6QkNPHf4LisBCuF4LqLNlNEaIUNI8=";
};
buildInputs = [
tcltls
bwidget
tk
];
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 ];
};
}