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