ocamlPackages.camlgpc: init at 1.2
This commit is contained in:
		
							parent
							
								
									492dcb97f6
								
							
						
					
					
						commit
						8b3896f81d
					
				
							
								
								
									
										36
									
								
								pkgs/development/ocaml-modules/camlgpc/default.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										36
									
								
								pkgs/development/ocaml-modules/camlgpc/default.nix
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,36 @@ | ||||
| { | ||||
|   buildDunePackage, | ||||
|   fetchFromGitHub, | ||||
|   fetchpatch, | ||||
|   lib, | ||||
| }: | ||||
| 
 | ||||
| let | ||||
|   pname = "camlgpc"; | ||||
|   version = "1.2"; | ||||
| in | ||||
| buildDunePackage { | ||||
|   inherit pname version; | ||||
|   src = fetchFromGitHub { | ||||
|     owner = "johnwhitington"; | ||||
|     repo = pname; | ||||
|     rev = "v${version}"; | ||||
|     hash = "sha256-+Dx8BuRlxb8xh41jHskrNcKGV/HgedauLt1vo1tADHw="; | ||||
|   }; | ||||
|   patches = [ | ||||
|     (fetchpatch { | ||||
|       name = "camlgpc-pr-5-switch-to-dune"; | ||||
|       url = "https://github.com/johnwhitington/camlgpc/pull/5.diff"; | ||||
|       hash = "sha256-znm+mX60RwYNCYXwm9HYCO8BRbzUM0Bm6dI1f1FzncA="; | ||||
|     }) | ||||
|   ]; | ||||
|   propagatedBuildInputs = [ ]; | ||||
|   doCheck = true; | ||||
|   checkInputs = [ ]; | ||||
|   meta = { | ||||
|     description = "OCaml interface to Alan Murta's General Polygon Clipper"; | ||||
|     homepage = "https://github.com/johnwhitington/camlgpc"; | ||||
|     license = lib.licenses.mit; | ||||
|     maintainers = [ lib.maintainers.vog ]; | ||||
|   }; | ||||
| } | ||||
| @ -165,6 +165,8 @@ let | ||||
| 
 | ||||
|         callipyge = callPackage ../development/ocaml-modules/callipyge { }; | ||||
| 
 | ||||
|         camlgpc = callPackage ../development/ocaml-modules/camlgpc { }; | ||||
| 
 | ||||
|         camlidl = callPackage ../development/tools/ocaml/camlidl { }; | ||||
| 
 | ||||
|         camlimages = callPackage ../development/ocaml-modules/camlimages { }; | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Volker Diels-Grabsch
						Volker Diels-Grabsch