1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 15:11:35 +00:00
nixpkgs/pkgs/tools/misc/tensorman/default.nix
Daniël de Kok 85f96822a0 treewide: fix cargoSha256/cargoHash
Rust 1.50.0 incorporated a Cargo change (rust-lang/cargo#8937) in
which cargo vendor erroneously changed permissions of vendored
crates. This was fixed in Rust
1.51.0 (rust-lang/cargo#9131). Unfortunately, this means that all
cargoSha256/cargoHashes produced during the Rust 1.50.0 cycle are
potentially broken.

This change updates cargoSha256/cargoHash tree-wide.

Fixes #121994.
2021-05-08 00:36:37 -07:00

26 lines
753 B
Nix

{ pkg-config, lib, 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";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ];
cargoSha256 = "1lza3kc43581a09ss82bb5p0r74dy7si2x07cj4cb8dizl60b71v";
meta = with lib; {
description = "Utility for easy management of Tensorflow containers";
homepage = "https://github.com/pop-os/tensorman/";
license = lib.licenses.gpl3;
platforms = [ "x86_64-linux" ];
maintainers = with maintainers; [ thefenriswolf ];
};
}