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
|
|
|
};
|
|
|
|
|
2021-05-07 13:00:49 +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;
|
|
|
|
};
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2018-06-22 13:41:29 +02:00
|
|
|
description = "A container debugging tool based on FUSE";
|
2020-04-01 03:11:51 +02:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|