printer on atproto
1{
2 inputs.parts.url = "github:hercules-ci/flake-parts";
3 inputs.nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
4 inputs.nci.url = "github:90-008/nix-cargo-integration";
5
6 outputs =
7 inp:
8 inp.parts.lib.mkFlake { inputs = inp; } {
9 systems = [ "x86_64-linux" ];
10 imports = [inp.nci.flakeModule];
11 perSystem =
12 {
13 pkgs,
14 config,
15 ...
16 }:
17 let
18 proj = "atspool";
19 in
20 {
21 nci.projects.${proj} = {path = ./.; export = false;};
22 packages.default = pkgs.callPackage ./default.nix {};
23 devShells.default = config.nci.outputs.${proj}.devShell.overrideAttrs (old: {
24 packages = (old.packages or []) ++ (with pkgs; [
25 cargo-outdated
26 clang
27 wild
28 udev
29 pkg-config
30 ]);
31 });
32 };
33 };
34}