depot/third_party/nixpkgs/pkgs/tools/compression/ouch/default.nix
Default email a3bb8d7922 Project import generated by Copybara.
GitOrigin-RevId: 439b1605227b8adb1357b55ce8529d541abbe9eb
2021-08-06 00:33:18 +03:00

28 lines
723 B
Nix

{ lib, rustPlatform, fetchFromGitHub }:
rustPlatform.buildRustPackage rec {
pname = "ouch";
version = "0.1.5";
src = fetchFromGitHub {
owner = "vrmiguel";
repo = pname;
rev = version;
sha256 = "00ah8hgrppa61jhwb74zl5b509q0yp2pp27w9frm814iqx70qn38";
};
cargoPatches = [
# a patch file to add Cargo.lock in the source code
# https://github.com/vrmiguel/ouch/pull/46
./add-Cargo.lock.patch
];
cargoSha256 = "181aq8r78g4bl1ndlwl54ws5ccrwph0mmk9506djxvfdy3hndxkg";
meta = with lib; {
description = "Taking the pain away from file (de)compression";
homepage = "https://github.com/vrmiguel/ouch";
license = licenses.mit;
maintainers = [ maintainers.psibi ];
};
}