imag/default.nix

25 lines
300 B
Nix
Raw Normal View History

{ pkgs ? (import <nixpkgs> {}) }:
2015-10-19 15:30:35 +00:00
let
env = with pkgs.rustStable; [
2015-10-19 15:30:35 +00:00
rustc
cargo
];
dependencies = with pkgs; [
openssl
zlib
cmake
];
2015-10-19 15:30:35 +00:00
in
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";
buildInputs = [ env dependencies ];
2015-10-19 15:30:35 +00:00
}