nixpkgs/pkgs/tools/X11/xwinmosaic/default.nix

25 lines
625 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, gtk2, cmake, pkg-config, libXdamage }:
2015-06-14 21:09:32 +01:00
stdenv.mkDerivation rec {
version = "0.4.2";
pname = "xwinmosaic";
src = fetchFromGitHub {
owner = "soulthreads";
repo = pname;
rev = "refs/tags/v${version}";
sha256 = "16qhrpgn84fz0q3nfvaz5sisc82zk6y7c0sbvbr69zfx5fwbs1rr";
2015-06-14 21:09:32 +01:00
};
nativeBuildInputs = [ pkg-config cmake ];
2018-03-28 14:24:55 +01:00
buildInputs = [ gtk2 libXdamage ];
2015-06-14 21:09:32 +01:00
meta = {
inherit version;
description = "X window switcher drawing a colourful grid";
2021-01-15 09:19:50 +00:00
license = lib.licenses.bsd2 ;
maintainers = [lib.maintainers.raskin];
platforms = lib.platforms.linux;
2015-06-14 21:09:32 +01:00
};
}