25 lines
652 B
Nix
25 lines
652 B
Nix
|
{ stdenv, rustPlatform, fetchFromGitHub }:
|
||
|
|
||
|
rustPlatform.buildRustPackage rec {
|
||
|
name = "cntr-${version}";
|
||
|
version = "1.2.0";
|
||
|
|
||
|
src = fetchFromGitHub {
|
||
|
owner = "Mic92";
|
||
|
repo = "cntr";
|
||
|
rev = version;
|
||
|
sha256 = "0lmbsnjia44h4rskqkv9yc7xb6f3qjgbg8kcr9zqnr7ivr5fjcxg";
|
||
|
};
|
||
|
|
||
|
cargoSha256 = "0gainr5gfy0bbhr6078zvgx0kzp53slxjp37d3da091ikgzgfn51";
|
||
|
|
||
|
meta = with stdenv.lib; {
|
||
|
description = "A container debugging tool based on FUSE";
|
||
|
homepage = https://github.com/Mic92/cntr;
|
||
|
license = licenses.mit;
|
||
|
# aarch64 support will be fixed soon
|
||
|
platforms = [ "x86_64-linux" ];
|
||
|
maintainers = [ maintainers.mic92 ];
|
||
|
};
|
||
|
}
|