Removed old perl from flake. cleaned up library just a little bit. added some message parsing

This commit is contained in:
Jurn Wubben 2025-08-19 00:48:18 +02:00
parent 4e2aeffa8b
commit b3b19df77c
4 changed files with 84 additions and 91 deletions

View file

@ -9,35 +9,12 @@
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in {
packages.${system}.default = let
pP = pkgs.perlPackages;
in
pkgs.perlPackages.buildPerlPackage rec {
pname = "SignControl";
version = "0.1";
src = ./.;
propagatedBuildInputs = [pP.DigestCRC pP.ModuleBuild];
nativeBuildInputs = [pkgs.shortenPerlShebang];
postInstall = ''
shortenPerlShebang $out/bin/signcontrol
'';
};
devShells.${system}.default =
pkgs.mkShell
{
nativeBuildInputs = [
(pkgs.perl.withPackages
(x: [
x.DigestCRC
x.ModuleBuild
]))
pkgs.entr
(pkgs.python3.withPackages (x: [x.crc]))
(pkgs.python3.withPackages (x: [x.crc x.fastapi]))
];
};
};