nixpkgs/pkgs/tools/X11/xwinmosaic/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

23 lines
633 B
Nix

{ stdenv, fetchgit, gtk2, cmake, pkgconfig, libXdamage }:
stdenv.mkDerivation rec {
version = "0.4.2";
pname = "xwinmosaic";
src = fetchgit {
url = "https://github.com/soulthreads/xwinmosaic/";
rev = "refs/tags/v0.4.2";
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;
};
}