Unverified Commit 0dffd503 authored by Nick Cao's avatar Nick Cao Committed by GitHub
Browse files

Merge pull request #223815 from figsoda/boxxy

boxxy: 0.6.2 -> 0.6.3
parents f46f25ba 4e1693c0
Loading
Loading
Loading
Loading
+15 −3
Original line number Diff line number Diff line
@@ -2,20 +2,32 @@
, rustPlatform
, fetchFromGitHub
, stdenv
, pkg-config
, oniguruma
}:

rustPlatform.buildRustPackage rec {
  pname = "boxxy";
  version = "0.6.2";
  version = "0.6.3";

  src = fetchFromGitHub {
    owner = "queer";
    repo = "boxxy";
    rev = "v${version}";
    hash = "sha256-UTwaJDuIj0aZNGNbylBhIdZA6WAsqtW05IWPzh0f9cM=";
    hash = "sha256-c1AZz5WwSie0lenH0LoPOvR4VWd7pYd59WWmjFn6HiQ=";
  };

  cargoHash = "sha256-CkYm/tMDCIQbUzoF2hgxFsyAl5bpeCVHcLWR9iwq7Cw=";
  cargoHash = "sha256-840W5wyOV+nTr9HzftOUlUwZ1JRe7+FWTG4Q2L+yCXM=";

  nativeBuildInputs = [
    pkg-config
  ];

  buildInputs = [
    oniguruma
  ];

  RUSTONIG_SYSTEM_LIBONIG = true;

  meta = with lib; {
    description = "Puts bad Linux applications in a box with only their files";