project to map out webrings
1{
2 description = "flake for webring_mapper";
3
4 inputs = {
5 nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
6
7 fenix = {
8 url = "github:nix-community/fenix";
9 inputs.nixpkgs.follows = "nixpkgs";
10 };
11 };
12
13 outputs = { self, nixpkgs, fenix }:
14 let
15 system = "x86_64-linux";
16 pkgs = nixpkgs.legacyPackages.${system};
17 fe_pkgs = fenix.packages.${system};
18
19 librarys = with pkgs; [
20 openssl
21 ];
22 in {
23 devShells.${system}.default = pkgs.mkShell {
24 buildInputs = with pkgs; [
25 (fe_pkgs.complete.withComponents [
26 "cargo"
27 "clippy"
28 "rust-src"
29 "rustc"
30 "rustfmt"
31 "rust-analyzer"
32 ])
33 clang
34 pkg-config
35 cargo-tarpaulin
36 ] ++ librarys;
37
38 LD_LIBRARY_PATH = "${pkgs.lib.makeLibraryPath librarys}";
39 };
40 };
41}