37 lines
1.0 KiB
Nix
Raw Permalink 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-06-25 20:16:48 -07:00
url = "github:fudoniten/fudo-nix-helpers";
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.legacyPackages."${system}".mkClojureBin {
2023-03-15 10:02:46 -07:00
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.legacyPackages."${system}";
2023-03-15 10:02:46 -07:00
[ updateClojureDeps ];
};
};
});
}