mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
Adds ocaml-base64
Base64 encoding and decoding in OCaml Homepage: https://github.com/mirage/ocaml-base64
This commit is contained in:
parent
b9c02fe7a3
commit
c6d31ad722
24
pkgs/development/ocaml-modules/base64/default.nix
Normal file
24
pkgs/development/ocaml-modules/base64/default.nix
Normal file
@ -0,0 +1,24 @@
|
||||
{ stdenv, fetchzip, ocaml, findlib }:
|
||||
|
||||
let version = "2.0.0"; in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "ocaml-base64-${version}";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://github.com/mirage/ocaml-base64/archive/v${version}.tar.gz";
|
||||
sha256 = "1nv55gwq5vaxmrcz9ja2s165b1p9fhcxszc1l76043gpa56qm4fs";
|
||||
};
|
||||
|
||||
buildInputs = [ ocaml findlib ];
|
||||
|
||||
createFindlibDestdir = true;
|
||||
|
||||
meta = {
|
||||
homepage = https://github.com/mirage/ocaml-base64;
|
||||
platforms = ocaml.meta.platforms;
|
||||
description = "Base64 encoding and decoding in OCaml";
|
||||
license = stdenv.lib.licenses.isc;
|
||||
maintainers = with stdenv.lib.maintainers; [ vbgl ];
|
||||
};
|
||||
}
|
@ -3811,6 +3811,8 @@ let
|
||||
|
||||
asn1-combinators = callPackage ../development/ocaml-modules/asn1-combinators { };
|
||||
|
||||
base64 = callPackage ../development/ocaml-modules/base64 { };
|
||||
|
||||
bolt = callPackage ../development/ocaml-modules/bolt { };
|
||||
|
||||
camlidl = callPackage ../development/tools/ocaml/camlidl { };
|
||||
|
Loading…
Reference in New Issue
Block a user