diff options
Diffstat (limited to 'pkgs/tools')
-rw-r--r-- | pkgs/tools/backup/store-backup/default.nix | 2 | ||||
-rw-r--r-- | pkgs/tools/cd-dvd/dvdisaster/default.nix | 33 | ||||
-rw-r--r-- | pkgs/tools/cd-dvd/dvdisaster/dvdrom.patch | 19 | ||||
-rw-r--r-- | pkgs/tools/cd-dvd/dvdisaster/encryption.patch | 21 | ||||
-rw-r--r-- | pkgs/tools/filesystems/btrfsprogs/default.nix | 4 | ||||
-rw-r--r-- | pkgs/tools/filesystems/yandex-disk/default.nix | 2 | ||||
-rw-r--r-- | pkgs/tools/misc/brltty/default.nix | 33 | ||||
-rw-r--r-- | pkgs/tools/networking/airfield/default.nix | 2 | ||||
-rw-r--r-- | pkgs/tools/networking/bwm-ng/default.nix | 2 | ||||
-rw-r--r-- | pkgs/tools/networking/curl/default.nix | 4 | ||||
-rw-r--r-- | pkgs/tools/security/aide/default.nix | 2 | ||||
-rw-r--r-- | pkgs/tools/text/html2text/default.nix | 2 | ||||
-rw-r--r-- | pkgs/tools/video/rtmpdump/default.nix | 4 |
13 files changed, 113 insertions, 17 deletions
diff --git a/pkgs/tools/backup/store-backup/default.nix b/pkgs/tools/backup/store-backup/default.nix index c986adeafdcc..84351e19210f 100644 --- a/pkgs/tools/backup/store-backup/default.nix +++ b/pkgs/tools/backup/store-backup/default.nix @@ -100,7 +100,7 @@ stdenv.mkDerivation { ''; meta = { - description = "Storebackup is a backup suite that stores files on other disks"; + description = "A backup suite that stores files on other disks"; homepage = http://savannah.nongnu.org/projects/storebackup; license = stdenv.lib.licenses.gpl3Plus; maintainers = [stdenv.lib.maintainers.marcweber]; diff --git a/pkgs/tools/cd-dvd/dvdisaster/default.nix b/pkgs/tools/cd-dvd/dvdisaster/default.nix index 1bdf363300b6..101d69c0903b 100644 --- a/pkgs/tools/cd-dvd/dvdisaster/default.nix +++ b/pkgs/tools/cd-dvd/dvdisaster/default.nix @@ -1,5 +1,6 @@ { stdenv, fetchurl, pkgconfig, which, gettext, intltool , glib, gtk2 +, enableSoftening ? true }: stdenv.mkDerivation rec { @@ -10,8 +11,14 @@ stdenv.mkDerivation rec { sha256 = "e9787dea39aeafa38b26604752561bc895083c17b588489d857ac05c58be196b"; }; + patches = stdenv.lib.optional enableSoftening [ + ./encryption.patch + ./dvdrom.patch + ]; + postPatch = '' patchShebangs ./ + sed -i 's/dvdisaster48.png/dvdisaster/' contrib/dvdisaster.desktop ''; # Explicit --docdir= is required for on-line help to work: @@ -22,11 +29,27 @@ stdenv.mkDerivation rec { glib gtk2 ]; - meta = { + postInstall = '' + mkdir -pv $out/share/applications + cp contrib/dvdisaster.desktop $out/share/applications/ + + for size in 16 24 32 48 64; do + mkdir -pv $out/share/icons/hicolor/"$size"x"$size"/apps/ + cp contrib/dvdisaster"$size".png $out/share/icons/hicolor/"$size"x"$size"/apps/dvdisaster.png + done + ''; + + meta = with stdenv.lib; { homepage = http://dvdisaster.net/; - description = - "Stores data on CD/DVD/BD in a way that it is fully recoverable even " + - "after some read errors have developed"; - license = stdenv.lib.licenses.gpl2; + description = "Data loss/scratch/aging protection for CD/DVD media"; + longDescription = '' + Dvdisaster provides a margin of safety against data loss on CD and + DVD media caused by scratches or aging media. It creates error correction + data which is used to recover unreadable sectors if the disc becomes + damaged at a later time. + ''; + license = licenses.gpl2; + platforms = platforms.linux; + maintainers = with maintainers; [ jgeerds ]; }; } diff --git a/pkgs/tools/cd-dvd/dvdisaster/dvdrom.patch b/pkgs/tools/cd-dvd/dvdisaster/dvdrom.patch new file mode 100644 index 000000000000..ce3f3de2bc03 --- /dev/null +++ b/pkgs/tools/cd-dvd/dvdisaster/dvdrom.patch @@ -0,0 +1,19 @@ +Author: Corey Wright <undefined@pobox.com> +Description: Adds support for DVD-ROM medium-type. + +Index: dvdisaster/scsi-layer.c +=================================================================== +--- dvdisaster.orig/scsi-layer.c 2012-03-06 11:10:17.147044691 +0900 ++++ dvdisaster/scsi-layer.c 2012-03-06 11:10:30.927044292 +0900 +@@ -913,6 +913,11 @@ + break; + } + ++ if(layer_type & 0x01) ++ { dh->typeDescr = g_strdup("DVD-ROM"); ++ break; ++ } ++ + if(layer_type & 0x06) /* strange thing: (re-)writeable but neither plus nor dash */ + { dh->typeDescr = g_strdup("DVD-ROM (fake)"); + dh->subType = DVD; diff --git a/pkgs/tools/cd-dvd/dvdisaster/encryption.patch b/pkgs/tools/cd-dvd/dvdisaster/encryption.patch new file mode 100644 index 000000000000..a9383cb13cfe --- /dev/null +++ b/pkgs/tools/cd-dvd/dvdisaster/encryption.patch @@ -0,0 +1,21 @@ +Author: n/a +Description: Disables to skip on encrypted disks (e.g. DVD with CSS-Encryption). + +Index: dvdisaster/scsi-layer.c +=================================================================== +--- dvdisaster.orig/scsi-layer.c 2012-04-08 21:51:10.995588783 +0900 ++++ dvdisaster/scsi-layer.c 2012-04-08 21:51:29.259678075 +0900 +@@ -2693,11 +2693,12 @@ + return NULL; + } + } +- ++/* + if(dh->mainType == DVD && query_copyright(dh)) + { CloseDevice(dh); + Stop(_("This software does not support encrypted media.\n")); + } ++*/ + + /* Create the bitmap of simulated defects */ + diff --git a/pkgs/tools/filesystems/btrfsprogs/default.nix b/pkgs/tools/filesystems/btrfsprogs/default.nix index d1e0e8e430b5..9286d58482fd 100644 --- a/pkgs/tools/filesystems/btrfsprogs/default.nix +++ b/pkgs/tools/filesystems/btrfsprogs/default.nix @@ -1,14 +1,14 @@ { stdenv, fetchurl, pkgconfig, attr, acl, zlib, libuuid, e2fsprogs, lzo , asciidoc, xmlto, docbook_xml_dtd_45, docbook_xsl, libxslt }: -let version = "3.19.1"; in +let version = "4.0"; in stdenv.mkDerivation rec { name = "btrfs-progs-${version}"; src = fetchurl { url = "mirror://kernel/linux/kernel/people/kdave/btrfs-progs/btrfs-progs-v${version}.tar.xz"; - sha256 = "1nw8rsc0dc5k6hrg03m1c65n4d0f7rfs1fjv96xqhqg0wykn5214"; + sha256 = "07ss0spfkb6dkvcwmkljy6bbyf437abwzngip141a1mhq6ng370p"; }; buildInputs = [ diff --git a/pkgs/tools/filesystems/yandex-disk/default.nix b/pkgs/tools/filesystems/yandex-disk/default.nix index eb308f9de4ff..a64b7f550033 100644 --- a/pkgs/tools/filesystems/yandex-disk/default.nix +++ b/pkgs/tools/filesystems/yandex-disk/default.nix @@ -49,7 +49,7 @@ stdenv.mkDerivation rec { meta = { homepage = http://help.yandex.com/disk/cli-clients.xml; - description = "Yandex.Disk is a free cloud file storage service"; + description = "A free cloud file storage service"; maintainers = with stdenv.lib.maintainers; [smironov]; platforms = ["i686-linux" "x86_64-linux"]; license = stdenv.lib.licenses.unfree; diff --git a/pkgs/tools/misc/brltty/default.nix b/pkgs/tools/misc/brltty/default.nix new file mode 100644 index 000000000000..4201fb25f98a --- /dev/null +++ b/pkgs/tools/misc/brltty/default.nix @@ -0,0 +1,33 @@ +{ stdenv, fetchurl, pkgconfig, alsaSupport, alsaLib ? null, bluez }: + +assert alsaSupport -> alsaLib != null; + +stdenv.mkDerivation rec { + name = "brltty-5.2"; + + src = fetchurl { + url = "http://brltty.com/archive/${name}.tar.gz"; + sha256 = "1zaab5pxkqrv081n23p3am445d30gk0km4azqdirvcpw9z15q0cz"; + }; + + buildInputs = [ pkgconfig alsaLib bluez ] + ++ stdenv.lib.optional alsaSupport alsaLib; + + meta = { + description = "Access software for a blind person using a braille display"; + longDescription = '' + BRLTTY is a background process (daemon) which provides access to the Linux/Unix + console (when in text mode) for a blind person using a refreshable braille display. + It drives the braille display, and provides complete screen review functionality. + Some speech capability has also been incorporated. + ''; + homepage = http://www.brltty.com/; + license = stdenv.lib.licenses.gpl2; + maintainers = [ stdenv.lib.maintainers.bramd ]; + platforms = stdenv.lib.platforms.all; + }; + + patchPhase = '' + substituteInPlace configure --replace /sbin/ldconfig ldconfig + ''; +} diff --git a/pkgs/tools/networking/airfield/default.nix b/pkgs/tools/networking/airfield/default.nix index 38c802f3c08f..aad3b769fe28 100644 --- a/pkgs/tools/networking/airfield/default.nix +++ b/pkgs/tools/networking/airfield/default.nix @@ -29,7 +29,7 @@ in nodePackages.buildNodePackage rec { passthru.names = ["Airfield"]; meta = { - description = "Airfield is a web-interface for hipache-proxy"; + description = "A web-interface for hipache-proxy"; license = licenses.mit; homepage = https://github.com/emblica/airfield; maintainers = with maintainers; [offline]; diff --git a/pkgs/tools/networking/bwm-ng/default.nix b/pkgs/tools/networking/bwm-ng/default.nix index c7376ad47b42..62dea1e6cd4f 100644 --- a/pkgs/tools/networking/bwm-ng/default.nix +++ b/pkgs/tools/networking/bwm-ng/default.nix @@ -11,7 +11,7 @@ stdenv.mkDerivation rec { buildInputs = [ ncurses ]; meta = with stdenv.lib; { - description = "Bandwidth Monitor NG is a small and simple console-based live network and disk io bandwidth monitor"; + description = "A small and simple console-based live network and disk io bandwidth monitor"; homepage = "http://www.gropp.org/?id=projects&sub=bwm-ng"; license = licenses.gpl2; platforms = platforms.unix; diff --git a/pkgs/tools/networking/curl/default.nix b/pkgs/tools/networking/curl/default.nix index 713fe40c1891..28f28c9a4f93 100644 --- a/pkgs/tools/networking/curl/default.nix +++ b/pkgs/tools/networking/curl/default.nix @@ -16,11 +16,11 @@ assert scpSupport -> libssh2 != null; assert c-aresSupport -> c-ares != null; stdenv.mkDerivation rec { - name = "curl-7.42.0"; + name = "curl-7.42.1"; src = fetchurl { url = "http://curl.haxx.se/download/${name}.tar.bz2"; - sha256 = "13yhcqfksy2vwc4sjv97nv3cbd2pb2a8lnvv8g46qp1gail7sm9j"; + sha256 = "11y8racpj6m4j9w7wa9sifmqvdgf22nk901sfkbxzhhy75rmk472"; }; # Zlib and OpenSSL must be propagated because `libcurl.la' contains diff --git a/pkgs/tools/security/aide/default.nix b/pkgs/tools/security/aide/default.nix index c1b6fe197a15..d190dff842ba 100644 --- a/pkgs/tools/security/aide/default.nix +++ b/pkgs/tools/security/aide/default.nix @@ -19,7 +19,7 @@ stdenv.mkDerivation rec { meta = with stdenv.lib; { homepage = "http://aide.sourceforge.net/"; - description = "Advanced Intrusion Detection Environment (AIDE) is a file and directory integrity checker"; + description = "A file and directory integrity checker"; license = licenses.free; maintainers = [ maintainers.tstrobel ]; platforms = platforms.linux; diff --git a/pkgs/tools/text/html2text/default.nix b/pkgs/tools/text/html2text/default.nix index 8fd0bea2254c..4f2eeb4be205 100644 --- a/pkgs/tools/text/html2text/default.nix +++ b/pkgs/tools/text/html2text/default.nix @@ -21,7 +21,7 @@ stdenv.mkDerivation { ''; meta = { - description = "A command line utility, written in C++, that converts HTML documents into plain text"; + description = "Convert HTML to plain text"; homepage = http://www.mbayer.de/html2text/; license = stdenv.lib.licenses.gpl2Plus; platforms = stdenv.lib.platforms.linux; diff --git a/pkgs/tools/video/rtmpdump/default.nix b/pkgs/tools/video/rtmpdump/default.nix index 55240be19a44..552023278b6a 100644 --- a/pkgs/tools/video/rtmpdump/default.nix +++ b/pkgs/tools/video/rtmpdump/default.nix @@ -1,6 +1,6 @@ { stdenv, fetchgit, zlib -, gnutlsSupport ? true, gnutls ? null -, opensslSupport ? false, openssl ? null +, gnutlsSupport ? false, gnutls ? null +, opensslSupport ? true, openssl ? null }: # Must have an ssl library enabled |