2023-02-16 17:41:37 +00:00
|
|
|
{ lib
|
|
|
|
, rustPlatform
|
|
|
|
, fetchFromGitHub
|
2023-02-22 10:55:15 +00:00
|
|
|
, stdenv
|
2023-02-16 17:41:37 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "boxxy";
|
2023-03-27 19:17:25 +00:00
|
|
|
version = "0.5.1";
|
2023-02-16 17:41:37 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "queer";
|
|
|
|
repo = "boxxy";
|
|
|
|
rev = "v${version}";
|
2023-03-27 19:17:25 +00:00
|
|
|
hash = "sha256-e6AkxC3TP2StApPSWaadLz/AFmaKBKCrS5HuocvmfQs=";
|
2023-02-16 17:41:37 +00:00
|
|
|
};
|
|
|
|
|
2023-03-27 19:17:25 +00:00
|
|
|
cargoHash = "sha256-E3IX3JSc8Rq8Qnx6Lk+PQgGfHptidxPaOqejYJgudlw=";
|
2023-02-16 17:41:37 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Puts bad Linux applications in a box with only their files";
|
|
|
|
homepage = "https://github.com/queer/boxxy";
|
|
|
|
license = licenses.mit;
|
2023-02-22 10:55:15 +00:00
|
|
|
maintainers = with maintainers; [ dit7ya figsoda ];
|
2023-02-16 17:41:37 +00:00
|
|
|
platforms = platforms.linux;
|
2023-02-22 10:55:15 +00:00
|
|
|
broken = stdenv.isAarch64;
|
2023-02-16 17:41:37 +00:00
|
|
|
};
|
|
|
|
}
|