pict-rs-proxy/pict-rs-proxy.nix
asonix 09493c7f91
All checks were successful
continuous-integration/drone/push Build is passing
Add flake
2023-03-09 21:30:31 -06:00

28 lines
592 B
Nix

{ lib
, makeWrapper
, nixosTests
, protobuf
, rustPlatform
, stdenv
}:
rustPlatform.buildRustPackage {
pname = "pict-rs-proxy";
version = "0.4.0-beta.1";
src = ./.;
cargoSha256 = "SKj8drv60RcdpWNGaU+nSiFlTAU+WT+byg5EtN7Efk8=";
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 ];
};
}