pict-rs: 0.3.0-alpha.37 -> 0.3.3

This commit is contained in:
asonix 2023-05-08 17:28:00 -05:00 committed by Yt
parent 86bafe1e7f
commit cb2941db79
4 changed files with 3117 additions and 5 deletions

View File

@ -290,6 +290,8 @@ In addition to numerous new and upgraded packages, this release has the followin
- The `zplug` package changes its output path from `$out` to `$out/share/zplug`. Users should update their dependency on `${pkgs.zplug}/init.zsh` to `${pkgs.zplug}/share/zplug/init.zsh`. - The `zplug` package changes its output path from `$out` to `$out/share/zplug`. Users should update their dependency on `${pkgs.zplug}/init.zsh` to `${pkgs.zplug}/share/zplug/init.zsh`.
- The `pict-rs` package was updated from an 0.3 alpha release to 0.3 stable, and related environment variables now require two underscores instead of one.
## Other Notable Changes {#sec-release-23.05-notable-changes} ## Other Notable Changes {#sec-release-23.05-notable-changes}
<!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. --> <!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. -->

View File

@ -34,8 +34,8 @@ in
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
systemd.services.pict-rs = { systemd.services.pict-rs = {
environment = { environment = {
PICTRS_PATH = cfg.dataDir; PICTRS__PATH = cfg.dataDir;
PICTRS_ADDR = "${cfg.address}:${toString cfg.port}"; PICTRS__ADDR = "${cfg.address}:${toString cfg.port}";
}; };
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];
serviceConfig = { serviceConfig = {

3105
pkgs/servers/web-apps/pict-rs/Cargo.lock generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -13,17 +13,22 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "pict-rs"; pname = "pict-rs";
version = "0.3.0-alpha.37"; version = "0.3.3";
src = fetchFromGitea { src = fetchFromGitea {
domain = "git.asonix.dog"; domain = "git.asonix.dog";
owner = "asonix"; owner = "asonix";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-21yfsCicn2bjSNEMMWDG8wvnw10uT3M1L3cXCUhc24c="; sha256 = "mEZBFDR+/aMRFw54Yq+f1gyEz8H+5IggNCpzv3UdDFg=";
}; };
cargoSha256 = "sha256-F/mqdIjF5QOq5Plnq0DyeFP1+b7dCBcoU9iFxzcaZws="; cargoLock = {
lockFile = ./Cargo.lock;
outputHashes = {
"aws-creds-0.29.1" = "bwDFmDPThMLrpaB7cAj/2/vJKhbX6/DqgcIRBVKSZhg=";
};
};
# needed for internal protobuf c wrapper library # needed for internal protobuf c wrapper library
PROTOC = "${protobuf}/bin/protoc"; PROTOC = "${protobuf}/bin/protoc";