diff --git a/pkgs/blueprint-compiler.nix b/pkgs/blueprint-compiler.nix new file mode 100644 index 00000000..1518ff8c --- /dev/null +++ b/pkgs/blueprint-compiler.nix @@ -0,0 +1,21 @@ +{ stdenv, lib, fetchgit, meson, ninja, python3Packages }: + +python3Packages.buildPythonPackage rec { + pname = "blueprint-compiler"; + version = "2022-02-02"; + + src = fetchgit { + url = "https://gitlab.gnome.org/jwestman/blueprint-compiler.git"; + rev = "bac008296a10b4407ec0a385689f8e11e813d1b7"; + sha256 = "sha256-EWUAoWZbakOW6cSAKnYiXpTtvW9qRhmPK9bGdGr4JKI="; + }; + + format = "other"; + nativeBuildInputs = [ meson ninja ]; + + meta = with lib; { + description = "Compiles Blueprint to GTK XML"; + homepage = "https://gitlab.gnome.org/jwestman/blueprint-compiler"; + license = licenses.gpl3; + }; +} diff --git a/pkgs/default.nix b/pkgs/default.nix index 87a94c20..e4c8526d 100644 --- a/pkgs/default.nix +++ b/pkgs/default.nix @@ -30,6 +30,7 @@ let sha256 = "sha256-lgt69FhXANsP3VuENVThHiVk/tngYfWR+uiKe+ZEb6M="; }; }); + blueprint-compiler = callPackage ./blueprint-compiler.nix { }; butler = callPackage ./butler.nix { }; devdocs-desktop = callPackage ./devdocs-desktop.nix { }; doggo = callPackage ./doggo.nix { };