PrimeSieve/flake.nix

19 lines
488 B
Nix
Raw Normal View History

2023-06-21 23:29:19 -04:00
{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
idr2nix = {
url = "git+https://git.sr.ht/~thatonelutenist/idr2nix?ref=trunk";
inputs.nixpkgs.follows = "nixpkgs";
};
};
description = "Prime Sieve";
outputs = { self, nixpkgs, idr2nix }:
idr2nix.idris.single {
packageName = "primesieve";
sources = builtins.fromJSON (builtins.readFile ./primesieve-sources.json);
ipkg = "PrimeSieve.ipkg";
src = ./.;
};
}