2022-06-16 17:23:12 +00:00
|
|
|
{ python3
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitLab
|
|
|
|
, gobject-introspection
|
|
|
|
, lib
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "blueprint-compiler";
|
2022-07-14 12:49:19 +00:00
|
|
|
version = "0.2.0";
|
2022-06-16 17:23:12 +00:00
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
domain = "gitlab.gnome.org";
|
|
|
|
owner = "jwestman";
|
|
|
|
repo = pname;
|
2022-07-14 12:49:19 +00:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "sha256-LXZ6n1oCbPa0taVbUZf52mGECrzXIcF8EaMVJ30rMtc=";
|
2022-06-16 17:23:12 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# Requires pythonfuzz, which I've found difficult to package
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
python3
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
# So that the compiler can find GIR and .ui files
|
|
|
|
gobject-introspection
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A markup language for GTK user interface files";
|
|
|
|
homepage = "https://gitlab.gnome.org/jwestman/blueprint-compiler";
|
|
|
|
license = licenses.lgpl3Plus;
|
|
|
|
maintainers = [ maintainers.ranfdev ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|