2021-01-25 08:26:54 +00:00
|
|
|
{ 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 ];
|
2021-05-07 11:00:49 +00:00
|
|
|
cargoSha256 = "1lza3kc43581a09ss82bb5p0r74dy7si2x07cj4cb8dizl60b71v";
|
2019-11-21 08:29:46 +00:00
|
|
|
|
2021-01-11 07:54:33 +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 ];
|
|
|
|
};
|
|
|
|
}
|