2
0
Fork 0
mirror of https://git.asonix.dog/asonix/pict-rs synced 2024-12-22 11:21:24 +00:00
pict-rs/flake.nix

54 lines
1.2 KiB
Nix
Raw Normal View History

2023-03-10 01:54:03 +00:00
{
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
{
2023-03-10 02:19:40 +00:00
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;
2023-03-10 01:54:03 +00:00
};
2023-03-10 02:19:40 +00:00
2023-03-10 03:29:56 +00:00
devShell = with pkgs; mkShell {
2023-03-11 19:02:20 +00:00
nativeBuildInputs = [
cargo
cargo-outdated
2024-01-15 18:23:21 +00:00
certstrap
2023-03-11 19:02:20 +00:00
clippy
2023-09-02 16:52:55 +00:00
diesel-cli
2023-06-11 16:54:25 +00:00
exiftool
2023-06-19 20:46:23 +00:00
ffmpeg_6-full
garage
2023-03-11 19:02:20 +00:00
imagemagick
minio-client
2023-03-11 19:02:20 +00:00
rust-analyzer
rustc
rustfmt
2023-12-18 05:15:21 +00:00
stdenv.cc
2023-04-07 16:20:26 +00:00
taplo
2023-10-21 00:08:23 +00:00
tokio-console
2023-03-11 19:02:20 +00:00
];
2023-03-10 03:29:56 +00:00
RUST_SRC_PATH = "${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}";
};
2023-03-10 01:54:03 +00:00
});
}