19 lines
488 B
Nix
19 lines
488 B
Nix
|
{
|
||
|
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 = ./.;
|
||
|
};
|
||
|
}
|