mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 14:13:35 +00:00
28ac782583
There are many more packages to fix, this is just a start. Rules: * Don't repeat the package name (not always that easy...) * Start with capital letter * Don't end with full stop * Don't start with "The ..." or "A ..." I've also added descriptions to some packages and rewritten others.
27 lines
605 B
Nix
27 lines
605 B
Nix
{stdenv, fetchurl, libX11, libXaw}:
|
|
|
|
let
|
|
name = "autocutsel-0.9.0";
|
|
in
|
|
stdenv.mkDerivation {
|
|
inherit name;
|
|
|
|
src = fetchurl {
|
|
url = "mirror://savannah/autocutsel/${name}.tar.gz";
|
|
sha256 = "0hp335qq57l0kp58pfwb0bk930zx5497frq8y0lzr4icvk1fpw5y";
|
|
};
|
|
|
|
buildInputs = [ libX11 libXaw ];
|
|
installPhase = ''
|
|
mkdir -p $out/bin
|
|
cp autocutsel $out/bin/
|
|
'';
|
|
|
|
meta = {
|
|
homepage = "http://www.nongnu.org/autocutsel/";
|
|
description = "Tracks changes in the server's cutbuffer and CLIPBOARD selection";
|
|
license = "GPLv2+";
|
|
platforms = with stdenv.lib.platforms; all;
|
|
};
|
|
}
|