robin/cdl

cute fetch client written in zig

git clone https://git.robinwobin.dev/robin/cdl

robinwip: init4a5e316

main
588 B23 linesraw
1{
2  description = "cdl";
3
4  inputs = {
5    nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
6  };
7
8  outputs =
9    { self, nixpkgs }:
10    let
11      lib = nixpkgs.lib;
12      forAllSystems = f: lib.genAttrs lib.systems.flakeExposed (s: f nixpkgs.legacyPackages.${s});
13    in
14    {
15      packages = forAllSystems (pkgs: {
16        default = pkgs.callPackage ./nix/package.nix { };
17      });
18      devShells = forAllSystems (pkgs: {
19        default = pkgs.callPackage ./nix/shell.nix { };
20      });
21      formatter = forAllSystems (pkgs: pkgs.callPackage ./nix/formatter.nix { });
22    };
23}