1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-14 08:34:50 +00:00
nixpkgs/pkgs/tools/misc/slop/default.nix
2015-09-22 01:57:11 +02:00

25 lines
736 B
Nix

{ stdenv, fetchurl, cmake, gengetopt, libX11, libXext, cppcheck}:
stdenv.mkDerivation rec {
name = "slop-${version}";
version = "4.1.16";
src = fetchurl {
url = "https://github.com/naelstrof/slop/archive/v${version}.tar.gz";
sha256 = "0679ax0jr97x91hmp9qrspdka8cvl3xa77z92k4qgicbnb6hr7y2";
};
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 ];
};
}