pict-rs-aggregator/pict-rs-aggregator.nix
asonix 32aaa1c464
Some checks failed
continuous-integration/drone/push Build is failing
Add flake
2023-03-09 21:51:22 -06:00

28 lines
607 B
Nix

{ lib
, makeWrapper
, nixosTests
, protobuf
, rustPlatform
, stdenv
}:
rustPlatform.buildRustPackage {
pname = "pict-rs-aggregator";
version = "0.2.0-beta.1";
src = ./.;
cargoSha256 = "UHTjI4UAVFP4KnkyWuubiVkFev+/z3PvCvDZVOy+Kxs=";
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 ];
};
}