nixpkgs/pkgs/tools/misc/xclip/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

25 lines
583 B
Nix

{ stdenv, fetchFromGitHub, autoreconfHook, libXmu }:
stdenv.mkDerivation rec {
pname = "xclip";
version = "0.13";
src = fetchFromGitHub {
owner = "astrand";
repo = "xclip";
rev = version;
sha256 = "0q0hmvcjlv8arhh1pzhja2wglyj6n7z209jnpnzd281kqqv4czcs";
};
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ libXmu ];
meta = {
description = "Tool to access the X clipboard from a console application";
homepage = https://github.com/astrand/xclip;
license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.all;
};
}