about summary refs log tree commit diff
path: root/pkgs/development/libraries/fcft/default.nix
diff options
context:
space:
mode:
authorFionera <fionera@fionera.de>2020-07-06 05:07:05 +0200
committerFionera <fionera@fionera.de>2020-07-06 07:18:33 +0200
commitd70ea548404bd838db2e7c1c9e1f4177c834b74c (patch)
tree46b6e7d01029cbf949e730e69ba8d256601dcfe1 /pkgs/development/libraries/fcft/default.nix
parentbe489bc04f011019cefe7f9afedb05074ee1deb9 (diff)
fcft: init at 0.4.3
Diffstat (limited to 'pkgs/development/libraries/fcft/default.nix')
-rw-r--r--pkgs/development/libraries/fcft/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/development/libraries/fcft/default.nix b/pkgs/development/libraries/fcft/default.nix
new file mode 100644
index 0000000000000..15f2f42af383e
--- /dev/null
+++ b/pkgs/development/libraries/fcft/default.nix
@@ -0,0 +1,23 @@
+{ stdenv, lib, fetchgit, pkg-config, meson, ninja, freetype, fontconfig, pixman, tllist }:
+
+stdenv.mkDerivation rec {
+  pname = "fcft";
+  version = "0.4.3";
+
+  src = fetchgit {
+    url = "https://codeberg.org/dnkl/fcft.git";
+    rev = "${version}";
+    sha256 = "1r2k5726k6ps8ml2s1vqmpiggqxzq9pbzs7m0dsxk29mh8vg0psj";
+  };
+
+  nativeBuildInputs = [ pkg-config meson ninja ];
+  buildInputs = [ freetype fontconfig pixman tllist ];
+
+  meta = with lib; {
+    homepage = "https://codeberg.org/dnkl/fcft";
+    description = "Simple library for font loading and glyph rasterization";
+    maintainers = with maintainers; [ fionera ];
+    license = licenses.mit;
+    platforms = with platforms; linux;
+  };
+}