mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 08:33:54 +00:00
28 lines
656 B
Nix
28 lines
656 B
Nix
{ lib, rustPlatform, fetchFromGitHub, nixosTests }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "cntr";
|
|
version = "1.5.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Mic92";
|
|
repo = "cntr";
|
|
rev = version;
|
|
sha256 = "sha256-z+0bSxoLJTK4e5xS4CHZ2hNUI56Ci1gbWJsRcN6ZqZA=";
|
|
};
|
|
|
|
cargoSha256 = "sha256-o8o/ixjYdnezQZEp78brjmR2lvQbiwCJr4Y97tHiYbk=";
|
|
|
|
passthru.tests = {
|
|
nixos = nixosTests.cntr;
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "A container debugging tool based on FUSE";
|
|
homepage = "https://github.com/Mic92/cntr";
|
|
license = licenses.mit;
|
|
platforms = platforms.linux;
|
|
maintainers = [ maintainers.mic92 ];
|
|
};
|
|
}
|