pict-rs-aggregator/pict-rs-aggregator.nix
asonix 425569fc5e
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
Bump versions
2023-07-14 21:39:34 -05:00

26 lines
558 B
Nix

{ lib
, nixosTests
, protobuf
, rustPlatform
}:
rustPlatform.buildRustPackage {
pname = "pict-rs-aggregator";
version = "0.5.0-alpha.1";
src = ./.;
cargoLock.lockFile = ./Cargo.lock;
PROTOC = "${protobuf}/bin/protoc";
PROTOC_INCLUDE = "${protobuf}/include";
nativeBuildInputs = [ ];
passthru.tests = { inherit (nixosTests) pict-rs-aggregator; };
meta = with lib; {
description = "A simple image hosting service";
homepage = "https://git.asonix.dog/asonix/pict-rs-aggregator";
license = with licenses; [ agpl3Plus ];
};
}