nixpkgs/pkgs/tools/X11/xpointerbarrier/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
670 B
Nix

{ stdenv, xorg, fetchgit }:
stdenv.mkDerivation rec {
pname = "xpointerbarrier";
version = "18.06";
src = fetchgit {
url = "https://www.uninformativ.de/git/xpointerbarrier.git";
rev = "v${version}";
sha256 = "1k7i641x18qhjm0llsaqn2h2g9k31kgv6p8sildllmbvgxyrgvq7";
};
buildInputs = [ xorg.libX11 xorg.libXfixes xorg.libXrandr ];
makeFlags = "prefix=$(out)";
meta = {
homepage = https://uninformativ.de/git/xpointerbarrier;
description = "Create X11 pointer barriers around your working area";
license = stdenv.lib.licenses.mit;
maintainers = [ stdenv.lib.maintainers.xzfc ];
platforms = stdenv.lib.platforms.linux;
};
}