slop: add missing libSM dependency (#182506)

* slop: format

* slop: add missing libSM dependency
This commit is contained in:
Ilan Joselevich 2022-07-24 02:19:34 +03:00 committed by GitHub
parent 6e52e6441a
commit d6ccd0064d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,17 @@
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config
, glew, glm, libGLU, libGL, libX11, libXext, libXrender, icu
, cppcheck
{ lib
, stdenv
, fetchFromGitHub
, cmake
, pkg-config
, glew
, glm
, libGLU
, libGL
, libX11
, libXext
, libXrender
, icu
, libSM
}:
stdenv.mkDerivation rec {
@ -14,17 +25,28 @@ stdenv.mkDerivation rec {
sha256 = "sha256-LdBQxw8K8WWSfm4E2QpK4GYTuYvI+FX5gLOouVFSU/U=";
};
nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ glew glm libGLU libGL libX11 libXext libXrender icu ]
++ lib.optional doCheck cppcheck;
nativeBuildInputs = [
cmake
pkg-config
];
doCheck = false;
buildInputs = [
glew
glm
libGLU
libGL
libX11
libXext
libXrender
icu
libSM
];
meta = with lib; {
inherit (src.meta) homepage;
description = "Queries a selection from the user and prints to stdout";
platforms = lib.platforms.linux;
license = lib.licenses.gpl3Plus;
license = licenses.gpl3Plus;
maintainers = with maintainers; [ ];
};
}