crabz: init at 0.7.2

This commit is contained in:
figsoda 2021-10-09 19:54:08 -04:00
parent a74daa0ec4
commit fbb2cfd0bb
2 changed files with 43 additions and 0 deletions

View File

@ -0,0 +1,39 @@
{ lib
, rustPlatform
, fetchFromGitHub
, cmake
, stdenv
, libiconv
, CoreFoundation
, Security
}:
rustPlatform.buildRustPackage rec {
pname = "crabz";
version = "0.7.2";
src = fetchFromGitHub {
owner = "sstadick";
repo = pname;
rev = "v${version}";
sha256 = "0ch9cqarsakihg9ymbdm0ka6wz77z84n4g6cdlcskczc5g3b9gp9";
};
cargoSha256 = "sha256-nrCYlhq/f8gk3NmltAg+xppRJ533ooEpetWvaF2vmP0=";
nativeBuildInputs = [ cmake ];
buildInputs = lib.optionals stdenv.isDarwin [
libiconv
CoreFoundation
Security
];
meta = with lib; {
description = "A cross platform, fast, compression and decompression tool";
homepage = "https://github.com/sstadick/crabz";
changelog = "https://github.com/sstadick/crabz/blob/v${version}/CHANGELOG.md";
license = with licenses; [ unlicense /* or */ mit ];
maintainers = with maintainers; [ figsoda ];
};
}

View File

@ -3912,6 +3912,10 @@ with pkgs;
cpuminer-multi = callPackage ../tools/misc/cpuminer-multi { };
crabz = callPackage ../tools/compression/crabz {
inherit (darwin.apple_sdk.frameworks) CoreFoundation Security;
};
cryptpad = callPackage ../servers/web-apps/cryptpad {
nodejs = nodejs-12_x;
};