mirror of
https://git.asonix.dog/asonix/pict-rs.git
synced 2024-11-28 04:21:12 +00:00
4a7a51d147
Remove default security policy, since it is overridden anyway Update default value for max_area Inherit animation frame count configuration for list-length Add release document
53 lines
1.2 KiB
Nix
53 lines
1.2 KiB
Nix
{
|
|
description = "pict-rs";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
flake-utils.url = "github:numtide/flake-utils";
|
|
};
|
|
|
|
outputs = { self, nixpkgs, flake-utils }:
|
|
flake-utils.lib.eachDefaultSystem (system:
|
|
let
|
|
pkgs = import nixpkgs {
|
|
inherit system;
|
|
};
|
|
in
|
|
{
|
|
packages = rec {
|
|
pict-rs = pkgs.callPackage ./pict-rs.nix {
|
|
inherit (pkgs.darwin.apple_sdk.frameworks) Security;
|
|
};
|
|
|
|
default = pict-rs;
|
|
};
|
|
|
|
apps = rec {
|
|
dev = flake-utils.lib.mkApp { drv = self.packages.${system}.pict-rs; };
|
|
default = dev;
|
|
};
|
|
|
|
devShell = with pkgs; mkShell {
|
|
nativeBuildInputs = [
|
|
cargo
|
|
cargo-outdated
|
|
certstrap
|
|
clippy
|
|
diesel-cli
|
|
exiftool
|
|
ffmpeg_6-full
|
|
garage
|
|
imagemagick
|
|
minio-client
|
|
rust-analyzer
|
|
rustc
|
|
rustfmt
|
|
stdenv.cc
|
|
taplo
|
|
tokio-console
|
|
];
|
|
|
|
RUST_SRC_PATH = "${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}";
|
|
};
|
|
});
|
|
}
|