depot/third_party/nixpkgs/pkgs/tools/misc/tensorman/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

25 lines
768 B
Nix

{ pkgconfig, stdenv, rustPlatform, rustc, cargo, docker, openssl, fetchFromGitHub }:
rustPlatform.buildRustPackage rec {
pname = "tensorman";
version = "0.1.0";
src = fetchFromGitHub {
owner = "pop-os";
repo = "tensorman";
rev = version;
sha256 = "0ywb53snvymmwh10hm6whckz7dwmpqa4rxiggd24y178jdfrm2ns";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ openssl ];
cargoSha256 = "0vckay4jhg02xg68mvh7ys0yjj0p30m6wsjriqc8k24wjsrhiw9k";
meta = with stdenv.lib; {
description = "Utility for easy management of Tensorflow containers";
homepage = "https://github.com/pop-os/tensorman/";
license = stdenv.lib.licenses.gpl3;
platforms = [ "x86_64-linux" ];
maintainers = with maintainers; [ thefenriswolf ];
};
}