nixpkgs/pkgs/tools/misc/tensorman/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
753 B
Nix
Raw Normal View History

{ pkg-config, lib, rustPlatform, rustc, cargo, docker, openssl, fetchFromGitHub }:
2019-11-21 08:29:46 +00:00
rustPlatform.buildRustPackage rec {
pname = "tensorman";
version = "0.1.0";
src = fetchFromGitHub {
owner = "pop-os";
repo = "tensorman";
rev = version;
sha256 = "0ywb53snvymmwh10hm6whckz7dwmpqa4rxiggd24y178jdfrm2ns";
};
2021-01-17 03:51:22 +00:00
nativeBuildInputs = [ pkg-config ];
2020-03-29 08:05:21 +00:00
buildInputs = [ openssl ];
cargoSha256 = "1lza3kc43581a09ss82bb5p0r74dy7si2x07cj4cb8dizl60b71v";
2019-11-21 08:29:46 +00:00
meta = with lib; {
2019-11-21 08:29:46 +00:00
description = "Utility for easy management of Tensorflow containers";
homepage = "https://github.com/pop-os/tensorman/";
2021-01-15 09:19:50 +00:00
license = lib.licenses.gpl3;
2019-11-21 08:29:46 +00:00
platforms = [ "x86_64-linux" ];
maintainers = with maintainers; [ thefenriswolf ];
};
}