mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-17 06:06:13 +03:00
libb64: init at 1.2
This commit is contained in:
parent
6a4b71afa5
commit
9f71bba8a4
26
pkgs/development/libraries/libb64/default.nix
Normal file
26
pkgs/development/libraries/libb64/default.nix
Normal file
@ -0,0 +1,26 @@
|
||||
{ stdenv, fetchurl, unzip }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libb64-${version}";
|
||||
version = "1.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://download.draios.com/dependencies/libb64-1.2.src.zip";
|
||||
md5 = "a609809408327117e2c643bed91b76c5";
|
||||
};
|
||||
|
||||
buildInputs = [ unzip ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out $out/lib $out/bin $out/include
|
||||
cp -r include/* $out/include/
|
||||
cp base64/base64 $out/bin/
|
||||
cp src/libb64.a src/cencode.o src/cdecode.o $out/lib/
|
||||
'';
|
||||
|
||||
meta = {
|
||||
inherit version;
|
||||
description = "ANSI C routines for fast base64 encoding/decoding";
|
||||
license = stdenv.lib.licenses.publicDomain;
|
||||
};
|
||||
}
|
@ -6837,6 +6837,8 @@ let
|
||||
|
||||
libjson = callPackage ../development/libraries/libjson { };
|
||||
|
||||
libb64 = callPackage ../development/libraries/libb64 { };
|
||||
|
||||
judy = callPackage ../development/libraries/judy { };
|
||||
|
||||
keybinder = callPackage ../development/libraries/keybinder {
|
||||
@ -8329,7 +8331,7 @@ let
|
||||
rubberband = callPackage ../development/libraries/rubberband {
|
||||
inherit (vamp) vampSDK;
|
||||
};
|
||||
|
||||
|
||||
sad = callPackage ../applications/science/logic/sad { };
|
||||
|
||||
sbc = callPackage ../development/libraries/sbc { };
|
||||
|
Loading…
Reference in New Issue
Block a user