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,8 +1,8 @@
{ stdenv, fetchurl, libgcrypt, libnl, pkgconfig, pythonPackages, wireless-regdb }:
let version = "3.18"; in
stdenv.mkDerivation {
stdenv.mkDerivation rec {
name = "crda-${version}";
version = "3.18";
src = fetchurl {
sha256 = "1gydiqgb08d9gbx4l6gv98zg3pljc984m50hmn3ysxcbkxkvkz23";
@@ -36,7 +36,6 @@ stdenv.mkDerivation {
checkTarget = "verify";
meta = with stdenv.lib; {
inherit version;
description = "Linux wireless Central Regulatory Domain Agent";
longDescription = ''
CRDA acts as the udev helper for communication between the kernel and

View File

@@ -1,8 +1,8 @@
{ stdenv, fetchurl, python3, which }:
let version = "0.11"; in
stdenv.mkDerivation rec {
name = "fatrace-${version}";
version = "0.11";
src = fetchurl {
url = "http://launchpad.net/fatrace/trunk/${version}/+download/${name}.tar.bz2";
@@ -19,7 +19,6 @@ stdenv.mkDerivation rec {
makeFlags = [ "PREFIX=$(out)" ];
meta = with stdenv.lib; {
inherit version;
description = "Report system-wide file access events";
homepage = https://launchpad.net/fatrace/;
license = licenses.gpl3Plus;

View File

@@ -1,9 +1,8 @@
{ stdenv, fetchurl, b43FirmwareCutter }:
let version = "6.30.163.46"; in
stdenv.mkDerivation {
stdenv.mkDerivation rec {
name = "b43-firmware-${version}";
version = "6.30.163.46";
src = fetchurl {
url = "http://www.lwfinger.com/b43-firmware/broadcom-wl-${version}.tar.bz2";

View File

@@ -1,8 +1,8 @@
{ stdenv, fetchurl }:
let version = "4.3"; in
stdenv.mkDerivation {
stdenv.mkDerivation rec {
name = "freefall-${version}";
version = "4.3";
src = fetchurl {
sha256 = "1bpkr45i4yzp32p0vpnz8mlv9lk4q2q9awf1kg9khg4a9g42qqja";

View File

@@ -1,8 +1,8 @@
{ stdenv, fetchurl, ncurses }:
let version = "1.0"; in
stdenv.mkDerivation rec {
name = "ftop-${version}";
version = "1.0";
src = fetchurl {
url = "http://ftop.googlecode.com/files/${name}.tar.bz2";
@@ -22,7 +22,6 @@ stdenv.mkDerivation rec {
'';
meta = with stdenv.lib; {
inherit version;
description = "Show progress of open files and file systems";
homepage = https://code.google.com/p/ftop/;
license = licenses.gpl3Plus;

View File

@@ -1,8 +1,8 @@
{ stdenv, fetchurl, zlib }:
let version = "2.0.11"; in
stdenv.mkDerivation rec {
name = "kexec-tools-${version}";
version = "2.0.11";
src = fetchurl {
urls = [
@@ -15,7 +15,6 @@ stdenv.mkDerivation rec {
buildInputs = [ zlib ];
meta = with stdenv.lib; {
inherit version;
homepage = http://horms.net/projects/kexec/kexec-tools;
description = "Tools related to the kexec Linux feature";
platforms = platforms.linux;

View File

@@ -1,8 +1,8 @@
{ stdenv, fetchFromGitHub }:
let version = "129"; in
stdenv.mkDerivation {
stdenv.mkDerivation rec {
name = "mcelog-${version}";
version = "129";
src = fetchFromGitHub {
sha256 = "143xh5zvgax88yhg6mg6img64nrda85yybf76fgsk7a8gc57ghyk";
@@ -25,7 +25,6 @@ stdenv.mkDerivation {
installFlags = [ "DESTDIR=$(out)" "prefix=" "DOCDIR=/share/doc" ];
meta = with stdenv.lib; {
inherit version;
description = "Log x86 machine checks: memory, IO, and CPU hardware errors";
longDescription = ''
The mcelog daemon accounts memory and some other errors in various ways

View File

@@ -1,8 +1,8 @@
{ stdenv, fetchFromGitHub, pkgconfig, gettext, ncurses, libdrm, libpciaccess }:
let version = "2015-11-24"; in
stdenv.mkDerivation {
stdenv.mkDerivation rec {
name = "radeontop-${version}";
version = "2015-11-24";
src = fetchFromGitHub {
sha256 = "0irwq6rps5mnban8cxbrm59wpyv4j80q3xdjm9fxvfpiyys2g2hz";
@@ -23,7 +23,6 @@ stdenv.mkDerivation {
makeFlags = [ "PREFIX=$(out)" ];
meta = with stdenv.lib; {
inherit version;
description = "Top-like tool for viewing AMD Radeon GPU utilization";
longDescription = ''
View GPU utilization, both for the total activity percent and individual

View File

@@ -1,8 +1,8 @@
{ stdenv, fetchgit, cmake }:
let version = "2015-09-25"; in
stdenv.mkDerivation {
stdenv.mkDerivation rec {
name = "uksmtools-${version}";
version = "2015-09-25";
# This project uses git submodules, which fetchFromGitHub doesn't support:
src = fetchgit {
@@ -18,7 +18,6 @@ stdenv.mkDerivation {
doCheck = false;
meta = with stdenv.lib; {
inherit version;
description = "Tools to control Linux UKSM (Ultra Kernel Same-page Merging)";
homepage = https://github.com/pfactum/uksmtools/;
license = licenses.gpl3Plus;