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

26 lines
761 B
Nix
Raw Normal View History

2021-01-17 04:51:22 +01:00
{ pkg-config, lib, stdenv, 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 ];
cargoSha256 = "0vckay4jhg02xg68mvh7ys0yjj0p30m6wsjriqc8k24wjsrhiw9k";
2019-11-21 09:29:46 +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 ];
};
}