ocamlPackages.cairo2: use Dune 2
This commit is contained in:
parent
e3aa8c650b
commit
982bdad584
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, lib, fetchurl, buildDunePackage, ocaml
|
||||
{ stdenv, lib, fetchurl, buildDunePackage, ocaml, dune-configurator
|
||||
, pkg-config, cairo
|
||||
}:
|
||||
|
||||
|
@ -6,13 +6,15 @@ buildDunePackage rec {
|
|||
pname = "cairo2";
|
||||
version = "0.6.1";
|
||||
|
||||
useDune2 = true;
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/Chris00/ocaml-cairo/releases/download/${version}/cairo2-${version}.tbz";
|
||||
sha256 = "1ik4qf4b9443sliq2z7x9acd40rmzvyzjh3bh98wvjklxbb84a9i";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ cairo ];
|
||||
buildInputs = [ cairo dune-configurator ];
|
||||
|
||||
doCheck = !(stdenv.isDarwin
|
||||
# https://github.com/Chris00/ocaml-cairo/issues/19
|
||||
|
|
Loading…
Reference in New Issue