nixpkgs-suyu/pkgs/applications/virtualization/cntr/default.nix

28 lines
656 B
Nix
Raw Normal View History

2021-03-04 11:49:53 +01:00
{ lib, rustPlatform, fetchFromGitHub, nixosTests }:
2018-06-22 13:41:29 +02:00
rustPlatform.buildRustPackage rec {
2019-08-31 13:41:23 +02:00
pname = "cntr";
2021-03-04 14:49:05 +01:00
version = "1.5.1";
2018-06-22 13:41:29 +02:00
src = fetchFromGitHub {
owner = "Mic92";
repo = "cntr";
rev = version;
2021-03-04 14:49:05 +01:00
sha256 = "sha256-z+0bSxoLJTK4e5xS4CHZ2hNUI56Ci1gbWJsRcN6ZqZA=";
2018-06-22 13:41:29 +02:00
};
cargoSha256 = "sha256-3e5wDne6Idu+kDinHPcAKHfH/d4DrGg90GkiMbyF280=";
2018-06-22 13:41:29 +02:00
2021-03-04 11:49:53 +01:00
passthru.tests = {
nixos = nixosTests.cntr;
};
meta = with lib; {
2018-06-22 13:41:29 +02:00
description = "A container debugging tool based on FUSE";
homepage = "https://github.com/Mic92/cntr";
2018-06-22 13:41:29 +02:00
license = licenses.mit;
2020-12-30 06:58:57 +01:00
platforms = platforms.linux;
2018-06-22 13:41:29 +02:00
maintainers = [ maintainers.mic92 ];
};
}