crabz: init at 0.7.2
This commit is contained in:
parent
a74daa0ec4
commit
fbb2cfd0bb
39
pkgs/tools/compression/crabz/default.nix
Normal file
39
pkgs/tools/compression/crabz/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user