2015-11-02 17:50:24 +00:00
|
|
|
{ pkgs ? (import <nixpkgs> {}) }:
|
2015-10-19 15:30:35 +00:00
|
|
|
|
|
|
|
let
|
2015-12-05 09:45:33 +00:00
|
|
|
env = with pkgs.rustStable; [
|
2015-10-19 15:30:35 +00:00
|
|
|
rustc
|
|
|
|
cargo
|
|
|
|
];
|
2016-06-30 07:07:34 +00:00
|
|
|
|
|
|
|
dependencies = with pkgs; [
|
2017-02-04 11:32:16 +00:00
|
|
|
ruby
|
|
|
|
bundler
|
2016-06-30 07:07:34 +00:00
|
|
|
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-06-30 07:07:34 +00:00
|
|
|
];
|
2015-10-19 15:30:35 +00:00
|
|
|
in
|
|
|
|
|
2015-11-02 17:50:24 +00:00
|
|
|
pkgs.stdenv.mkDerivation rec {
|
2015-11-02 17:51:18 +00:00
|
|
|
name = "imag";
|
2015-10-19 15:30:35 +00:00
|
|
|
src = ./.;
|
|
|
|
version = "0.0.0";
|
|
|
|
|
2016-10-15 13:46:27 +00:00
|
|
|
buildInputs = env ++ dependencies;
|
2015-10-19 15:30:35 +00:00
|
|
|
|
|
|
|
}
|
|
|
|
|