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