diff options
author | György Kurucz <me@kuruczgy.com> | 2023-12-21 00:26:07 +0100 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2024-01-18 13:56:25 +0100 |
commit | f53dba04b78d67d96130c1183b7448b828ca61bb (patch) | |
tree | 7245af77bebdbc6d003abc04dfdae4b2d75a026b /pkgs | |
parent | 34258cec443c27f3f628315ee915bc0b8441dfb2 (diff) |
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.
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/os-specific/linux/kmscube/default.nix | 35 |
1 files changed, 18 insertions, 17 deletions
diff --git a/pkgs/os-specific/linux/kmscube/default.nix b/pkgs/os-specific/linux/kmscube/default.nix index b9da379017001..a416e2aa14bd5 100644 --- a/pkgs/os-specific/linux/kmscube/default.nix +++ b/pkgs/os-specific/linux/kmscube/default.nix @@ -1,26 +1,27 @@ -{ lib, stdenv, fetchgit, fetchpatch, autoreconfHook, libdrm, libX11, libGL, mesa, pkg-config }: +{ lib, stdenv, fetchFromGitLab, meson, ninja, libdrm, libX11, libGL, mesa, pkg-config, gst_all_1 }: stdenv.mkDerivation { pname = "kmscube"; - version = "unstable-2018-06-17"; + version = "unstable-2023-09-25"; - src = fetchgit { - url = "git://anongit.freedesktop.org/mesa/kmscube"; - rev = "9dcce71e603616ee7a54707e932f962cdf8fb20a"; - sha256 = "1q5b5yvyfj3127385mp1bfmcbnpnbdswdk8gspp7g4541xk4k933"; + src = fetchFromGitLab { + domain = "gitlab.freedesktop.org"; + owner = "mesa"; + repo = "kmscube"; + rev = "96d63eb59e34c647cda1cbb489265f8c536ae055"; + hash = "sha256-kpnn4JBNvwatrcCF/RGk/fQ7qiKD26iLBr9ovDmAKBo="; }; - patches = [ - # Pull upstream patch for -fno-common toolchains. - (fetchpatch { - name = "fno-common.patch"; - url = "https://gitlab.freedesktop.org/mesa/kmscube/-/commit/908ef39864442c0807954af5d3f88a3da1a6f8a5.patch"; - sha256 = "1gxn3b50mvjlc25234839v5z29r8fd9di4176a3yx4gbsz8cc5vi"; - }) - ]; - - nativeBuildInputs = [ autoreconfHook pkg-config ]; - buildInputs = [ libdrm libX11 libGL mesa ]; + nativeBuildInputs = [ meson pkg-config ninja ]; + buildInputs = [ + libdrm + libX11 + libGL + mesa + ] ++ (with gst_all_1; [ + gstreamer + gst-plugins-base + ]); meta = with lib; { description = "Example OpenGL app using KMS/GBM"; |