imag/default.nix

33 lines
442 B
Nix
Raw Normal View History

{ pkgs ? (import <nixpkgs> {}) }:
2015-10-19 15:30:35 +00:00
let
2018-10-10 20:43:22 +00:00
env = with pkgs.rustChannels.stable; [
rust
2015-10-19 15:30:35 +00:00
cargo
];
dependencies = with pkgs; [
cmake
2017-01-25 07:55:11 +00:00
curl
gcc
libpsl
openssl
pkgconfig
2016-10-11 18:13:56 +00:00
which
2017-01-25 07:55:11 +00:00
zlib
2016-07-28 14:05:19 +00:00
dbus
libtool
];
2015-10-19 15:30:35 +00:00
in
pkgs.stdenv.mkDerivation rec {
2015-11-02 17:51:18 +00:00
name = "imag";
2018-01-05 10:39:38 +00:00
src = /var/empty;
2015-10-19 15:30:35 +00:00
version = "0.0.0";
2016-10-15 13:46:27 +00:00
buildInputs = env ++ dependencies;
2015-10-19 15:30:35 +00:00
LIBCLANG_PATH="${pkgs.llvmPackages.libclang}/lib";
2015-10-19 15:30:35 +00:00
}