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,33 +1,15 @@
{ stdenv, fetchurl, cmake, coreutils, dbus, freetype, glib, gnused
, libpthreadstubs, pango, pkgconfig, libpulseaudio, which }:
let version = "4.10.2.2614"; in
stdenv.mkDerivation {
stdenv.mkDerivation rec {
name = "squeak-${version}";
version = "4.10.2.2614";
src = fetchurl {
sha256 = "0bpwbnpy2sb4gylchfx50sha70z36bwgdxraym4vrr93l8pd3dix";
url = "http://squeakvm.org/unix/release/Squeak-${version}-src.tar.gz";
};
meta = with stdenv.lib; {
inherit version;
description = "Smalltalk programming language and environment";
longDescription = ''
Squeak is a full-featured implementation of the Smalltalk programming
language and environment based on (and largely compatible with) the
original Smalltalk-80 system. Squeak has very powerful 2- and 3-D
graphics, sound, video, MIDI, animation and other multimedia
capabilities. It also includes a customisable framework for creating
dynamic HTTP servers and interactively extensible Web sites.
'';
homepage = http://squeakvm.org/;
downloadPage = http://squeakvm.org/unix/index.html;
license = with licenses; [ asl20 mit ];
platforms = platforms.linux;
maintainers = with maintainers; [ nckx ];
};
buildInputs = [ coreutils dbus freetype glib gnused libpthreadstubs
pango libpulseaudio which ];
nativeBuildInputs = [ cmake pkgconfig ];
@@ -44,4 +26,21 @@ stdenv.mkDerivation {
'';
enableParallelBuilding = true;
meta = with stdenv.lib; {
description = "Smalltalk programming language and environment";
longDescription = ''
Squeak is a full-featured implementation of the Smalltalk programming
language and environment based on (and largely compatible with) the
original Smalltalk-80 system. Squeak has very powerful 2- and 3-D
graphics, sound, video, MIDI, animation and other multimedia
capabilities. It also includes a customisable framework for creating
dynamic HTTP servers and interactively extensible Web sites.
'';
homepage = http://squeakvm.org/;
downloadPage = http://squeakvm.org/unix/index.html;
license = with licenses; [ asl20 mit ];
platforms = platforms.linux;
maintainers = with maintainers; [ nckx ];
};
}

View File

@@ -1,8 +1,8 @@
{ stdenv, fetchFromGitHub, readline }:
let version = "2015-05-04"; in
stdenv.mkDerivation {
stdenv.mkDerivation rec {
name = "picoc-${version}";
version = "2015-05-04";
src = fetchFromGitHub {
sha256 = "01w3jwl0vn9fsmh7p20ad4nl9ljzgfn576yvncd9pk9frx3pd8y4";
@@ -11,26 +11,6 @@ stdenv.mkDerivation {
owner = "zsaleeba";
};
meta = with stdenv.lib; {
inherit version;
description = "Very small C interpreter for scripting";
longDescription = ''
PicoC is a very small C interpreter for scripting. It was originally
written as a script language for a UAV's on-board flight system. It's
also very suitable for other robotic, embedded and non-embedded
applications. The core C source code is around 3500 lines of code. It's
not intended to be a complete implementation of ISO C but it has all the
essentials. When compiled it only takes a few k of code space and is also
very sparing of data space. This means it can work well in small embedded
devices.
'';
homepage = https://github.com/zsaleeba/picoc;
downloadPage = https://code.google.com/p/picoc/downloads/list;
license = licenses.bsd3;
platforms = platforms.linux;
maintainers = with maintainers; [ nckx ];
};
buildInputs = [ readline ];
postPatch = ''
@@ -50,4 +30,23 @@ stdenv.mkDerivation {
mkdir -p $out/include
install -m644 *.h $out/include
'';
meta = with stdenv.lib; {
description = "Very small C interpreter for scripting";
longDescription = ''
PicoC is a very small C interpreter for scripting. It was originally
written as a script language for a UAV's on-board flight system. It's
also very suitable for other robotic, embedded and non-embedded
applications. The core C source code is around 3500 lines of code. It's
not intended to be a complete implementation of ISO C but it has all the
essentials. When compiled it only takes a few k of code space and is also
very sparing of data space. This means it can work well in small embedded
devices.
'';
homepage = https://github.com/zsaleeba/picoc;
downloadPage = https://code.google.com/p/picoc/downloads/list;
license = licenses.bsd3;
platforms = platforms.linux;
maintainers = with maintainers; [ nckx ];
};
}

View File

@@ -1,8 +1,8 @@
{ stdenv, fetchFromGitLab, doxygen, glib, libaccounts-glib, pkgconfig, qtbase }:
let version = "1.13"; in
stdenv.mkDerivation {
stdenv.mkDerivation rec {
name = "accounts-qt-${version}";
version = "1.13";
src = fetchFromGitLab {
sha256 = "1gpkgw05dwsf2wk5cy3skgss3kw6mqh7iv3fadrxqxfc1za1xmyl";
@@ -11,17 +11,17 @@ stdenv.mkDerivation {
owner = "accounts-sso";
};
meta = with stdenv.lib; {
description = "Qt library for accessing the online accounts database";
homepage = "http://code.google.com/p/accounts-sso/";
license = licenses.lgpl21;
maintainers = with maintainers; [ nckx ];
};
buildInputs = [ glib libaccounts-glib qtbase ];
nativeBuildInputs = [ doxygen pkgconfig ];
configurePhase = ''
qmake PREFIX=$out LIBDIR=$out/lib CMAKE_CONFIG_PATH=$out/lib/cmake
'';
meta = with stdenv.lib; {
description = "Qt library for accessing the online accounts database";
homepage = "http://code.google.com/p/accounts-sso/";
license = licenses.lgpl21;
maintainers = with maintainers; [ nckx ];
};
}

View File

@@ -1,9 +1,9 @@
{ stdenv, fetchFromGitHub, icmake, libmilter, libX11, openssl, readline
, utillinux, yodl }:
let version = "4.00.00"; in
stdenv.mkDerivation {
stdenv.mkDerivation rec {
name = "bobcat-${version}";
version = "4.00.00";
src = fetchFromGitHub {
sha256 = "0wdb25sgw7i3jk3lbja6b4ipqfg1sncam6adg2bn8l5fcinrpwgs";
@@ -12,15 +12,6 @@ stdenv.mkDerivation {
owner = "fbb-git";
};
meta = with stdenv.lib; {
inherit version;
description = "Brokken's Own Base Classes And Templates";
homepage = https://fbb-git.github.io/bobcat/;
license = licenses.gpl3;
platforms = platforms.linux;
maintainers = with maintainers; [ nckx ];
};
buildInputs = [ libmilter libX11 openssl readline utillinux ];
nativeBuildInputs = [ icmake yodl ];
@@ -39,4 +30,12 @@ stdenv.mkDerivation {
installPhase = ''
./build install
'';
meta = with stdenv.lib; {
description = "Brokken's Own Base Classes And Templates";
homepage = https://fbb-git.github.io/bobcat/;
license = licenses.gpl3;
platforms = platforms.linux;
maintainers = with maintainers; [ nckx ];
};
}

View File

@@ -1,8 +1,8 @@
{ stdenv, fetchurl, autoreconfHook }:
let version = "7.0.2"; in # meta.homepage might change after a major update
stdenv.mkDerivation {
stdenv.mkDerivation rec {
name = "ip2location-c-${version}";
version = "7.0.2"; # meta.homepage might change after a major update
src = fetchurl {
sha256 = "1gs43qgcyfn83abrkhvvw1s67d1sbkbj3hab9m17ysn6swafiycx";
@@ -18,7 +18,6 @@ stdenv.mkDerivation {
doCheck = false;
meta = with stdenv.lib; {
inherit version;
description = "Library to look up locations of host names and IP addresses";
longDescription = ''
A C library to find the country, region, city,coordinates,

View File

@@ -1,8 +1,8 @@
{ stdenv, fetchFromGitHub }:
let version = "1.9.7"; in
stdenv.mkDerivation {
stdenv.mkDerivation rec {
name = "libcli-${version}";
version = "1.9.7";
src = fetchFromGitHub {
sha256 = "08pmjhqkwldhmcwjhi2l27slf1fk6nxxfaihnk2637pqkycy8z0c";

View File

@@ -1,8 +1,8 @@
{ stdenv, fetchFromGitHub, fftw, qtbase }:
let version = "2.1"; in
stdenv.mkDerivation {
stdenv.mkDerivation rec {
name = "libkeyfinder-${version}";
version = "2.1";
src = fetchFromGitHub {
sha256 = "07kc0cl6kirgmpdgkgmp6r3yvyf7b1w569z01g8rfl1cig80qdc7";
@@ -11,15 +11,6 @@ stdenv.mkDerivation {
owner = "ibsh";
};
meta = with stdenv.lib; {
inherit version;
description = "Musical key detection for digital audio (C++ library)";
homepage = http://www.ibrahimshaath.co.uk/keyfinder/;
license = licenses.gpl3Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ nckx ];
};
buildInputs = [ fftw qtbase ];
postPatch = ''
@@ -40,4 +31,12 @@ stdenv.mkDerivation {
mkdir -p $out/lib
cp -a lib*.so* $out/lib
'';
meta = with stdenv.lib; {
description = "Musical key detection for digital audio (C++ library)";
homepage = http://www.ibrahimshaath.co.uk/keyfinder/;
license = licenses.gpl3Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ nckx ];
};
}

View File

@@ -1,8 +1,8 @@
{ stdenv, fetchurl, pkgconfig, libnfnetlink, libmnl }:
let version = "1.0.5"; in
stdenv.mkDerivation rec {
name = "libnetfilter_conntrack-${version}";
version = "1.0.5";
src = fetchurl {
url = "http://netfilter.org/projects/libnetfilter_conntrack/files/${name}.tar.bz2";
@@ -14,7 +14,6 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkgconfig ];
meta = with stdenv.lib; {
inherit version;
description = "Userspace library providing an API to the in-kernel connection tracking state table";
longDescription = ''
libnetfilter_conntrack is a userspace library providing a programming interface (API) to the

View File

@@ -1,23 +1,14 @@
{ stdenv, fetchurl, autoreconfHook, libjpeg, libpng12, libX11, zlib }:
let version = "3.5.0.32"; in
stdenv.mkDerivation {
stdenv.mkDerivation rec {
name = "libxcomp-${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 library";
homepage = "http://wiki.x2go.org/doku.php/wiki:libs:nx-libs";
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = with maintainers; [ nckx ];
};
buildInputs = [ libjpeg libpng12 libX11 zlib ];
nativeBuildInputs = [ autoreconfHook ];
@@ -26,4 +17,12 @@ stdenv.mkDerivation {
'';
enableParallelBuilding = true;
meta = with stdenv.lib; {
description = "NX compression library";
homepage = "http://wiki.x2go.org/doku.php/wiki:libs:nx-libs";
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = with maintainers; [ nckx ];
};
}

View File

@@ -1,8 +1,8 @@
{ stdenv, fetchurl, ncurses }:
let version = "0.2.8"; in
stdenv.mkDerivation rec {
name = "rote-${version}";
version = "0.2.8";
src = fetchurl {
sha256 = "05v1lw99jv4cwxl7spyi7by61j2scpdsvx809x5cga7dm5dhlmky";
@@ -14,7 +14,6 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
meta = with stdenv.lib; {
inherit version;
description = "Our Own Terminal Emulation Library";
longDescription = ''
ROTE is a simple C library for VT102 terminal emulation. It allows the

View File

@@ -1,33 +1,14 @@
{ stdenv, fetchurl, jre, makeDesktopItem }:
let version = "4.2_2015-02-22"; in
stdenv.mkDerivation rec {
name = "alloy-${version}";
version = "4.2_2015-02-22";
src = fetchurl {
sha256 = "0p93v8jwx9prijpikkgmfdzb9qn8ljmvga5d9wvrkxddccjx9k28";
url = "http://alloy.mit.edu/alloy/downloads/alloy${version}.jar";
};
meta = with stdenv.lib; {
inherit version;
description = "Language & tool for relational models";
longDescription = ''
Alloy is a language for describing structures and a tool for exploring
them. An Alloy model is a collection of constraints that describes a set
of structures, e.g. all the possible security configurations of a web
application, or all the possible topologies of a switching network. The
Alloy Analyzer is a solver that takes the constraints of a model and
finds structures that satisfy them. Structures are displayed graphically,
and their appearance can be customized for the domain at hand.
'';
homepage = http://alloy.mit.edu/;
downloadPage = http://alloy.mit.edu/alloy/download.html;
license = licenses.mit;
platforms = platforms.linux;
maintainers = with maintainers; [ nckx ];
};
desktopItem = makeDesktopItem rec {
name = "alloy";
exec = name;
@@ -57,4 +38,22 @@ stdenv.mkDerivation rec {
install -Dm644 ${./icon.png} $out/share/pixmaps/alloy.png
cp -r ${desktopItem}/share/applications $out/share
'';
meta = with stdenv.lib; {
description = "Language & tool for relational models";
longDescription = ''
Alloy is a language for describing structures and a tool for exploring
them. An Alloy model is a collection of constraints that describes a set
of structures, e.g. all the possible security configurations of a web
application, or all the possible topologies of a switching network. The
Alloy Analyzer is a solver that takes the constraints of a model and
finds structures that satisfy them. Structures are displayed graphically,
and their appearance can be customized for the domain at hand.
'';
homepage = http://alloy.mit.edu/;
downloadPage = http://alloy.mit.edu/alloy/download.html;
license = licenses.mit;
platforms = platforms.linux;
maintainers = with maintainers; [ nckx ];
};
}

View File

@@ -1,16 +1,19 @@
{ stdenv, fetchurl, buildPerlPackage }:
let version = "1.10"; in
buildPerlPackage rec {
name = "egypt-${version}";
version = "1.10";
src = fetchurl {
sha256 = "0r0wj6v8z9fzlh9pb5617kyjdf92ppmlbzajaarrq729bbb6ln5m";
url = "http://www.gson.org/egypt/download/${name}.tar.gz";
};
enableParallelBuilding = true;
doCheck = true;
meta = with stdenv.lib; {
inherit version;
description = "Tool for making call graphs of C programmes";
longDescription = ''
Egypt is a simple tool for creating call graphs of C programs. It neither
@@ -25,8 +28,4 @@ buildPerlPackage rec {
platforms = platforms.linux;
maintainers = with maintainers; [ nckx ];
};
enableParallelBuilding = true;
doCheck = true;
}

View File

@@ -1,9 +1,9 @@
{ stdenv, fetchurl, cmake, llvmPackages }:
# Also bump llvmPackages in all-packages.nix to the supported version!
let version = "0.5"; in
stdenv.mkDerivation rec {
name = "include-what-you-use-${version}";
# Also bump llvmPackages in all-packages.nix to the supported version!
version = "0.5";
src = fetchurl {
sha256 = "19pwhgwvfr86n8ks099p9r02v7zh8d3qs7g7snzkhpdgq1azww85";
@@ -18,7 +18,6 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
meta = with stdenv.lib; {
inherit version;
description = "Analyze #includes in C/C++ source files with clang";
longDescription = ''
For every symbol (type, function variable, or macro) that you use in

View File

@@ -1,28 +1,14 @@
{ stdenv, fetchurl, jre }:
let version = "0_101"; in
stdenv.mkDerivation rec {
name = "cfr-${version}";
version = "0_101";
src = fetchurl {
sha256 = "0zwl3whypdm2qrw3hwaqjnifkb4wcdn8fx9scrjkli54bhr6dqch";
url = "http://www.benf.org/other/cfr/cfr_${version}.jar";
};
meta = with stdenv.lib; {
inherit version;
description = "Another java decompiler";
longDescription = ''
CFR will decompile modern Java features - Java 8 lambdas (pre and post
Java beta 103 changes), Java 7 String switches etc, but is written
entirely in Java 6.
'';
homepage = http://www.benf.org/other/cfr/;
license = licenses.mit;
platforms = platforms.all;
maintainers = with maintainers; [ nckx ];
};
buildInputs = [ jre ];
phases = [ "installPhase" ];
@@ -38,4 +24,17 @@ stdenv.mkDerivation rec {
EOF
install -Dm755 cfr $out/bin/cfr
'';
meta = with stdenv.lib; {
description = "Another java decompiler";
longDescription = ''
CFR will decompile modern Java features - Java 8 lambdas (pre and post
Java beta 103 changes), Java 7 String switches etc, but is written
entirely in Java 6.
'';
homepage = http://www.benf.org/other/cfr/;
license = licenses.mit;
platforms = platforms.all;
maintainers = with maintainers; [ nckx ];
};
}

View File

@@ -1,16 +1,20 @@
{ stdenv, fetchurl, libelf, txt2man }:
let version = "0.2"; in
stdenv.mkDerivation {
stdenv.mkDerivation rec {
name = "bin_replace_string-${version}";
version = "0.2";
src = fetchurl {
sha256 = "1gnpddxwpsfrg4l76x5yplsvbcdbviybciqpn22yq3g3qgnr5c2a";
url = "ftp://ohnopub.net/mirror/bin_replace_string-0.2.tar.bz2";
};
buildInputs = [ libelf ];
nativeBuildInputs = [ txt2man ];
enableParallelBuilding = true;
meta = with stdenv.lib; {
inherit version;
description = "Edit precompiled binaries";
longDescription = ''
bin_replace_string edits C-style strings in precompiled binaries. This is
@@ -25,9 +29,4 @@ stdenv.mkDerivation {
platforms = platforms.linux;
maintainers = with maintainers; [ nckx ];
};
buildInputs = [ libelf ];
nativeBuildInputs = [ txt2man ];
enableParallelBuilding = true;
}

View File

@@ -1,8 +1,8 @@
{ stdenv, fetchFromGitHub, bobcat, icmake, yodl }:
let version = "2.03.00"; in
stdenv.mkDerivation {
stdenv.mkDerivation rec {
name = "flexc++-${version}";
version = "2.03.00";
src = fetchFromGitHub {
sha256 = "1knb5h6l71n5zi9xzml5f6v7wspbk7vrcaiy2div8bnj7na3z717";
@@ -11,20 +11,6 @@ stdenv.mkDerivation {
owner = "fbb-git";
};
meta = with stdenv.lib; {
inherit version;
description = "C++ tool for generating lexical scanners";
longDescription = ''
Flexc++ was designed after `flex'. Flexc++ offers a cleaner class design
and requires simpler specification files than offered by flex's C++
option.
'';
homepage = https://fbb-git.github.io/flexcpp/;
license = licenses.gpl3;
platforms = platforms.linux;
maintainers = with maintainers; [ nckx ];
};
sourceRoot = "flexcpp-${version}-src/flexc++";
buildInputs = [ bobcat ];
@@ -48,4 +34,17 @@ stdenv.mkDerivation {
./build install skel
./build install std
'';
meta = with stdenv.lib; {
description = "C++ tool for generating lexical scanners";
longDescription = ''
Flexc++ was designed after `flex'. Flexc++ offers a cleaner class design
and requires simpler specification files than offered by flex's C++
option.
'';
homepage = https://fbb-git.github.io/flexcpp/;
license = licenses.gpl3;
platforms = platforms.linux;
maintainers = with maintainers; [ nckx ];
};
}