pict-rs-aggregator/pict-rs-aggregator.nix

26 lines
558 B
Nix
Raw Normal View History

2023-03-10 03:49:22 +00:00
{ lib
, nixosTests
, protobuf
, rustPlatform
}:
rustPlatform.buildRustPackage {
pname = "pict-rs-aggregator";
2023-07-15 02:39:34 +00:00
version = "0.5.0-alpha.1";
2023-03-10 03:49:22 +00:00
src = ./.;
2023-05-25 18:54:28 +00:00
cargoLock.lockFile = ./Cargo.lock;
2023-03-10 03:49:22 +00:00
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 ];
};
}