mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
20 lines
595 B
Nix
20 lines
595 B
Nix
{stdenv, fetchFromGitHub, torch, cmake, hdf5}:
|
|
stdenv.mkDerivation rec {
|
|
pname = "torch-hdf5";
|
|
version = "0.0pre2016-07-01";
|
|
buildInputs = [cmake torch hdf5];
|
|
src = fetchFromGitHub {
|
|
owner = "deepmind";
|
|
repo = "torch-hdf5";
|
|
rev = "639bb4e62417ac392bf31a53cdd495d19337642b";
|
|
sha256 = "0x1si2c30d95vmw0xqyq242wghfih3m5i43785vwahlzm7h6n6xz";
|
|
};
|
|
meta = {
|
|
inherit version;
|
|
description = ''HDF5 format support for Torch'';
|
|
license = stdenv.lib.licenses.bsd3;
|
|
maintainers = [stdenv.lib.maintainers.raskin];
|
|
platforms = stdenv.lib.platforms.linux;
|
|
};
|
|
}
|