mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
Added a long description. Added the patch file.
This commit is contained in:
parent
2784866ffd
commit
43432b9fca
2 changed files with 22 additions and 3 deletions
|
@ -1,12 +1,15 @@
|
|||
{ stdenv, fetchurl, pkgconfig, glib, gtk2, gtkmm }:
|
||||
|
||||
let version = "1.5.2";
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
name = "nitrogen-1.5.2";
|
||||
name = "nitrogen-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://projects.l3ib.org/nitrogen/files/nitrogen-1.5.2.tar.gz";
|
||||
url = "http://projects.l3ib.org/nitrogen/files/nitrogen-${version}.tar.gz";
|
||||
sha256 = "60a2437ce6a6c0ba44505fc8066c1973140d4bb48e1e5649f525c7b0b8bf9fd2";
|
||||
};
|
||||
|
||||
buildInputs = [ glib gtk2 gtkmm pkgconfig ];
|
||||
|
||||
NIX_LDFLAGS = "-lX11";
|
||||
|
@ -14,7 +17,13 @@ stdenv.mkDerivation rec {
|
|||
patches = [ ./nitrogen-env-bash.patch ];
|
||||
|
||||
meta = {
|
||||
description = "A background browser and setter for X windows";
|
||||
description = "A wallpaper browser and setter for X11";
|
||||
longDescription = ''
|
||||
nitrogen is a lightweight utility that can set the root background on X11.
|
||||
It operates independently of any desktop environment, and supports
|
||||
multi-head with Xinerama. Wallpapers are browsable with a convenient GUI,
|
||||
and settings are stored in a human-readable config file.
|
||||
'';
|
||||
homepage = http://projects.l3ib.org/nitrogen/;
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
|
|
10
pkgs/tools/X11/nitrogen/nitrogen-env-bash.patch
Normal file
10
pkgs/tools/X11/nitrogen/nitrogen-env-bash.patch
Normal file
|
@ -0,0 +1,10 @@
|
|||
diff --git a/data/icon-theme-installer b/data/icon-theme-installer
|
||||
index 328cf73..ca5d226 100755
|
||||
--- a/data/icon-theme-installer
|
||||
+++ b/data/icon-theme-installer
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/bin/bash
|
||||
+#!/usr/bin/env bash
|
||||
|
||||
# icon-theme-installer
|
||||
# Copyright (C) 2006 Novell, Inc.
|
Loading…
Reference in a new issue