depot/third_party/nixpkgs/pkgs/tools/misc/tensorman/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

25 lines
753 B
Nix

{ pkg-config, lib, 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 = [ pkg-config ];
buildInputs = [ openssl ];
cargoSha256 = "0vckay4jhg02xg68mvh7ys0yjj0p30m6wsjriqc8k24wjsrhiw9k";
meta = with lib; {
description = "Utility for easy management of Tensorflow containers";
homepage = "https://github.com/pop-os/tensorman/";
license = lib.licenses.gpl3;
platforms = [ "x86_64-linux" ];
maintainers = with maintainers; [ thefenriswolf ];
};
}