31 lines
396 B
Nix
31 lines
396 B
Nix
{ pkgs ? (import <nixpkgs> {}) }:
|
|
|
|
let
|
|
env = with pkgs.latest.rustChannels.stable; [
|
|
rust
|
|
cargo
|
|
];
|
|
|
|
dependencies = with pkgs; [
|
|
cmake
|
|
curl
|
|
gcc
|
|
libpsl
|
|
openssl
|
|
pkgconfig
|
|
which
|
|
zlib
|
|
dbus
|
|
pkgconfig
|
|
];
|
|
in
|
|
|
|
pkgs.stdenv.mkDerivation rec {
|
|
name = "imag";
|
|
src = /var/empty;
|
|
version = "0.0.0";
|
|
|
|
buildInputs = env ++ dependencies;
|
|
|
|
}
|
|
|