kmscube: unstable-2018-06-17 -> unstable-2023-09-25

A lot of new features were added to kmscube since 2018. A new program
called "textuator" has also been added, that supposedly helps with
texture layout debugging.

authored by György Kurucz and committed by Alyssa Ross f53dba04 34258cec

+18 -17
+18 -17
pkgs/os-specific/linux/kmscube/default.nix
··· 1 - { lib, stdenv, fetchgit, fetchpatch, autoreconfHook, libdrm, libX11, libGL, mesa, pkg-config }: 1 + { lib, stdenv, fetchFromGitLab, meson, ninja, libdrm, libX11, libGL, mesa, pkg-config, gst_all_1 }: 2 2 3 3 stdenv.mkDerivation { 4 4 pname = "kmscube"; 5 - version = "unstable-2018-06-17"; 5 + version = "unstable-2023-09-25"; 6 6 7 - src = fetchgit { 8 - url = "git://anongit.freedesktop.org/mesa/kmscube"; 9 - rev = "9dcce71e603616ee7a54707e932f962cdf8fb20a"; 10 - sha256 = "1q5b5yvyfj3127385mp1bfmcbnpnbdswdk8gspp7g4541xk4k933"; 7 + src = fetchFromGitLab { 8 + domain = "gitlab.freedesktop.org"; 9 + owner = "mesa"; 10 + repo = "kmscube"; 11 + rev = "96d63eb59e34c647cda1cbb489265f8c536ae055"; 12 + hash = "sha256-kpnn4JBNvwatrcCF/RGk/fQ7qiKD26iLBr9ovDmAKBo="; 11 13 }; 12 14 13 - patches = [ 14 - # Pull upstream patch for -fno-common toolchains. 15 - (fetchpatch { 16 - name = "fno-common.patch"; 17 - url = "https://gitlab.freedesktop.org/mesa/kmscube/-/commit/908ef39864442c0807954af5d3f88a3da1a6f8a5.patch"; 18 - sha256 = "1gxn3b50mvjlc25234839v5z29r8fd9di4176a3yx4gbsz8cc5vi"; 19 - }) 20 - ]; 21 - 22 - nativeBuildInputs = [ autoreconfHook pkg-config ]; 23 - buildInputs = [ libdrm libX11 libGL mesa ]; 15 + nativeBuildInputs = [ meson pkg-config ninja ]; 16 + buildInputs = [ 17 + libdrm 18 + libX11 19 + libGL 20 + mesa 21 + ] ++ (with gst_all_1; [ 22 + gstreamer 23 + gst-plugins-base 24 + ]); 24 25 25 26 meta = with lib; { 26 27 description = "Example OpenGL app using KMS/GBM";