2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, gtk2, cmake, pkg-config, libXdamage }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "0.4.2";
|
|
|
|
pname = "xwinmosaic";
|
|
|
|
|
2020-11-03 02:18:15 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "soulthreads";
|
|
|
|
repo = pname;
|
|
|
|
rev = "refs/tags/v${version}";
|
2020-04-24 23:36:52 +00:00
|
|
|
sha256 = "16qhrpgn84fz0q3nfvaz5sisc82zk6y7c0sbvbr69zfx5fwbs1rr";
|
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config cmake ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ gtk2 libXdamage ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
inherit version;
|
2021-02-05 17:12:51 +00:00
|
|
|
description = "X window switcher drawing a colourful grid";
|
2021-01-15 22:18:51 +00:00
|
|
|
license = lib.licenses.bsd2 ;
|
|
|
|
maintainers = [lib.maintainers.raskin];
|
|
|
|
platforms = lib.platforms.linux;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|