mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
25 lines
736 B
Nix
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 ];
|
|
};
|
|
}
|