Add version attribute where maintainers |= nckx

This will probably be mandatory soon, and is a step in the right
direction. Removes the deprecated meta.version, and move some meta
sections to the end of the file where I should have put them in
the first place.
This commit is contained in:
Tobias Geerinckx-Rice
2016-01-24 20:31:44 +01:00
parent 7b6454cbb9
commit 9fb8020e4e
78 changed files with 313 additions and 378 deletions

View File

@@ -1,23 +1,14 @@
{ stdenv, fetchurl, autoreconfHook, libxcomp }:
let version = "3.5.0.32"; in
stdenv.mkDerivation {
stdenv.mkDerivation rec {
name = "nxproxy-${version}";
version = "3.5.0.32";
src = fetchurl {
sha256 = "02n5bdc1jsq999agb4w6dmdj5l2wlln2lka84qz6rpswwc59zaxm";
url = "http://code.x2go.org/releases/source/nx-libs/nx-libs-${version}-lite.tar.gz";
};
meta = with stdenv.lib; {
inherit version;
description = "NX compression proxy";
homepage = "http://wiki.x2go.org/doku.php/wiki:libs:nx-libs";
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = with maintainers; [ nckx ];
};
buildInputs = [ libxcomp ];
nativeBuildInputs = [ autoreconfHook ];
@@ -28,4 +19,12 @@ stdenv.mkDerivation {
makeFlags = [ "exec_prefix=$(out)" ];
enableParallelBuilding = true;
meta = with stdenv.lib; {
description = "NX compression proxy";
homepage = "http://wiki.x2go.org/doku.php/wiki:libs:nx-libs";
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = with maintainers; [ nckx ];
};
}

View File

@@ -3,9 +3,9 @@
, enableSoftening ? true
}:
let version = "0.79.5"; in
stdenv.mkDerivation rec {
name = "dvdisaster-${version}";
version = "0.79.5";
src = fetchurl {
url = "http://dvdisaster.net/downloads/${name}.tar.bz2";
@@ -70,7 +70,6 @@ stdenv.mkDerivation rec {
'';
meta = with stdenv.lib; {
inherit version;
homepage = http://dvdisaster.net/;
description = "Data loss/scratch/aging protection for CD/DVD media";
longDescription = ''

View File

@@ -1,8 +1,8 @@
{ stdenv, fetchFromGitHub, valgrind }:
let version = "131"; in
stdenv.mkDerivation rec {
name = "lz4-${version}";
version = "131";
src = fetchFromGitHub {
sha256 = "1bhvcq8fxxsqnpg5qa6k3nsyhq0nl0iarh08sqzclww27hlpyay2";
@@ -23,7 +23,6 @@ stdenv.mkDerivation rec {
patches = [ ./install-on-freebsd.patch ] ;
meta = with stdenv.lib; {
inherit version;
description = "Extremely fast compression algorithm";
longDescription = ''
Very fast lossless compression algorithm, providing compression speed

View File

@@ -1,8 +1,8 @@
{ stdenv, fetchFromGitHub, fetchpatch }:
let version = "1.0.1"; in
stdenv.mkDerivation rec {
name = "zopfli-${version}";
version = "1.0.1";
src = fetchFromGitHub {
owner = "google";
@@ -45,7 +45,6 @@ stdenv.mkDerivation rec {
'';
meta = with stdenv.lib; {
inherit version;
inherit (src.meta) homepage;
description = "Very good, but slow, deflate or zlib compression";
longDescription = ''

View File

@@ -1,10 +1,10 @@
{ stdenv, fetchFromGitHub, autoreconfHook, gettext }:
# The last release (0.5.2) is more than 2 years old and lacks features like -D,
# limiting its usefulness. Upstream appears comatose if not dead.
let version = "2014-07-03"; in
stdenv.mkDerivation {
stdenv.mkDerivation rec {
name = "duff-${version}";
# The last release (0.5.2) is more than 2 years old and lacks features like -D,
# limiting its usefulness. Upstream appears comatose if not dead.
version = "2014-07-03";
src = fetchFromGitHub {
sha256 = "1k2dx38pjzc5d624vw1cs5ipj9fprsm5vqv55agksc29m63lswnx";
@@ -28,7 +28,6 @@ stdenv.mkDerivation {
enableParallelBuilding = true;
meta = with stdenv.lib; {
inherit version;
description = "Quickly find duplicate files";
longDescription = ''
Duff is a Unix command-line utility for quickly finding duplicates in

View File

@@ -1,9 +1,9 @@
{ stdenv, fetchFromGitHub, autoreconfHook, boost, fuse, openssl, perl
, pkgconfig, rlog }:
let version = "1.8.1"; in
stdenv.mkDerivation {
stdenv.mkDerivation rec {
name = "encfs-${version}";
version = "1.8.1";
src = fetchFromGitHub {
sha256 = "1cxihqwpnqbzy8qz0134199pwfnd7ikr2835p5p1yzqnl203wcdb";

View File

@@ -1,8 +1,8 @@
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, fuse }:
let version = "1.2.3"; in
stdenv.mkDerivation rec {
name = "exfat-${version}";
version = "1.2.3";
src = fetchFromGitHub {
sha256 = "147s11sqmn5flbvz2hwpl6kdfqi2gnm1c2nsn5fxygyw7qyhpzda";
@@ -15,7 +15,6 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ autoreconfHook pkgconfig ];
meta = with stdenv.lib; {
inherit version;
inherit (src.meta) homepage;
description = "Free exFAT file system implementation";
platforms = platforms.linux;

View File

@@ -1,8 +1,8 @@
{ stdenv, fetchFromGitHub, autoreconfHook }:
let version = "0.3"; in
stdenv.mkDerivation rec {
name = "gpart-${version}";
version = "0.3";
# GitHub repository 'collating patches for gpart from all distributions':
src = fetchFromGitHub {
@@ -19,7 +19,6 @@ stdenv.mkDerivation rec {
doCheck = true;
meta = with stdenv.lib; {
inherit version;
inherit (src.meta) homepage;
description = "Guess PC-type hard disk partitions";
longDescription = ''

View File

@@ -1,8 +1,8 @@
{ stdenv, fetchurl, flac, fuse, lame, libid3tag, pkgconfig }:
let version = "0.91"; in
stdenv.mkDerivation rec {
name = "mp3fs-${version}";
version = "0.91";
src = fetchurl {
url = "https://github.com/khenriks/mp3fs/releases/download/v${version}/${name}.tar.gz";

View File

@@ -1,14 +1,18 @@
{ stdenv, fetchurl, ncurses }:
let version = "4.6.patch6"; in
stdenv.mkDerivation rec {
name = "clex-${version}";
version = "4.6.patch6";
src = fetchurl {
sha256 = "0bqa2hc9721d62cfsy5c7a5pzgh9b4px7g4q60xlybkwll19qbbp";
url = "${meta.homepage}/download/${name}.tar.gz";
};
buildInputs = [ ncurses ];
enableParallelBuilding = true;
meta = with stdenv.lib; {
description = "File manager with full-screen terminal interface";
longDescription = ''
@@ -23,8 +27,4 @@ stdenv.mkDerivation rec {
platforms = platforms.linux;
maintainers = with maintainers; [ nckx ];
};
buildInputs = [ ncurses ];
enableParallelBuilding = true;
}

View File

@@ -1,8 +1,8 @@
{ stdenv, fetchFromGitHub, libusb1 }:
let version = "2015-02-03"; in
stdenv.mkDerivation rec {
name = "ipad_charge-${version}";
version = "2015-02-03";
src = fetchFromGitHub {
sha256 = "0f40hqx1dbqpwrhyf42h5982jwqv8j5zp5hwwakz6600hyqvnnz7";
@@ -27,7 +27,6 @@ stdenv.mkDerivation rec {
'';
meta = with stdenv.lib; {
inherit version;
inherit (src.meta) homepage;
description = "Apple device USB charging utility for Linux";
longDescription = ''

View File

@@ -1,8 +1,8 @@
{ stdenv, fetchurl, gettext }:
let version = "2.5.2"; in
stdenv.mkDerivation rec {
name = "ms-sys-${version}";
version = "2.5.2";
src = fetchurl {
url = "mirror://sourceforge/ms-sys/${name}.tar.gz";
@@ -16,7 +16,6 @@ stdenv.mkDerivation rec {
makeFlags = [ "PREFIX=$(out)" ];
meta = with stdenv.lib; {
inherit version;
description = "A program for writing Microsoft compatible boot records";
homepage = http://ms-sys.sourceforge.net/;
license = licenses.gpl2Plus;

View File

@@ -1,8 +1,8 @@
{ stdenv, fetchFromGitHub, clang, curl, libzip, pkgconfig }:
let version = "1.1.0"; in
stdenv.mkDerivation {
stdenv.mkDerivation rec {
name = "tldr-${version}";
version = "1.1.0";
src = fetchFromGitHub {
sha256 = "0hxkrzp5njhy7c19v8i3svcb148f1jni7dlv36gc1nmcrz5izsiz";
@@ -23,7 +23,6 @@ stdenv.mkDerivation {
'';
meta = with stdenv.lib; {
inherit version;
description = "Simplified and community-driven man pages";
longDescription = ''
tldr pages gives common use cases for commands, so you don't need to hunt

View File

@@ -1,8 +1,8 @@
{ stdenv, fetchurl }:
let version = "1.2"; in
stdenv.mkDerivation {
stdenv.mkDerivation rec {
name = "dhcping-${version}";
version = "1.2";
src = fetchurl {
sha256 = "0sk4sg3hn88n44dxikipf3ggfj3ixrp22asb7nry9p0bkfaqdvrj";
@@ -14,7 +14,6 @@ stdenv.mkDerivation {
doCheck = true;
meta = with stdenv.lib; {
inherit version;
description = "Send DHCP request to find out if a DHCP server is running";
longDescription = ''
dhcping sends either a DHCPREQUEST or DHCPINFORM packet to the server
@@ -31,4 +30,4 @@ stdenv.mkDerivation {
platforms = platforms.linux;
maintainers = with maintainers; [ nckx ];
};
}
}

View File

@@ -1,8 +1,8 @@
{ stdenv, fetchFromGitHub, nettools }:
let version = "0.4.4"; in
stdenv.mkDerivation {
stdenv.mkDerivation rec {
name = "hans-${version}";
version = "0.4.4";
src = fetchFromGitHub {
sha256 = "1xskffmmdmg1whlrl5wpkv9z29vh0igrbmsz0b45s9v0761a7kis";
@@ -11,21 +11,6 @@ stdenv.mkDerivation {
owner = "friedrich";
};
meta = with stdenv.lib; {
inherit version;
description = "Tunnel IPv4 over ICMP";
longDescription = ''
Hans makes it possible to tunnel IPv4 through ICMP echo packets, so you
could call it a ping tunnel. This can be useful when you find yourself in
the situation that your Internet access is firewalled, but pings are
allowed.
'';
homepage = http://code.gerade.org/hans/;
license = licenses.gpl3Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ nckx ];
};
buildInputs = [ nettools ];
postPatch = ''
@@ -37,4 +22,18 @@ stdenv.mkDerivation {
installPhase = ''
install -D -m0755 hans $out/bin/hans
'';
meta = with stdenv.lib; {
description = "Tunnel IPv4 over ICMP";
longDescription = ''
Hans makes it possible to tunnel IPv4 through ICMP echo packets, so you
could call it a ping tunnel. This can be useful when you find yourself in
the situation that your Internet access is firewalled, but pings are
allowed.
'';
homepage = http://code.gerade.org/hans/;
license = licenses.gpl3Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ nckx ];
};
}

View File

@@ -1,8 +1,8 @@
{ stdenv, fetchurl }:
let version = "7.0.0"; in
stdenv.mkDerivation {
stdenv.mkDerivation rec {
name = "ip2location-${version}";
version = "7.0.0";
src = fetchurl {
sha256 = "05zbc02z7vm19byafi05i1rnkxc6yrfkhnm30ly68zzyipkmzx1l";
@@ -14,7 +14,6 @@ stdenv.mkDerivation {
doCheck = true;
meta = with stdenv.lib; {
inherit version;
description = "Look up locations of host names and IP addresses";
longDescription = ''
A command-line tool to find the country, region, city,coordinates,

View File

@@ -2,9 +2,9 @@
, geoip ? null, geolite-legacy ? null
, ip2location-database ? null }:
let version = "0.99.1"; in
stdenv.mkDerivation rec {
name = "ipv6calc-${version}";
version = "0.99.1";
src = fetchurl {
url = "ftp://ftp.deepspace6.net/pub/ds6/sources/ipv6calc/${name}.tar.gz";
@@ -39,7 +39,6 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
meta = with stdenv.lib; {
inherit version;
description = "Calculate/manipulate (not only) IPv6 addresses";
longDescription = ''
ipv6calc is a small utility to manipulate (not only) IPv6 addresses and

View File

@@ -2,9 +2,9 @@
, libnetfilter_conntrack, libnl, libpcap, libsodium, liburcu, ncurses, perl
, pkgconfig, zlib }:
let version = "0.6.0"; in
stdenv.mkDerivation {
stdenv.mkDerivation rec {
name = "netsniff-ng-${version}";
version = "0.6.0";
# Upstream recommends and supports git
src = fetchFromGitHub rec {
@@ -41,7 +41,6 @@ stdenv.mkDerivation {
'';
meta = with stdenv.lib; {
inherit version;
description = "Swiss army knife for daily Linux network plumbing";
longDescription = ''
netsniff-ng is a free Linux networking toolkit. Its gain of performance

View File

@@ -1,8 +1,8 @@
{ stdenv, fetchFromGitHub, libpcap }:
let version = "2015-03-06"; in
stdenv.mkDerivation rec {
name = "pcapc-${version}";
version = "2015-03-06";
src = fetchFromGitHub {
sha256 = "02j45wmxy8qcji0giwx3364pbqb6849s8y0xfvzx40g98mssl027";
@@ -24,7 +24,6 @@ stdenv.mkDerivation rec {
'';
meta = with stdenv.lib; {
inherit version;
inherit (src.meta) homepage;
description = "Compile libpcap filter expressions into BPF opcodes";
license = licenses.gpl3;

View File

@@ -1,8 +1,8 @@
{ stdenv, fetchgit, cmake }:
let version = "0.0.3"; in
stdenv.mkDerivation {
stdenv.mkDerivation rec {
name = "pingtcp-${version}";
version = "0.0.3";
# This project uses git submodules, which fetchFromGitHub doesn't support:
src = fetchgit {
@@ -27,7 +27,6 @@ stdenv.mkDerivation {
'';
meta = with stdenv.lib; {
inherit version;
description = "Measure TCP handshake time";
homepage = https://github.com/LanetNetwork/pingtcp;
license = licenses.gpl3;

View File

@@ -1,9 +1,8 @@
{ stdenv, fetchurl, perl, zlib, bzip2, xz, makeWrapper }:
let version = "1.18.4"; in
stdenv.mkDerivation {
stdenv.mkDerivation rec {
name = "dpkg-${version}";
version = "1.18.4";
src = fetchurl {
url = "mirror://debian/pool/main/d/dpkg/dpkg_${version}.tar.xz";

View File

@@ -1,8 +1,8 @@
{ stdenv, fetchurl, intltool, glib, pkgconfig, polkit, python, sqlite }:
let version = "1.0.8"; in
stdenv.mkDerivation {
stdenv.mkDerivation rec {
name = "packagekit-${version}";
version = "1.0.8";
src = fetchurl {
sha256 = "1vaxn4kwdwx6p03n88k4pnbd2l6lb0cbxpcs88kjack1jml17c3l";
@@ -53,7 +53,6 @@ stdenv.mkDerivation {
'';
meta = with stdenv.lib; {
inherit version;
description = "System to facilitate installing and updating packages";
longDescription = ''
PackageKit is a system designed to make installing and updating software

View File

@@ -1,9 +1,9 @@
{ stdenv, fetchFromGitHub, autoreconfHook, gtk3, nssTools, pcsclite
, pkgconfig }:
let version = "4.1.13"; in
stdenv.mkDerivation {
stdenv.mkDerivation rec {
name = "eid-mw-${version}";
version = "4.1.13";
src = fetchFromGitHub {
sha256 = "1fkazhw6gs191w789fnp6mwnxrx9p38b3kh5bngb1ir0zhkgghkq";
@@ -35,7 +35,6 @@ stdenv.mkDerivation {
'';
meta = with stdenv.lib; {
inherit version;
description = "Belgian electronic identity card (eID) middleware";
homepage = http://eid.belgium.be/en/using_your_eid/installing_the_eid_software/linux/;
license = licenses.lgpl3;

View File

@@ -1,8 +1,8 @@
{ stdenv, fetchurl, makeWrapper, jre, pcsclite }:
let version = "4.1.9"; in
stdenv.mkDerivation rec {
name = "eid-viewer-${version}";
version = "4.1.9";
src = fetchurl {
url = "https://downloads.services.belgium.be/eid/eid-viewer-${version}-v${version}.src.tar.gz";
@@ -29,7 +29,6 @@ stdenv.mkDerivation rec {
doCheck = true;
meta = with stdenv.lib; {
inherit version;
description = "Belgian electronic identity card (eID) viewer";
homepage = http://eid.belgium.be/en/using_your_eid/installing_the_eid_software/linux/;
license = licenses.lgpl3;

View File

@@ -1,8 +1,8 @@
{ stdenv, fetchurl }:
let version = "1.5.7"; in
stdenv.mkDerivation rec {
name = "foremost-${version}";
version = "1.5.7";
src = fetchurl {
sha256 = "0d2zxw0ijg8cd3ksgm8cf8jg128zr5x7z779jar90g9f47pm882h";
@@ -20,7 +20,6 @@ stdenv.mkDerivation rec {
'';
meta = with stdenv.lib; {
inherit version;
description = "Recover files based on their contents";
longDescription = ''
Foremost is a console program to recover files based on their headers,

View File

@@ -1,8 +1,8 @@
{ fetchurl, stdenv, libuuid, popt, icu, ncurses }:
let version = "1.0.1"; in
stdenv.mkDerivation rec {
name = "gptfdisk-${version}";
version = "1.0.1";
src = fetchurl {
# http://www.rodsbooks.com/gdisk/${name}.tar.gz also works, but the home
@@ -36,7 +36,6 @@ stdenv.mkDerivation rec {
'';
meta = with stdenv.lib; {
inherit version;
description = "Set of text-mode partitioning tools for Globally Unique Identifier (GUID) Partition Table (GPT) disks";
license = licenses.gpl2;
homepage = http://www.rodsbooks.com/gdisk/;

View File

@@ -1,8 +1,8 @@
{ stdenv, fetchurl }:
let version = "1.0.2"; in
stdenv.mkDerivation rec {
name = "suid-chroot-${version}";
version = "1.0.2";
src = fetchurl {
sha256 = "1a9xqhck0ikn8kfjk338h9v1yjn113gd83q0c50k78xa68xrnxjx";
@@ -14,7 +14,6 @@ stdenv.mkDerivation rec {
'';
meta = with stdenv.lib; {
inherit version;
description = "Setuid-safe wrapper for chroot";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ nckx ];

View File

@@ -1,8 +1,8 @@
{ stdenv, fetchFromGitHub }:
let version = "0.4.8"; in
stdenv.mkDerivation {
stdenv.mkDerivation rec {
name = "aha-${version}";
version = "0.4.8";
src = fetchFromGitHub {
sha256 = "1209rda6kc9x88b47y1035zs9lxk0x3qzsb87f8m5b55fdkgxqlj";
@@ -16,7 +16,6 @@ stdenv.mkDerivation {
enableParallelBuilding = true;
meta = with stdenv.lib; {
inherit version;
description = "ANSI HTML Adapter";
longDescription = ''
aha takes ANSI SGR-coloured input and produces W3C-conformant HTML code.