pict-rs-admin/pict-rs-admin.nix

24 lines
483 B
Nix
Raw Normal View History

2023-08-28 21:06:29 +00:00
{ lib
, nixosTests
, rustPlatform
}:
rustPlatform.buildRustPackage {
pname = "pict-rs-admin";
2024-02-02 00:47:32 +00:00
version = "0.2.0";
2023-08-28 21:06:29 +00:00
src = ./.;
cargoLock.lockFile = ./Cargo.lock;
RUSTFLAGS = "--cfg tokio_unstable";
2023-08-28 21:06:29 +00:00
nativeBuildInputs = [ ];
passthru.tests = { inherit (nixosTests) pict-rs-admin; };
meta = with lib; {
description = "A simple image hosting service";
homepage = "https://git.asonix.dog/asonix/pict-rs-admin";
license = with licenses; [ agpl3Plus ];
};
}