mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 01:20:40 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
27 lines
718 B
Nix
27 lines
718 B
Nix
{stdenv, fetchurl, libX11, libXaw}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "0.10.0";
|
|
pname = "autocutsel";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/sigmike/autocutsel/releases/download/${version}/${pname}-${version}.tar.gz";
|
|
sha256 = "0gsys2dzh4az51ndcsabhlbbrjn2nm75lnjr45kg6r8sm8q66dx2";
|
|
};
|
|
|
|
buildInputs = [ libX11 libXaw ];
|
|
installPhase = ''
|
|
mkdir -p $out/bin
|
|
cp autocutsel $out/bin/
|
|
'';
|
|
|
|
meta = {
|
|
inherit version;
|
|
homepage = https://www.nongnu.org/autocutsel/;
|
|
description = "Tracks changes in the server's cutbuffer and CLIPBOARD selection";
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
|
platforms = with stdenv.lib.platforms; all;
|
|
updateWalker = true;
|
|
};
|
|
}
|