2017-12-08 00:18:17 +00:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, pkgconfig
|
2019-11-10 16:44:34 +00:00
|
|
|
, glew, glm, libGLU, libGL, libX11, libXext, libXrender, icu
|
2018-04-23 09:30:57 +01:00
|
|
|
, cppcheck
|
|
|
|
}:
|
2015-03-04 17:41:01 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "slop";
|
2020-04-12 16:04:01 +01:00
|
|
|
version = "7.5";
|
2015-03-04 17:41:01 +00:00
|
|
|
|
2017-06-08 00:44:31 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "naelstrof";
|
|
|
|
repo = "slop";
|
|
|
|
rev = "v${version}";
|
2020-04-12 16:04:01 +01:00
|
|
|
sha256 = "1k8xxb4rj2fylr4vj16yvsf73cyywliz9cy78pl4ibmi03jhg837";
|
2015-03-04 17:41:01 +00:00
|
|
|
};
|
|
|
|
|
2017-12-08 00:18:17 +00:00
|
|
|
nativeBuildInputs = [ cmake pkgconfig ];
|
2019-11-10 16:44:34 +00:00
|
|
|
buildInputs = [ glew glm libGLU libGL libX11 libXext libXrender icu ]
|
2015-03-04 17:41:01 +00:00
|
|
|
++ stdenv.lib.optional doCheck cppcheck;
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2017-06-08 00:44:31 +01:00
|
|
|
inherit (src.meta) homepage;
|
2015-03-04 17:41:01 +00:00
|
|
|
description = "Queries a selection from the user and prints to stdout";
|
2019-06-06 04:04:19 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2015-03-04 17:41:01 +00:00
|
|
|
license = stdenv.lib.licenses.gpl3Plus;
|
2017-06-08 00:44:31 +01:00
|
|
|
maintainers = with maintainers; [ primeos mbakke ];
|
2015-03-04 17:41:01 +00:00
|
|
|
};
|
|
|
|
}
|