Removed old perl from flake. cleaned up library just a little bit. added some message parsing
This commit is contained in:
parent
4e2aeffa8b
commit
b3b19df77c
4 changed files with 84 additions and 91 deletions
25
flake.nix
25
flake.nix
|
@ -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]))
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue