blob: c46e83ab91b2000dbe96c76a1bf324e2e8713486 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
{ 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 ];
};
}
|