polygon-art/flake.nix
2021-09-28 22:50:51 +02:00

15 lines
518 B
Nix

{
description = "Framework with examples to generate plotter friendly SVGs";
inputs.flake-utils.url = "github:numtide/flake-utils";
outputs = { self, nixpkgs, flake-utils , ... }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = nixpkgs.legacyPackages.${system};
polygon-art = (pkgs.callPackage ./default.nix {});
in {
packages.polygon-art = polygon-art;
defaultPackage = polygon-art;
devShell = import ./shell.nix { inherit pkgs; };
}
);
}