2019-11-21 08:29:46 +00:00
|
|
|
{ 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";
|
|
|
|
};
|
|
|
|
|
2020-03-29 09:05:21 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ openssl ];
|
2020-02-28 02:39:37 +00:00
|
|
|
cargoSha256 = "0vckay4jhg02xg68mvh7ys0yjj0p30m6wsjriqc8k24wjsrhiw9k";
|
2019-11-21 08:29:46 +00:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|