Merge remote-tracking branch 'upstream/staging-next' into HEAD
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
{ lib, fetchFromGitHub, buildDunePackage, xmlm }:
|
||||
{ lib, fetchurl, buildDunePackage, xmlm }:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "ezxmlm";
|
||||
version = "1.0.2";
|
||||
version = "1.1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "avsm";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1dgr61f0hymywikn67inq908x5adrzl3fjx3v14l9k46x7kkacl9";
|
||||
useDune2 = true;
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/mirage/ezxmlm/releases/download/v${version}/ezxmlm-v${version}.tbz";
|
||||
sha256 = "123dn4h993mlng9gzf4nc6mw75ja7ndcxkbkwfs48j5jk1z05j6d";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ xmlm ];
|
||||
@@ -27,7 +27,7 @@ buildDunePackage rec {
|
||||
just fine with it if you decide to switch over.
|
||||
'';
|
||||
maintainers = [ maintainers.carlosdagos ];
|
||||
inherit (src.meta) homepage;
|
||||
homepage = "https://github.com/mirage/ezxmlm/";
|
||||
license = licenses.isc;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,9 +1,11 @@
|
||||
{ lib, fetchurl, pkg-config, buildDunePackage, gtk3, cairo2 }:
|
||||
{ lib, fetchurl, pkg-config, buildDunePackage, dune-configurator, gtk3, cairo2 }:
|
||||
|
||||
buildDunePackage rec {
|
||||
version = "3.1.1";
|
||||
pname = "lablgtk3";
|
||||
|
||||
useDune2 = true;
|
||||
|
||||
minimumOCamlVersion = "4.05";
|
||||
|
||||
src = fetchurl {
|
||||
@@ -12,6 +14,7 @@ buildDunePackage rec {
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ dune-configurator ];
|
||||
propagatedBuildInputs = [ gtk3 cairo2 ];
|
||||
|
||||
meta = {
|
||||
|
||||
@@ -4,5 +4,5 @@ buildDunePackage {
|
||||
pname = "lablgtk3-gtkspell3";
|
||||
buildInputs = [ gtkspell3 ] ++ lablgtk3.buildInputs;
|
||||
propagatedBuildInputs = [ lablgtk3 ];
|
||||
inherit (lablgtk3) src version meta nativeBuildInputs;
|
||||
inherit (lablgtk3) src version useDune2 meta nativeBuildInputs;
|
||||
}
|
||||
|
||||
@@ -4,5 +4,5 @@ buildDunePackage {
|
||||
pname = "lablgtk3-sourceview3";
|
||||
buildInputs = lablgtk3.buildInputs ++ [ gtksourceview ];
|
||||
propagatedBuildInputs = [ lablgtk3 ];
|
||||
inherit (lablgtk3) src version meta nativeBuildInputs;
|
||||
inherit (lablgtk3) src version useDune2 meta nativeBuildInputs;
|
||||
}
|
||||
|
||||
@@ -2,13 +2,15 @@
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "safepass";
|
||||
version = "3.0";
|
||||
version = "3.1";
|
||||
|
||||
useDune2 = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "darioteixeira";
|
||||
repo = "ocaml-safepass";
|
||||
rev = "v${version}";
|
||||
sha256 = "0i127gs9x23wzwa1q3dxa2j6hby07hvxdg1c98fc3j09rg6vy2bs";
|
||||
sha256 = "1cwslwdb1774lfmhcclj9kymvidbcpjx1vp16jnjirqdqgl4zs5q";
|
||||
};
|
||||
|
||||
meta = {
|
||||
|
||||
49
pkgs/development/ocaml-modules/wayland/default.nix
Normal file
49
pkgs/development/ocaml-modules/wayland/default.nix
Normal file
@@ -0,0 +1,49 @@
|
||||
{ lib
|
||||
, buildDunePackage
|
||||
, fetchurl
|
||||
, xmlm
|
||||
, lwt
|
||||
, logs
|
||||
, fmt
|
||||
, cstruct
|
||||
, cmdliner
|
||||
, alcotest-lwt
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "wayland";
|
||||
version = "0.2";
|
||||
|
||||
minimumOCamlVersion = "4.08";
|
||||
|
||||
useDune2 = true;
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/talex5/ocaml-wayland/releases/download/v${version}/wayland-v${version}.tbz";
|
||||
sha256 = "4eb323e42a8c64e9e49b15a588342bfcc1e99640305cb261d128c75612d9458c";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
lwt
|
||||
logs
|
||||
fmt
|
||||
cstruct
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
cmdliner
|
||||
xmlm
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
alcotest-lwt
|
||||
];
|
||||
doCheck = true;
|
||||
|
||||
meta = {
|
||||
description = "Pure OCaml Wayland protocol library";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = [ lib.maintainers.sternenseemann ];
|
||||
homepage = "https://github.com/talex5/ocaml-wayland";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user