From 2f5630a89fe22765ca5f24d14f46aa1bf874d112 Mon Sep 17 00:00:00 2001 From: Michael Raskin <7c6f434c@mail.ru> Date: Wed, 31 Aug 2016 19:44:15 +0200 Subject: [PATCH] torch-hdf5: init at 0.0pre2016-07-01 --- .../libraries/torch-hdf5/default.nix | 19 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 21 insertions(+) create mode 100644 pkgs/development/libraries/torch-hdf5/default.nix diff --git a/pkgs/development/libraries/torch-hdf5/default.nix b/pkgs/development/libraries/torch-hdf5/default.nix new file mode 100644 index 000000000000..e5803d644f3b --- /dev/null +++ b/pkgs/development/libraries/torch-hdf5/default.nix @@ -0,0 +1,19 @@ +{stdenv, fetchFromGitHub, torch, cmake, hdf5}: +stdenv.mkDerivation rec { + name = "torch-hdf5-${version}"; + 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; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index fb682895acbc..4122c066ab24 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -9573,6 +9573,8 @@ in openblas = openblasCompat; }; + torch-hdf5 = callPackage ../development/libraries/torch-hdf5 {}; + tremor = callPackage ../development/libraries/tremor { }; udns = callPackage ../development/libraries/udns { };