nixpkgs-suyu/pkgs/tools/X11/xwinmosaic/default.nix
Pavol Rusnak 2c931312ce treewide: simplify rev/repo arguments in src
+ use fetchFromGithub where possible
2020-11-01 23:02:24 -08:00

24 lines
641 B
Nix

{ stdenv, fetchFromGitHub, gtk2, cmake, pkgconfig, libXdamage }:
stdenv.mkDerivation rec {
version = "0.4.2";
pname = "xwinmosaic";
src = fetchFromGitHub {
owner = "soulthreads";
repo = pname;
rev = "refs/tags/v${version}";
sha256 = "16qhrpgn84fz0q3nfvaz5sisc82zk6y7c0sbvbr69zfx5fwbs1rr";
};
nativeBuildInputs = [ pkgconfig cmake ];
buildInputs = [ gtk2 libXdamage ];
meta = {
inherit version;
description = ''X window switcher drawing a colourful grid'';
license = stdenv.lib.licenses.bsd2 ;
maintainers = [stdenv.lib.maintainers.raskin];
platforms = stdenv.lib.platforms.linux;
};
}