nixpkgs/pkgs/tools/X11/bgs/default.nix
Bjørn Forsman 28ac782583 Some description fixes
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.
2013-10-05 19:36:23 +02:00

25 lines
650 B
Nix

{stdenv, fetchurl, libX11, libXinerama, imlib2}:
stdenv.mkDerivation rec {
name = "bgs-${version}";
version = "0.5";
src = fetchurl {
url = "https://github.com/Gottox/bgs/archive/${version}.tar.gz";
sha256 = "67fe16e3483f30f940005856fbb3246e1f99cf58371470e0d6668a27acbaefb9";
};
buildInputs = [ libX11 libXinerama imlib2 ];
preConfigure = ''sed -i "s@PREFIX = /usr/local@PREFIX = $out@g" config.mk'';
meta = {
description = "Extremely fast and small background setter for X";
license = "MIT";
platforms = with stdenv.lib.platforms; all;
maintainers = with stdenv.lib.maintainers; [pSub];
};
}