2021-08-05 21:33:18 +00:00
|
|
|
{ lib, rustPlatform, fetchFromGitHub }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "ouch";
|
2021-10-07 14:46:35 +00:00
|
|
|
version = "0.2.0";
|
2021-08-05 21:33:18 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2021-10-07 14:46:35 +00:00
|
|
|
owner = "ouch-org";
|
2021-08-05 21:33:18 +00:00
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2021-10-07 14:46:35 +00:00
|
|
|
sha256 = "sha256-OhEr/HvwgDkB8h3cpayOlnrs6OXiwAsQUH9XGqi5rpc=";
|
2021-08-05 21:33:18 +00:00
|
|
|
};
|
|
|
|
|
2021-10-07 14:46:35 +00:00
|
|
|
cargoSha256 = "sha256-lKsB75Lb9IYS80qu4jaIpnbEOr4Ow9M5S45Kk03An2o=";
|
2021-08-05 21:33:18 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
2021-10-07 14:46:35 +00:00
|
|
|
description = "A command-line utility for easily compressing and decompressing files and directories";
|
|
|
|
homepage = "https://github.com/ouch-org/ouch";
|
2021-08-05 21:33:18 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.psibi ];
|
|
|
|
};
|
|
|
|
}
|