pict-rs-proxy/pict-rs-proxy.nix

26 lines
543 B
Nix
Raw Normal View History

2023-03-10 03:30:31 +00:00
{ lib
, nixosTests
, protobuf
, rustPlatform
}:
rustPlatform.buildRustPackage {
pname = "pict-rs-proxy";
2023-07-15 02:39:22 +00:00
version = "0.5.0-alpha.1";
2023-03-10 03:30:31 +00:00
src = ./.;
2023-05-25 18:41:40 +00:00
cargoLock.lockFile = ./Cargo.lock;
2023-03-10 03:30:31 +00:00
PROTOC = "${protobuf}/bin/protoc";
PROTOC_INCLUDE = "${protobuf}/include";
nativeBuildInputs = [ ];
passthru.tests = { inherit (nixosTests) pict-rs-proxy; };
meta = with lib; {
description = "A simple image hosting service";
homepage = "https://git.asonix.dog/asonix/pict-rs-proxy";
license = with licenses; [ agpl3Plus ];
};
}