2021-01-17 03:51:22 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config
|
2019-11-10 16:44:34 +00:00
|
|
|
, glew, glm, libGLU, libGL, libX11, libXext, libXrender, icu
|
2018-04-23 08:30:57 +00:00
|
|
|
, cppcheck
|
|
|
|
}:
|
2015-03-04 17:41:01 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "slop";
|
2021-09-14 23:23:39 +00:00
|
|
|
version = "7.6";
|
2015-03-04 17:41:01 +00:00
|
|
|
|
2017-06-07 23:44:31 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "naelstrof";
|
|
|
|
repo = "slop";
|
|
|
|
rev = "v${version}";
|
2021-09-14 23:23:39 +00:00
|
|
|
sha256 = "sha256-LdBQxw8K8WWSfm4E2QpK4GYTuYvI+FX5gLOouVFSU/U=";
|
2015-03-04 17:41:01 +00:00
|
|
|
};
|
|
|
|
|
2021-01-17 03:51:22 +00:00
|
|
|
nativeBuildInputs = [ cmake pkg-config ];
|
2019-11-10 16:44:34 +00:00
|
|
|
buildInputs = [ glew glm libGLU libGL libX11 libXext libXrender icu ]
|
2021-01-15 09:19:50 +00:00
|
|
|
++ lib.optional doCheck cppcheck;
|
2015-03-04 17:41:01 +00:00
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2017-06-07 23:44:31 +00:00
|
|
|
inherit (src.meta) homepage;
|
2015-03-04 17:41:01 +00:00
|
|
|
description = "Queries a selection from the user and prints to stdout";
|
2021-01-15 09:19:50 +00:00
|
|
|
platforms = lib.platforms.linux;
|
|
|
|
license = lib.licenses.gpl3Plus;
|
2021-06-15 11:46:24 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2015-03-04 17:41:01 +00:00
|
|
|
};
|
|
|
|
}
|