From 1f40c0f0ad9470ae1acac7ffc5a30d19bc169189 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Wed, 2 Feb 2022 12:44:50 +0800 Subject: [PATCH] blueprint-compiler: init at 2022-02-02 --- pkgs/blueprint-compiler.nix | 21 +++++++++++++++++++++ pkgs/default.nix | 1 + 2 files changed, 22 insertions(+) create mode 100644 pkgs/blueprint-compiler.nix 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 { };