-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathflake.nix
More file actions
25 lines (25 loc) · 747 Bytes
/
flake.nix
File metadata and controls
25 lines (25 loc) · 747 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs";
flake-parts.url = "github:hercules-ci/flake-parts";
};
outputs = { nixpkgs, flake-parts, ... }@inputs: flake-parts.lib.mkFlake { inherit inputs; } {
systems = nixpkgs.lib.platforms.unix;
perSystem = { pkgs, lib, ... }: {
packages.default = pkgs.buildGoModule {
name = "pabc-flowchart";
src = ./.;
vendorHash = null;
meta = with lib; {
description = "Simple PascalABC.NET -> Mermaid.js script";
homepage = "https://github.com/ProggerX/pabc-flowchart";
license = licenses.gpl3Only;
mainProgram = "pabc-parse";
};
};
devShells.default = pkgs.mkShell {
packages = [ pkgs.go ];
};
};
};
}