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

25 lines
736 B
Nix
Raw Normal View History

2015-03-04 17:41:01 +00:00
{ stdenv, fetchurl, cmake, gengetopt, libX11, libXext, cppcheck}:
stdenv.mkDerivation rec {
name = "slop-${version}";
2015-09-22 00:57:11 +01:00
version = "4.1.16";
2015-03-04 17:41:01 +00:00
src = fetchurl {
url = "https://github.com/naelstrof/slop/archive/v${version}.tar.gz";
2015-09-22 00:57:11 +01:00
sha256 = "0679ax0jr97x91hmp9qrspdka8cvl3xa77z92k4qgicbnb6hr7y2";
2015-03-04 17:41:01 +00:00
};
buildInputs = [ cmake gengetopt libX11 libXext ]
++ stdenv.lib.optional doCheck cppcheck;
doCheck = false;
meta = with stdenv.lib; {
homepage = https://github.com/naelstrof/slop;
description = "Queries a selection from the user and prints to stdout";
platforms = stdenv.lib.platforms.all;
license = stdenv.lib.licenses.gpl3Plus;
maintainers = with maintainers; [ mbakke ];
};
}