Add Nix flake for the project (#232)

* Add Nix flake for the project

* Add `codec2` library for M17 encoding support
This commit is contained in:
ChronosXYZ
2024-03-24 05:13:12 +03:00
committed by GitHub
parent f36df3ea09
commit f05ddf8fcd
4 changed files with 130 additions and 1 deletions

18
flake.nix Normal file
View File

@@ -0,0 +1,18 @@
{
description = "Digital Speech Decoder - Florida Man Edition ";
inputs = {
flake-parts.url = "github:hercules-ci/flake-parts";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
};
outputs = inputs@{ flake-parts, ... }:
flake-parts.lib.mkFlake { inherit inputs; } {
systems = [ "x86_64-linux" "aarch64-linux" "aarch64-darwin" "x86_64-darwin" ];
perSystem = { config, pkgs, ... }: {
packages.default = config.packages.dsd-fme;
packages.dsd-fme = pkgs.callPackage ./package.nix { };
};
};
}