nixpkgs/pkgs/tools/misc/boxxy/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

44 lines
855 B
Nix
Raw Normal View History

2023-02-12 12:12:18 +00:00
{ lib
, rustPlatform
, fetchFromGitHub
, pkg-config
, oniguruma
, stdenv
2023-02-12 12:12:18 +00:00
}:
rustPlatform.buildRustPackage rec {
pname = "boxxy";
version = "0.8.3";
2023-02-12 12:12:18 +00:00
src = fetchFromGitHub {
owner = "queer";
repo = "boxxy";
rev = "v${version}";
hash = "sha256-BxI2Ju1I1IytCjx6vUoIy1jzebSeRmoObDEtN/sBEDg=";
2023-02-12 12:12:18 +00:00
};
cargoHash = "sha256-ZEQsCm13MoFtpIjjtD5UANH5zrPDX4IjEmqJLwnftps=";
nativeBuildInputs = [
pkg-config
];
buildInputs = [
oniguruma
];
env = {
RUSTONIG_SYSTEM_LIBONIG = true;
};
2023-02-12 12:12:18 +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;
maintainers = with maintainers; [ dit7ya figsoda ];
2023-02-12 12:12:18 +00:00
platforms = platforms.linux;
broken = stdenv.isAarch64;
2023-11-27 01:17:53 +00:00
mainProgram = "boxxy";
2023-02-12 12:12:18 +00:00
};
}