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

29 lines
807 B
Nix
Raw Normal View History

2017-06-08 00:44:31 +01:00
{ stdenv, fetchFromGitHub, cmake
, glm, mesa, gengetopt, libX11, libXext, libXrender, cppcheck}:
2015-03-04 17:41:01 +00:00
stdenv.mkDerivation rec {
name = "slop-${version}";
2017-06-08 00:44:31 +01:00
version = "6.3.41";
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}";
sha256 = "051w2hcpz4qmvy7bmnzv7llxr2jbcpfxdadlzr2cidr323cann27";
2015-03-04 17:41:01 +00:00
};
2017-06-08 00:44:31 +01:00
nativeBuildInputs = [ cmake ];
buildInputs = [ glm mesa gengetopt libX11 libXext libXrender ]
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
};
}