1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-24 19:08:30 +00:00
nixpkgs/pkgs/development/libraries/torch-hdf5/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

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;
};
}