nixos-config/pkgs/blueprint-compiler.nix
2022-06-23 17:01:10 +08:00

22 lines
586 B
Nix

{ stdenv, lib, fetchgit, meson, ninja, python3Packages }:
python3Packages.buildPythonPackage rec {
pname = "blueprint-compiler";
version = "0.2.0";
src = fetchgit {
url = "https://gitlab.gnome.org/jwestman/blueprint-compiler.git";
rev = "v${version}";
sha256 = "sha256-LXZ6n1oCbPa0taVbUZf52mGECrzXIcF8EaMVJ30rMtc=";
};
format = "other";
nativeBuildInputs = [ meson ninja ];
meta = with lib; {
description = "Compiles Blueprint to GTK XML";
homepage = "https://gitlab.gnome.org/jwestman/blueprint-compiler";
license = licenses.lgpl3Only;
};
}