Homebrew RSS reader server
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at main 38 lines 1.1 kB view raw
1{ 2 description = "Slurp - Headless RSS aggregator"; 3 4 inputs = { 5 nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable"; 6 flake-utils.url = "github:numtide/flake-utils"; 7 }; 8 9 outputs = { self, nixpkgs, flake-utils }: 10 flake-utils.lib.eachDefaultSystem (system: 11 let pkgs = nixpkgs.legacyPackages.${system}; 12 in { 13 packages.default = pkgs.rustPlatform.buildRustPackage { 14 pname = "slurp"; 15 version = "0.3.0"; 16 src = ./.; 17 18 cargoLock.lockFile = ./Cargo.lock; 19 20 nativeBuildInputs = with pkgs; [ pkg-config ]; 21 buildInputs = with pkgs; [ openssl sqlite ]; 22 23 meta = with pkgs.lib; { 24 description = "Headless RSS aggregator with Miniflux API"; 25 mainProgram = "slurp"; 26 }; 27 }; 28 29 devShells.default = pkgs.mkShell { 30 buildInputs = with pkgs; [ 31 rustc cargo rust-analyzer rustfmt clippy 32 pkg-config openssl sqlite 33 ]; 34 DATABASE_URL = "sqlite:slurp.db"; 35 }; 36 } 37 ); 38}