Merge pull request #141146 from figsoda/crabz

crabz: init at 0.7.2

authored by Fabian Affolter and committed by GitHub 6b3033b0 625e7d26

+43
+39
pkgs/tools/compression/crabz/default.nix
··· 1 + { lib 2 + , rustPlatform 3 + , fetchFromGitHub 4 + , cmake 5 + , stdenv 6 + , libiconv 7 + , CoreFoundation 8 + , Security 9 + }: 10 + 11 + rustPlatform.buildRustPackage rec { 12 + pname = "crabz"; 13 + version = "0.7.2"; 14 + 15 + src = fetchFromGitHub { 16 + owner = "sstadick"; 17 + repo = pname; 18 + rev = "v${version}"; 19 + sha256 = "0ch9cqarsakihg9ymbdm0ka6wz77z84n4g6cdlcskczc5g3b9gp9"; 20 + }; 21 + 22 + cargoSha256 = "sha256-nrCYlhq/f8gk3NmltAg+xppRJ533ooEpetWvaF2vmP0="; 23 + 24 + nativeBuildInputs = [ cmake ]; 25 + 26 + buildInputs = lib.optionals stdenv.isDarwin [ 27 + libiconv 28 + CoreFoundation 29 + Security 30 + ]; 31 + 32 + meta = with lib; { 33 + description = "A cross platform, fast, compression and decompression tool"; 34 + homepage = "https://github.com/sstadick/crabz"; 35 + changelog = "https://github.com/sstadick/crabz/blob/v${version}/CHANGELOG.md"; 36 + license = with licenses; [ unlicense /* or */ mit ]; 37 + maintainers = with maintainers; [ figsoda ]; 38 + }; 39 + }
+4
pkgs/top-level/all-packages.nix
··· 3912 3912 3913 3913 cpuminer-multi = callPackage ../tools/misc/cpuminer-multi { }; 3914 3914 3915 + crabz = callPackage ../tools/compression/crabz { 3916 + inherit (darwin.apple_sdk.frameworks) CoreFoundation Security; 3917 + }; 3918 + 3915 3919 cryptpad = callPackage ../servers/web-apps/cryptpad { 3916 3920 nodejs = nodejs-12_x; 3917 3921 };