Adds ocaml-hex
Mininal OCaml library providing hexadecimal converters. Homepage: https://github.com/mirage/ocaml-hex
This commit is contained in:
		
							parent
							
								
									69cda1a7c0
								
							
						
					
					
						commit
						78f93c3de2
					
				
							
								
								
									
										23
									
								
								pkgs/development/ocaml-modules/hex/default.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								pkgs/development/ocaml-modules/hex/default.nix
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,23 @@
 | 
			
		||||
{ stdenv, fetchzip, ocaml, findlib }:
 | 
			
		||||
 | 
			
		||||
let version = "0.1.0"; in
 | 
			
		||||
 | 
			
		||||
stdenv.mkDerivation {
 | 
			
		||||
  name = "ocaml-hex-${version}";
 | 
			
		||||
 | 
			
		||||
  src = fetchzip {
 | 
			
		||||
    url = "https://github.com/mirage/ocaml-hex/archive/${version}.tar.gz";
 | 
			
		||||
    sha256 = "1nna0v5wi1g8l9ywl43xda2lqbz3sa3ncpyg84bl9baxyfmw4p9n";
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  buildInputs = [ ocaml findlib ];
 | 
			
		||||
  createFindlibDestdir = true;
 | 
			
		||||
 | 
			
		||||
  meta = {
 | 
			
		||||
    description = "Mininal OCaml library providing hexadecimal converters";
 | 
			
		||||
    homepage = https://github.com/mirage/ocaml-hex;
 | 
			
		||||
    license = stdenv.lib.licenses.isc;
 | 
			
		||||
    maintainers = with stdenv.lib.maintainers; [ vbgl ];
 | 
			
		||||
    platforms = ocaml.meta.platforms;
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
@ -3785,6 +3785,8 @@ let
 | 
			
		||||
 | 
			
		||||
    gtktop = callPackage ../development/ocaml-modules/gtktop { };
 | 
			
		||||
 | 
			
		||||
    hex = callPackage ../development/ocaml-modules/hex { };
 | 
			
		||||
 | 
			
		||||
    js_of_ocaml = callPackage ../development/tools/ocaml/js_of_ocaml { };
 | 
			
		||||
 | 
			
		||||
    jsonm = callPackage ../development/ocaml-modules/jsonm { };
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user