summaryrefslogtreecommitdiffstats
path: root/pkgs/development/libraries/aws-c-compression
diff options
context:
space:
mode:
authorRyan Burns <rtburns@protonmail.com>2021-09-25 11:32:31 -0700
committerRyan Burns <rtburns@protonmail.com>2021-10-14 10:52:17 -0700
commitff6afebdb398fa601a8a1b3fc68b1417efe2dc5e (patch)
tree8753ee124bccc2fff34118ee9531a749043812e4 /pkgs/development/libraries/aws-c-compression
parent530cd8c3ccdef6c2bbf31ac1fa8c1f94d773ad57 (diff)
aws-c-compression: init at 0.2.14
Diffstat (limited to 'pkgs/development/libraries/aws-c-compression')
-rw-r--r--pkgs/development/libraries/aws-c-compression/default.nix38
1 files changed, 38 insertions, 0 deletions
diff --git a/pkgs/development/libraries/aws-c-compression/default.nix b/pkgs/development/libraries/aws-c-compression/default.nix
new file mode 100644
index 000000000000..9d885278ff06
--- /dev/null
+++ b/pkgs/development/libraries/aws-c-compression/default.nix
@@ -0,0 +1,38 @@
+{ lib, stdenv
+, fetchFromGitHub
+, aws-c-common
+, cmake
+}:
+
+stdenv.mkDerivation rec {
+ pname = "aws-c-compression";
+ version = "0.2.14";
+
+ src = fetchFromGitHub {
+ owner = "awslabs";
+ repo = "aws-c-compression";
+ rev = "v${version}";
+ sha256 = "0fs3zhhzxsb9nfcjpvfbcq79hal7si2ia1c09scab9a8m264f4vd";
+ };
+
+ nativeBuildInputs = [
+ cmake
+ ];
+
+ buildInputs = [
+ aws-c-common
+ ];
+
+ cmakeFlags = [
+ "-DCMAKE_SKIP_BUILD_RPATH=OFF"
+ "-DBUILD_SHARED_LIBS=ON"
+ ];
+
+ meta = with lib; {
+ description = "C99 implementation of huffman encoding/decoding";
+ homepage = "https://github.com/awslabs/aws-c-compression";
+ license = licenses.asl20;
+ platforms = platforms.unix;
+ maintainers = with maintainers; [ r-burns ];
+ };
+}