2024-01-25 16:20:40 -06:00
|
|
|
{
|
2024-02-08 12:57:24 -06:00
|
|
|
description = "hyprman";
|
2024-01-25 16:20:40 -06:00
|
|
|
inputs = {
|
|
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
|
|
|
|
};
|
|
|
|
|
|
|
|
outputs = inputs @ {
|
|
|
|
self,
|
|
|
|
nixpkgs,
|
|
|
|
}: let
|
|
|
|
inherit (nixpkgs.lib) genAttrs;
|
|
|
|
supportedSystems = ["x86_64-linux" "x86_64-darwin" "aarch64-linux" "aarch64-darwin"];
|
|
|
|
forAllSystems = f: genAttrs supportedSystems (system: f nixpkgs.legacyPackages.${system});
|
|
|
|
in {
|
2024-01-26 00:07:01 -06:00
|
|
|
devShells = forAllSystems (pkgs: {
|
2024-01-25 16:20:40 -06:00
|
|
|
default = pkgs.mkShell {
|
|
|
|
buildInputs = with pkgs; [
|
|
|
|
nim
|
|
|
|
nimble
|
|
|
|
];
|
|
|
|
};
|
2024-01-26 00:07:01 -06:00
|
|
|
});
|
|
|
|
packages = forAllSystems (
|
|
|
|
pkgs: {
|
|
|
|
hyprman = pkgs.buildNimPackage {
|
|
|
|
pname = "hyprman";
|
|
|
|
version = "2023.1001";
|
|
|
|
src = ./.;
|
|
|
|
};
|
|
|
|
default = self.packages.${pkgs.system}.hyprman;
|
2024-01-25 16:20:40 -06:00
|
|
|
}
|
2024-01-26 00:07:01 -06:00
|
|
|
);
|
2024-01-25 16:20:40 -06:00
|
|
|
};
|
|
|
|
}
|