Init repo

This commit is contained in:
2024-11-29 20:51:17 +01:00
commit 3f0b99c5df
6 changed files with 1728 additions and 0 deletions

37
flake.nix Normal file
View File

@@ -0,0 +1,37 @@
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
};
outputs = { self, nixpkgs, ... }: {
packages.x86_64-linux = let
pkgs = import nixpkgs {
system = "x86_64-linux";
};
in {
rainbowrss = pkgs.rustPlatform.buildRustPackage rec {
pname = "rainbowrss";
version = "0.1.0";
src = ./.;
nativeBuildInputs = [
pkgs.pkg-config
];
buildInputs = [
pkgs.openssl
];
cargoLock.lockFile = ./Cargo.lock;
};
default = self.packages.x86_64-linux.rainbowrss;
};
hydraJobs = {
inherit (self)
packages;
};
};
}