1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00

slop: 4.1.16 -> 6.3.41

This commit is contained in:
Michael Weiss 2017-06-08 01:44:31 +02:00
parent 44a9f37ba8
commit 02aa3264f5

View file

@ -1,24 +1,28 @@
{ stdenv, fetchurl, cmake, gengetopt, libX11, libXext, cppcheck}:
{ stdenv, fetchFromGitHub, cmake
, glm, mesa, gengetopt, libX11, libXext, libXrender, cppcheck}:
stdenv.mkDerivation rec {
name = "slop-${version}";
version = "4.1.16";
version = "6.3.41";
src = fetchurl {
url = "https://github.com/naelstrof/slop/archive/v${version}.tar.gz";
sha256 = "0679ax0jr97x91hmp9qrspdka8cvl3xa77z92k4qgicbnb6hr7y2";
src = fetchFromGitHub {
owner = "naelstrof";
repo = "slop";
rev = "v${version}";
sha256 = "051w2hcpz4qmvy7bmnzv7llxr2jbcpfxdadlzr2cidr323cann27";
};
buildInputs = [ cmake gengetopt libX11 libXext ]
nativeBuildInputs = [ cmake ];
buildInputs = [ glm mesa gengetopt libX11 libXext libXrender ]
++ stdenv.lib.optional doCheck cppcheck;
doCheck = false;
meta = with stdenv.lib; {
homepage = https://github.com/naelstrof/slop;
inherit (src.meta) homepage;
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 ];
maintainers = with maintainers; [ primeos mbakke ];
};
}