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-04 12:14:45 +00:00
|
|
|
version = "0.3.5";
|
2023-02-16 17:41:37 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "queer";
|
|
|
|
repo = "boxxy";
|
|
|
|
rev = "v${version}";
|
2023-03-04 12:14:45 +00:00
|
|
|
hash = "sha256-BTVbx6Fk10A2SayXAH4hRRcUqI6+3VEW25vj3sdApqI=";
|
2023-02-16 17:41:37 +00:00
|
|
|
};
|
|
|
|
|
2023-03-04 12:14:45 +00:00
|
|
|
cargoHash = "sha256-eCi8dcaeNjuU7a7W4IJqz9bRbde6PLy/WJCipgancRE=";
|
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
|
|
|
};
|
|
|
|
}
|