forked from mirrors/nixpkgs
slop: add missing libSM dependency (#182506)
* slop: format * slop: add missing libSM dependency
This commit is contained in:
parent
6e52e6441a
commit
d6ccd0064d
|
@ -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; [ ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue