2017-06-08 01:44:31 +02:00
|
|
|
{ stdenv, fetchFromGitHub, cmake
|
2017-07-20 10:48:45 +02:00
|
|
|
, glew, glm, mesa, libX11, libXext, libXrender, cppcheck, icu}:
|
2015-03-04 18:41:01 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "slop-${version}";
|
2017-07-30 00:54:57 +02:00
|
|
|
version = "6.3.48";
|
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}";
|
2017-07-30 00:54:57 +02:00
|
|
|
sha256 = "152xnisdbwx2zh1wzspy8djm937d1cm9zvcz1x22z8ia50ajm107";
|
2015-03-04 18:41:01 +01:00
|
|
|
};
|
|
|
|
|
2017-06-08 01:44:31 +02:00
|
|
|
nativeBuildInputs = [ cmake ];
|
2017-07-20 10:48:45 +02:00
|
|
|
buildInputs = [ glew glm mesa 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";
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
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
|
|
|
};
|
|
|
|
}
|