You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
880 B
Nix

2 years ago
{
description = "A very basic flake";
inputs = {
flake-utils.url = "github:numtide/flake-utils";
jwt-tool = {
url = "github:MaeIsBad/jwt_tool";
flake = false;
};
2 years ago
pycdc = {
url = "github:zrax/pycdc";
flake = false;
};
2 years ago
};
2 years ago
outputs = { self, nixpkgs, flake-utils, jwt-tool, pycdc }:
2 years ago
flake-utils.lib.eachDefaultSystem
(system:
let
2 years ago
nixpkgs = import self.inputs.nixpkgs { system = system; };
2 years ago
in
rec {
packages.jwt-tool = (import ./jwt-tool.nix { inherit nixpkgs jwt-tool; });
apps.jwt-tool = {
type = "app";
program = "${packages.jwt-tool}/bin/jwt_tool";
};
2 years ago
packages.pycdc = (import ./pycdc.nix { inherit nixpkgs pycdc; });
apps.pycdc = {
type = "app";
program = "${packages.pycdc}/bin/pycdc";
};
2 years ago
}
);
}