nixpkgs/pkgs/tools/misc/slop/default.nix

29 lines
806 B
Nix
Raw Normal View History

2017-06-08 00:44:31 +01:00
{ stdenv, fetchFromGitHub, cmake
2017-07-20 09:48:45 +01:00
, glew, glm, mesa, libX11, libXext, libXrender, cppcheck, icu}:
2015-03-04 17:41:01 +00:00
stdenv.mkDerivation rec {
name = "slop-${version}";
2017-08-11 11:32:56 +01:00
version = "7.3.49";
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}";
2017-08-11 11:32:56 +01:00
sha256 = "0is3mh2d1jqgvv72v5x92w23yf26n8n384nbr1b6cn883aw8j7jz";
2015-03-04 17:41:01 +00:00
};
2017-06-08 00:44:31 +01:00
nativeBuildInputs = [ cmake ];
2017-07-20 09:48:45 +01:00
buildInputs = [ glew glm mesa 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";
platforms = stdenv.lib.platforms.all;
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
};
}