objectifier-client/flake.nix

37 lines
1.0 KiB
Nix
Raw Normal View History

2023-03-15 10:02:46 -07:00
{
description = "Objectifier Client";
inputs = {
2024-03-23 21:31:48 -07:00
nixpkgs.url = "nixpkgs/nixos-23.11";
2023-03-15 10:02:46 -07:00
helpers = {
2024-03-23 21:31:48 -07:00
url = "git+https://fudo.dev/public/nix-helpers.git";
2023-03-15 10:02:46 -07:00
inputs.nixpkgs.follows = "nixpkgs";
};
utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, helpers, utils, ... }:
utils.lib.eachDefaultSystem (system: {
packages = rec {
default = objectifier-client;
objectifier-client = helpers.packages."${system}".mkClojureBin {
name = "org.fudo/objectifier-client";
2023-03-15 11:10:56 -07:00
primaryNamespace = "objectifier-client.cli";
2023-03-15 10:02:46 -07:00
src = ./.;
};
};
devShells = let pkgs = import nixpkgs { inherit system; };
in rec {
2023-03-15 11:10:56 -07:00
default = objectifier-client;
2023-03-15 10:02:46 -07:00
objectifier-client = pkgs.mkShell {
buildInputs = [ self.packages."${system}".objectifier-client ];
};
update-deps = pkgs.mkShell {
buildInputs = with helpers.packages."${system}";
[ updateClojureDeps ];
};
};
});
}