git.iko.soy/typeable/nixpkgs
on master help sign in
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.

commit9fb8020e4ec2e74e39a8f28dfb3ef18a70bd1eef authorTobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com> dateSun 24 Jan 2016, 20:31 (11 years ago) parent7b6454c
78 files changed+309−374
pkgs/applications/audio/fmit/default.nix+2−3 pkgs/applications/audio/id3v2/default.nix+2−2 pkgs/applications/audio/keyfinder-cli/default.nix+1−2 pkgs/applications/audio/keyfinder/default.nix+17−18 pkgs/applications/editors/neovim/default.nix+7−4 pkgs/applications/graphics/apitrace/default.nix+2−3 pkgs/applications/graphics/simple-scan/default.nix+1−2 pkgs/applications/graphics/swingsane/default.nix+1−2 pkgs/applications/networking/feedreaders/rawdog/default.nix+1−2 pkgs/applications/networking/feedreaders/rsstail/default.nix+1−2 pkgs/applications/networking/remote/x2goclient/default.nix+9−9 pkgs/applications/networking/vnstat/default.nix+1−2 pkgs/applications/version-management/git-and-tools/git-bz/default.nix+2−4 pkgs/applications/version-management/git-and-tools/git-hub/default.nix+1−2 pkgs/applications/video/clipgrab/default.nix+1−2 pkgs/applications/video/minitube/default.nix+15−16 pkgs/applications/virtualization/remotebox/default.nix+2−3 pkgs/data/documentation/man-pages/default.nix+1−2 pkgs/data/fonts/hack/default.nix+2−3 pkgs/data/misc/sound-theme-freedesktop/default.nix+1−2 pkgs/data/misc/wireless-regdb/default.nix+2−3 pkgs/development/compilers/squeak/default.nix+19−20 pkgs/development/interpreters/picoc/default.nix+21−22 pkgs/development/libraries/accounts-qt/default.nix+9−9 pkgs/development/libraries/bobcat/default.nix+10−11 pkgs/development/libraries/ip2location-c/default.nix+2−3 pkgs/development/libraries/libcli/default.nix+2−2 pkgs/development/libraries/libkeyfinder/default.nix+10−11 pkgs/development/libraries/libnetfilter_conntrack/default.nix+1−2 pkgs/development/libraries/libxcomp/default.nix+10−11 pkgs/development/libraries/rote/default.nix+1−2 pkgs/development/tools/alloy/default.nix+19−20 pkgs/development/tools/analysis/egypt/default.nix+5−6 pkgs/development/tools/analysis/include-what-you-use/default.nix+2−3 pkgs/development/tools/java/cfr/default.nix+14−15 pkgs/development/tools/misc/bin_replace_string/default.nix+7−8 pkgs/development/tools/parsing/flexc++/default.nix+15−16 pkgs/games/2048-in-terminal/default.nix+1−2 pkgs/games/soi/default.nix+1−1 pkgs/misc/cups/drivers/samsung/default.nix+3−3 pkgs/os-specific/linux/crda/default.nix+2−3 pkgs/os-specific/linux/fatrace/default.nix+1−2 pkgs/os-specific/linux/firmware/b43-firmware/6.30.163.46.nix+2−3 pkgs/os-specific/linux/freefall/default.nix+2−2 pkgs/os-specific/linux/ftop/default.nix+1−2 pkgs/os-specific/linux/kexectools/default.nix+1−2 pkgs/os-specific/linux/mcelog/default.nix+2−3 pkgs/os-specific/linux/radeontop/default.nix+2−3 pkgs/os-specific/linux/uksmtools/default.nix+2−3 pkgs/shells/mksh/default.nix+2−3 pkgs/tools/admin/nxproxy/default.nix+10−11 pkgs/tools/cd-dvd/dvdisaster/default.nix+1−2 pkgs/tools/compression/lz4/default.nix+1−2 pkgs/tools/compression/zopfli/default.nix+1−2 pkgs/tools/filesystems/duff/default.nix+4−5 pkgs/tools/filesystems/encfs/default.nix+2−2 pkgs/tools/filesystems/exfat/default.nix+1−2 pkgs/tools/filesystems/gpart/default.nix+1−2 pkgs/tools/filesystems/mp3fs/default.nix+1−1 pkgs/tools/misc/clex/default.nix+5−5 pkgs/tools/misc/ipad_charge/default.nix+1−2 pkgs/tools/misc/ms-sys/default.nix+1−2 pkgs/tools/misc/tldr/default.nix+2−3 pkgs/tools/networking/dhcping/default.nix+3−4 pkgs/tools/networking/hans/default.nix+14−15 pkgs/tools/networking/ip2location/default.nix+2−3 pkgs/tools/networking/ipv6calc/default.nix+1−2 pkgs/tools/networking/netsniff-ng/default.nix+2−3 pkgs/tools/networking/pcapc/default.nix+1−2 pkgs/tools/networking/pingtcp/default.nix+2−3 pkgs/tools/package-management/dpkg/default.nix+2−3 pkgs/tools/package-management/packagekit/default.nix+2−3 pkgs/tools/security/eid-mw/default.nix+2−3 pkgs/tools/security/eid-viewer/default.nix+1−2 pkgs/tools/system/foremost/default.nix+1−2 pkgs/tools/system/gptfdisk/default.nix+1−2 pkgs/tools/system/suid-chroot/default.nix+1−2 pkgs/tools/text/aha/default.nix+2−3
pkgs/applications/audio/fmit/default.nix+2−3
@@ -7,9 +7,9 @@ assert alsaSupport -> alsaLib != null;
77assert jackSupport -> libjack2 != null;
88assert portaudioSupport -> portaudio != null;
99
10−let version = "1.0.8"; in
11−stdenv.mkDerivation {
10+stdenv.mkDerivation rec {
1211 name = "fmit-${version}";
12+ version = "1.0.8";
1313
1414 src = fetchFromGitHub {
1515 sha256 = "04s7xcgmi5g58lirr48vf203n1jwdxf981x1p6ysbax24qwhs2kd";
@@ -37,7 +37,6 @@ stdenv.mkDerivation {
3737 enableParallelBuilding = true;
3838
3939 meta = with stdenv.lib; {
40− inherit version;
4140 description = "Free Musical Instrument Tuner";
4241 longDescription = ''
4342 FMIT is a graphical utility for tuning musical instruments, with error
pkgs/applications/audio/id3v2/default.nix+2−2
@@ -1,8 +1,9 @@
11{stdenv, fetchurl, id3lib, groff, zlib}:
22
3−let version = "0.1.12"; in
43stdenv.mkDerivation rec {
54 name = "id3v2-${version}";
5+ version = "0.1.12";
6+
67 src = fetchurl {
78 url = "mirror://sourceforge/id3v2/${name}.tar.gz";
89 sha256 = "1gr22w8gar7zh5pyyvdy7cy26i47l57jp1l1nd60xfwx339zl1c1";
@@ -19,7 +20,6 @@ stdenv.mkDerivation rec {
1920 '';
2021
2122 meta = with stdenv.lib; {
22− inherit version;
2323 description = "A command line editor for id3v2 tags";
2424 homepage = http://id3v2.sourceforge.net/;
2525 license = licenses.gpl2Plus;
pkgs/applications/audio/keyfinder-cli/default.nix+1−2
@@ -1,8 +1,8 @@
11{ stdenv, fetchFromGitHub, libav, libkeyfinder }:
22
3−let version = "2015-09-13"; in
43stdenv.mkDerivation rec {
54 name = "keyfinder-cli-${version}";
5+ version = "2015-09-13";
66
77 src = fetchFromGitHub {
88 repo = "keyfinder-cli";
@@ -18,7 +18,6 @@ stdenv.mkDerivation rec {
1818 enableParallelBuilding = true;
1919
2020 meta = with stdenv.lib; {
21− inherit version;
2221 inherit (src.meta) homepage;
2322 description = "Musical key detection for digital audio (command-line tool)";
2423 longDescription = ''
pkgs/applications/audio/keyfinder/default.nix+17−18
@@ -1,8 +1,8 @@
11{ stdenv, fetchFromGitHub, libav_0_8, libkeyfinder, qtbase, qtxmlpatterns, taglib }:
22
3−let version = "2.1"; in
4−stdenv.mkDerivation {
3+stdenv.mkDerivation rec {
54 name = "keyfinder-${version}";
5+ version = "2.1";
66
77 src = fetchFromGitHub {
88 sha256 = "0j9k90ll4cr8j8dywb6zf1bs9vijlx7m4zsh6w9hxwrr7ymz89hn";
@@ -11,8 +11,22 @@ stdenv.mkDerivation {
1111 owner = "ibsh";
1212 };
1313
14+ buildInputs = [ libav_0_8 libkeyfinder qtbase qtxmlpatterns taglib ];
15+
16+ postPatch = ''
17+ substituteInPlace is_KeyFinder.pro \
18+ --replace "keyfinder.0" "keyfinder" \
19+ --replace '$$[QT_INSTALL_PREFIX]' "$out" \
20+ --replace "-stdlib=libc++" ""
21+ '';
22+
23+ configurePhase = ''
24+ qmake
25+ '';
26+
27+ enableParallelBuilding = true;
28+
1429 meta = with stdenv.lib; {
15− inherit version;
1630 description = "Musical key detection for digital audio (graphical UI)";
1731 longDescription = ''
1832 KeyFinder is an open source key detection tool, for DJs interested in
@@ -28,19 +42,4 @@ stdenv.mkDerivation {
2842 platforms = platforms.linux;
2943 maintainers = with maintainers; [ nckx ];
3044 };
31−
32− buildInputs = [ libav_0_8 libkeyfinder qtbase qtxmlpatterns taglib ];
33−
34− postPatch = ''
35− substituteInPlace is_KeyFinder.pro \
36− --replace "keyfinder.0" "keyfinder" \
37− --replace '$$[QT_INSTALL_PREFIX]' "$out" \
38− --replace "-stdlib=libc++" ""
39− '';
40−
41− configurePhase = ''
42− qmake
43− '';
44−
45− enableParallelBuilding = true;
4645}
pkgs/applications/editors/neovim/default.nix+7−4
@@ -15,11 +15,10 @@ with stdenv.lib;
1515
1616let
1717
18− version = "0.1.1";
19−
2018 # Note: this is NOT the libvterm already in nixpkgs, but some NIH silliness:
21− neovimLibvterm = let version = "2015-11-06"; in stdenv.mkDerivation {
19+ neovimLibvterm = stdenv.mkDerivation rec {
2220 name = "neovim-libvterm-${version}";
21+ version = "2015-11-06";
2322
2423 src = fetchFromGitHub {
2524 sha256 = "0f9r0wnr9ajcdd6as24igmch0n8s1annycb9f4k0vg6fngwaypy9";
@@ -59,8 +58,9 @@ let
5958 ignoreCollisions = true;
6059 };
6160
62− neovim = stdenv.mkDerivation {
61+ neovim = stdenv.mkDerivation rec {
6362 name = "neovim-${version}";
63+ version = "0.1.1";
6464
6565 src = fetchFromGitHub {
6666 sha256 = "0crswjslp687yp1cpn7nmm0j2sccqhcxryzxv1s81cgpai0fzf60";
@@ -146,7 +146,10 @@ let
146146
147147in if (vimAlias == false && configure == null) then neovim else stdenv.mkDerivation {
148148 name = "neovim-${version}-configured";
149+ inherit (neovim) version;
150+
149151 nativeBuildInputs = [ makeWrapper ];
152+
150153 buildCommand = ''
151154 mkdir -p $out/bin
152155 for item in ${neovim}/bin/*; do
pkgs/applications/graphics/apitrace/default.nix+2−3
@@ -1,8 +1,8 @@
11{ stdenv, fetchFromGitHub, cmake, libX11, procps, python, qtbase }:
22
3−let version = "7.1"; in
4−stdenv.mkDerivation {
3+stdenv.mkDerivation rec {
54 name = "apitrace-${version}";
5+ version = "7.1";
66
77 src = fetchFromGitHub {
88 sha256 = "1n2gmsjnpyam7isg7n1ksggyh6y1l8drvx0a93bnvbcskr7jiz9a";
@@ -20,7 +20,6 @@ stdenv.mkDerivation {
2020 '';
2121
2222 meta = with stdenv.lib; {
23− inherit version;
2423 homepage = https://apitrace.github.io;
2524 description = "Tools to trace OpenGL, OpenGL ES, Direct3D, and DirectDraw APIs";
2625 license = licenses.mit;
pkgs/applications/graphics/simple-scan/default.nix+1−2
@@ -1,9 +1,9 @@
11{ stdenv, fetchurl, cairo, colord, glib, gtk3, gusb, intltool, itstool
22, libusb1, libxml2, pkgconfig, sane-backends, vala, wrapGAppsHook }:
33
4−let version = "3.19.4"; in
54stdenv.mkDerivation rec {
65 name = "simple-scan-${version}";
6+ version = "3.19.4";
77
88 src = fetchurl {
99 sha256 = "1v9sify1s38qd5sfg26m7sdg9bkrfmai2nijs4wzah7xa9p23c83";
@@ -26,7 +26,6 @@ stdenv.mkDerivation rec {
2626 doCheck = true;
2727
2828 meta = with stdenv.lib; {
29− inherit version;
3029 description = "Simple scanning utility";
3130 longDescription = ''
3231 A really easy way to scan both documents and photos. You can crop out the
pkgs/applications/graphics/swingsane/default.nix+1−2
@@ -1,8 +1,8 @@
11{ stdenv, fetchurl, makeDesktopItem, unzip, jre }:
22
3−let version = "0.2"; in
43stdenv.mkDerivation rec {
54 name = "swingsane-${version}";
5+ version = "0.2";
66
77 src = fetchurl {
88 sha256 = "15pgqgyw46yd2i367ax9940pfyvinyw2m8apmwhrn0ix5nywa7ni";
@@ -44,7 +44,6 @@ stdenv.mkDerivation rec {
4444 '';
4545
4646 meta = with stdenv.lib; {
47− inherit version;
4847 description = "Java GUI for SANE scanner servers (saned)";
4948 longDescription = ''
5049 SwingSane is a powerful, cross platform, open source Java front-end for
pkgs/applications/networking/feedreaders/rawdog/default.nix+1−2
@@ -1,8 +1,8 @@
11{ stdenv, fetchurl, pythonPackages }:
22
3−let version = "2.21"; in
43pythonPackages.buildPythonPackage rec {
54 name = "rawdog-${version}";
5+ version = "2.21";
66
77 src = fetchurl {
88 url = "http://offog.org/files/${name}.tar.gz";
@@ -14,7 +14,6 @@ pythonPackages.buildPythonPackage rec {
1414 namePrefix = "";
1515
1616 meta = with stdenv.lib; {
17− inherit version;
1817 homepage = "http://offog.org/code/rawdog/";
1918 description = "RSS Aggregator Without Delusions Of Grandeur";
2019 license = licenses.gpl2;
pkgs/applications/networking/feedreaders/rsstail/default.nix+1−2
@@ -1,8 +1,8 @@
11{ stdenv, fetchFromGitHub, cppcheck, libmrss }:
22
3−let version = "2.1"; in
43stdenv.mkDerivation rec {
54 name = "rsstail-${version}";
5+ version = "2.1";
66
77 src = fetchFromGitHub {
88 sha256 = "12p69i3g1fwlw0bds9jqsdmzkid3k5a41w31d227i7vm12wcvjf6";
@@ -24,7 +24,6 @@ stdenv.mkDerivation rec {
2424 doCheck = true;
2525
2626 meta = with stdenv.lib; {
27− inherit version;
2827 description = "Monitor RSS feeds for new entries";
2928 longDescription = ''
3029 RSSTail is more or less an RSS reader: it monitors an RSS feed and if it
pkgs/applications/networking/remote/x2goclient/default.nix+9−9
@@ -1,22 +1,14 @@
11{ stdenv, fetchurl, cups, libssh, libXpm, nxproxy, openldap, makeWrapper, qt4 }:
22
3−let version = "4.0.5.0"; in
43stdenv.mkDerivation rec {
54 name = "x2goclient-${version}";
5+ version = "4.0.5.0";
66
77 src = fetchurl {
88 url = "http://code.x2go.org/releases/source/x2goclient/${name}.tar.gz";
99 sha256 = "18a2pszh0nq2ir64a1ah1mlzddn4qcd12b339bv30n0y1ir92bi4";
1010 };
1111
12− meta = with stdenv.lib; {
13− description = "Graphical NoMachine NX3 remote desktop client";
14− homepage = http://x2go.org/;
15− license = licenses.gpl2;
16− platforms = platforms.linux;
17− maintainers = with maintainers; [ nckx ];
18− };
19−
2012 buildInputs = [ cups libssh libXpm nxproxy openldap qt4 ];
2113 nativeBuildInputs = [ makeWrapper ];
2214
@@ -35,4 +27,12 @@ stdenv.mkDerivation rec {
3527 postInstall = ''
3628 wrapProgram "$out/bin/x2goclient" --suffix PATH : "${nxproxy}/bin";
3729 '';
30+
31+ meta = with stdenv.lib; {
32+ description = "Graphical NoMachine NX3 remote desktop client";
33+ homepage = http://x2go.org/;
34+ license = licenses.gpl2;
35+ platforms = platforms.linux;
36+ maintainers = with maintainers; [ nckx ];
37+ };
3838}
pkgs/applications/networking/vnstat/default.nix+1−2
@@ -1,8 +1,8 @@
11{ stdenv, fetchurl, gd, ncurses }:
22
3−let version = "1.15"; in
43stdenv.mkDerivation rec {
54 name = "vnstat-${version}";
5+ version = "1.15";
66
77 src = fetchurl {
88 sha256 = "0fdw3nbrfm4acv48r0934ls6ld5lwkff3gyym2c72qlbm9dlp0f3";
@@ -16,7 +16,6 @@ stdenv.mkDerivation rec {
1616 '';
1717
1818 meta = with stdenv.lib; {
19− inherit version;
2019 description = "Console-based network statistics utility for Linux";
2120 longDescription = ''
2221 vnStat is a console-based network traffic monitor for Linux and BSD that
pkgs/applications/version-management/git-and-tools/git-bz/default.nix+2−4
@@ -2,9 +2,9 @@
22, asciidoc, docbook_xml_dtd_45, docbook_xsl, libxslt, makeWrapper, xmlto
33, pythonPackages }:
44
5−let version = "3.2015-09-08"; in
6−stdenv.mkDerivation {
5+stdenv.mkDerivation rec {
76 name = "git-bz-${version}";
7+ version = "3.2015-09-08";
88
99 src = fetchgit {
1010 sha256 = "19d9c81d4eeabe87079d8f60e4cfa7303f776f5a7c9874642cf2bd188851d029";
@@ -12,7 +12,6 @@ stdenv.mkDerivation {
1212 url = "git://git.fishsoup.net/git-bz";
1313 };
1414
15−
1615 nativeBuildInputs = [
1716 asciidoc docbook_xml_dtd_45 docbook_xsl libxslt makeWrapper xmlto
1817 ];
@@ -32,7 +31,6 @@ stdenv.mkDerivation {
3231 '';
3332
3433 meta = with stdenv.lib; {
35− inherit version;
3634 description = "Bugzilla integration for git";
3735 longDescription = ''
3836 git-bz is a tool for integrating the Git command line with the
pkgs/applications/version-management/git-and-tools/git-hub/default.nix+1−2
@@ -1,8 +1,8 @@
11{ stdenv, fetchFromGitHub, docutils, python }:
22
3−let version = "0.9.0"; in
43stdenv.mkDerivation rec {
54 name = "git-hub-${version}";
5+ version = "0.9.0";
66
77 src = fetchFromGitHub {
88 sha256 = "0c4kq4a906lr8nzway7qh0560n2ydvidh9rlffh44902rd48kp0h";
@@ -29,7 +29,6 @@ stdenv.mkDerivation rec {
2929 '';
3030
3131 meta = with stdenv.lib; {
32− inherit version;
3332 inherit (src.meta) homepage;
3433 description = "Git command line interface to GitHub";
3534 longDescription = ''
pkgs/applications/video/clipgrab/default.nix+1−2
@@ -1,8 +1,8 @@
11{ stdenv, fetchurl, makeDesktopItem, ffmpeg, qt4 }:
22
3−let version = "3.5.6"; in
43stdenv.mkDerivation rec {
54 name = "clipgrab-${version}";
5+ version = "3.5.6";
66
77 src = fetchurl {
88 sha256 = "0wm6hqaq6ydbvvd0fqkfydxd5h7gf4di7lvq63xgxl4z40jqc25n";
@@ -41,7 +41,6 @@ stdenv.mkDerivation rec {
4141 '';
4242
4343 meta = with stdenv.lib; {
44− inherit version;
4544 description = "Video downloader for YouTube and other sites";
4645 longDescription = ''
4746 ClipGrab is a free downloader and converter for YouTube, Vimeo, Metacafe,
pkgs/applications/video/minitube/default.nix+15−16
@@ -2,9 +2,9 @@
22# "Free" API key generated by nckx <tobias.geerinckx.rice@gmail.com>
33, withAPIKey ? "AIzaSyBtFgbln3bu1swQC-naMxMtKh384D3xJZE" }:
44
5−let version = "2.4"; in
6−stdenv.mkDerivation {
5+stdenv.mkDerivation rec {
76 name = "minitube-${version}";
7+ version = "2.4";
88
99 src = fetchFromGitHub {
1010 sha256 = "0mm8v2vpspwxh2fqaykb381v6r9apywc1b0x8jkcbp7s43w10lp5";
@@ -13,20 +13,6 @@ stdenv.mkDerivation {
1313 owner = "flaviotordini";
1414 };
1515
16− meta = with stdenv.lib; {
17− inherit version;
18− description = "Stand-alone YouTube video player";
19− longDescription = ''
20− Watch YouTube videos in a new way: you type a keyword, Minitube gives
21− you an endless video stream. Minitube is not about cloning the YouTube
22− website, it aims to create a new TV-like experience.
23− '';
24− homepage = http://flavio.tordini.org/minitube;
25− license = licenses.gpl3Plus;
26− platforms = platforms.linux;
27− maintainers = with maintainers; [ nckx ];
28− };
29−
3016 buildInputs = [ phonon phonon_backend_vlc qt4 ];
3117 nativeBuildInputs = [ makeWrapper ];
3218
@@ -40,4 +26,17 @@ stdenv.mkDerivation {
4026 wrapProgram $out/bin/minitube \
4127 --prefix QT_PLUGIN_PATH : "${phonon_backend_vlc}/lib/kde4/plugins"
4228 '';
29+
30+ meta = with stdenv.lib; {
31+ description = "Stand-alone YouTube video player";
32+ longDescription = ''
33+ Watch YouTube videos in a new way: you type a keyword, Minitube gives
34+ you an endless video stream. Minitube is not about cloning the YouTube
35+ website, it aims to create a new TV-like experience.
36+ '';
37+ homepage = http://flavio.tordini.org/minitube;
38+ license = licenses.gpl3Plus;
39+ platforms = platforms.linux;
40+ maintainers = with maintainers; [ nckx ];
41+ };
4342}
pkgs/applications/virtualization/remotebox/default.nix+2−3
@@ -1,8 +1,8 @@
11{ stdenv, fetchurl, makeWrapper, perl, perlPackages }:
22
3−let version = "2.0"; in
4−stdenv.mkDerivation {
3+stdenv.mkDerivation rec {
54 name = "remotebox-${version}";
5+ version = "2.0";
66
77 src = fetchurl {
88 url = "http://remotebox.knobgoblin.org.uk/downloads/RemoteBox-${version}.tar.bz2";
@@ -26,7 +26,6 @@ stdenv.mkDerivation {
2626 '';
2727
2828 meta = with stdenv.lib; {
29− inherit version;
3029 description = "VirtualBox client with remote management";
3130 homepage = http://remotebox.knobgoblin.org.uk/;
3231 license = licenses.gpl2Plus;
pkgs/data/documentation/man-pages/default.nix+1−2
@@ -1,8 +1,8 @@
11{ stdenv, fetchurl }:
22
3−let version = "4.04"; in
43stdenv.mkDerivation rec {
54 name = "man-pages-${version}";
5+ version = "4.04";
66
77 src = fetchurl {
88 url = "mirror://kernel/linux/docs/man-pages/${name}.tar.xz";
@@ -12,7 +12,6 @@ stdenv.mkDerivation rec {
1212 makeFlags = [ "MANDIR=$(out)/share/man" ];
1313
1414 meta = with stdenv.lib; {
15− inherit version;
1615 description = "Linux development manual pages";
1716 homepage = http://www.kernel.org/doc/man-pages/;
1817 repositories.git = http://git.kernel.org/pub/scm/docs/man-pages/man-pages;
pkgs/data/fonts/hack/default.nix+2−3
@@ -1,8 +1,8 @@
11{ stdenv, fetchurl, unzip }:
22
3−let version = "2.019"; in
4−stdenv.mkDerivation {
3+stdenv.mkDerivation rec {
54 name = "hack-font-${version}";
5+ version = "2.019";
66
77 src = let
88 version_ = with stdenv.lib;
@@ -22,7 +22,6 @@ stdenv.mkDerivation {
2222 '';
2323
2424 meta = with stdenv.lib; {
25− inherit version;
2625 description = "A typeface designed for source code";
2726 longDescription = ''
2827 Hack is hand groomed and optically balanced to be a workhorse face for
pkgs/data/misc/sound-theme-freedesktop/default.nix+1−2
@@ -1,8 +1,8 @@
11{ stdenv, fetchurl, intltool }:
22
3−let version = "0.8"; in
43stdenv.mkDerivation rec {
54 name = "sound-theme-freedesktop-${version}";
5+ version = "0.8";
66
77 src = fetchurl {
88 sha256 = "054abv4gmfk9maw93fis0bf605rc56dah7ys5plc4pphxqh8nlfb";
@@ -12,7 +12,6 @@ stdenv.mkDerivation rec {
1212 nativeBuildInputs = [ intltool ];
1313
1414 meta = with stdenv.lib; {
15− inherit version;
1615 description = "Freedesktop reference sound theme";
1716 homepage = http://freedesktop.org/wiki/Specifications/sound-theme-spec;
1817 # See http://cgit.freedesktop.org/sound-theme-freedesktop/tree/CREDITS:
pkgs/data/misc/wireless-regdb/default.nix+2−3
@@ -1,8 +1,8 @@
11{ stdenv, fetchgit }:
22
3−let version = "2015-12-14"; in
4−stdenv.mkDerivation {
3+stdenv.mkDerivation rec {
54 name = "wireless-regdb-${version}";
5+ version = "2015-12-14";
66
77 src = fetchgit {
88 sha256 = "1ldfcxn3mdb104czy78b7nj1clsbfp8fc6mshix98zq0bg4k7rsm";
@@ -18,7 +18,6 @@ stdenv.mkDerivation {
1818 ];
1919
2020 meta = with stdenv.lib; {
21− inherit version;
2221 description = "Wireless regulatory database for CRDA";
2322 homepage = http://wireless.kernel.org/en/developers/Regulatory/;
2423 license = licenses.isc;
pkgs/development/compilers/squeak/default.nix+19−20
@@ -1,33 +1,15 @@
11{ stdenv, fetchurl, cmake, coreutils, dbus, freetype, glib, gnused
22, libpthreadstubs, pango, pkgconfig, libpulseaudio, which }:
33
4−let version = "4.10.2.2614"; in
5−stdenv.mkDerivation {
4+stdenv.mkDerivation rec {
65 name = "squeak-${version}";
6+ version = "4.10.2.2614";
77
88 src = fetchurl {
99 sha256 = "0bpwbnpy2sb4gylchfx50sha70z36bwgdxraym4vrr93l8pd3dix";
1010 url = "http://squeakvm.org/unix/release/Squeak-${version}-src.tar.gz";
1111 };
1212
13− meta = with stdenv.lib; {
14− inherit version;
15− description = "Smalltalk programming language and environment";
16− longDescription = ''
17− Squeak is a full-featured implementation of the Smalltalk programming
18− language and environment based on (and largely compatible with) the
19− original Smalltalk-80 system. Squeak has very powerful 2- and 3-D
20− graphics, sound, video, MIDI, animation and other multimedia
21− capabilities. It also includes a customisable framework for creating
22− dynamic HTTP servers and interactively extensible Web sites.
23− '';
24− homepage = http://squeakvm.org/;
25− downloadPage = http://squeakvm.org/unix/index.html;
26− license = with licenses; [ asl20 mit ];
27− platforms = platforms.linux;
28− maintainers = with maintainers; [ nckx ];
29− };
30−
3113 buildInputs = [ coreutils dbus freetype glib gnused libpthreadstubs
3214 pango libpulseaudio which ];
3315 nativeBuildInputs = [ cmake pkgconfig ];
@@ -44,4 +26,21 @@ stdenv.mkDerivation {
4426 '';
4527
4628 enableParallelBuilding = true;
29+
30+ meta = with stdenv.lib; {
31+ description = "Smalltalk programming language and environment";
32+ longDescription = ''
33+ Squeak is a full-featured implementation of the Smalltalk programming
34+ language and environment based on (and largely compatible with) the
35+ original Smalltalk-80 system. Squeak has very powerful 2- and 3-D
36+ graphics, sound, video, MIDI, animation and other multimedia
37+ capabilities. It also includes a customisable framework for creating
38+ dynamic HTTP servers and interactively extensible Web sites.
39+ '';
40+ homepage = http://squeakvm.org/;
41+ downloadPage = http://squeakvm.org/unix/index.html;
42+ license = with licenses; [ asl20 mit ];
43+ platforms = platforms.linux;
44+ maintainers = with maintainers; [ nckx ];
45+ };
4746}
pkgs/development/interpreters/picoc/default.nix+21−22
@@ -1,8 +1,8 @@
11{ stdenv, fetchFromGitHub, readline }:
22
3−let version = "2015-05-04"; in
4−stdenv.mkDerivation {
3+stdenv.mkDerivation rec {
54 name = "picoc-${version}";
5+ version = "2015-05-04";
66
77 src = fetchFromGitHub {
88 sha256 = "01w3jwl0vn9fsmh7p20ad4nl9ljzgfn576yvncd9pk9frx3pd8y4";
@@ -11,26 +11,6 @@ stdenv.mkDerivation {
1111 owner = "zsaleeba";
1212 };
1313
14− meta = with stdenv.lib; {
15− inherit version;
16− description = "Very small C interpreter for scripting";
17− longDescription = ''
18− PicoC is a very small C interpreter for scripting. It was originally
19− written as a script language for a UAV's on-board flight system. It's
20− also very suitable for other robotic, embedded and non-embedded
21− applications. The core C source code is around 3500 lines of code. It's
22− not intended to be a complete implementation of ISO C but it has all the
23− essentials. When compiled it only takes a few k of code space and is also
24− very sparing of data space. This means it can work well in small embedded
25− devices.
26− '';
27− homepage = https://github.com/zsaleeba/picoc;
28− downloadPage = https://code.google.com/p/picoc/downloads/list;
29− license = licenses.bsd3;
30− platforms = platforms.linux;
31− maintainers = with maintainers; [ nckx ];
32− };
33−
3414 buildInputs = [ readline ];
3515
3616 postPatch = ''
@@ -50,4 +30,23 @@ stdenv.mkDerivation {
5030 mkdir -p $out/include
5131 install -m644 *.h $out/include
5232 '';
33+
34+ meta = with stdenv.lib; {
35+ description = "Very small C interpreter for scripting";
36+ longDescription = ''
37+ PicoC is a very small C interpreter for scripting. It was originally
38+ written as a script language for a UAV's on-board flight system. It's
39+ also very suitable for other robotic, embedded and non-embedded
40+ applications. The core C source code is around 3500 lines of code. It's
41+ not intended to be a complete implementation of ISO C but it has all the
42+ essentials. When compiled it only takes a few k of code space and is also
43+ very sparing of data space. This means it can work well in small embedded
44+ devices.
45+ '';
46+ homepage = https://github.com/zsaleeba/picoc;
47+ downloadPage = https://code.google.com/p/picoc/downloads/list;
48+ license = licenses.bsd3;
49+ platforms = platforms.linux;
50+ maintainers = with maintainers; [ nckx ];
51+ };
5352}
pkgs/development/libraries/accounts-qt/default.nix+9−9
@@ -1,8 +1,8 @@
11{ stdenv, fetchFromGitLab, doxygen, glib, libaccounts-glib, pkgconfig, qtbase }:
22
3−let version = "1.13"; in
4−stdenv.mkDerivation {
3+stdenv.mkDerivation rec {
54 name = "accounts-qt-${version}";
5+ version = "1.13";
66
77 src = fetchFromGitLab {
88 sha256 = "1gpkgw05dwsf2wk5cy3skgss3kw6mqh7iv3fadrxqxfc1za1xmyl";
@@ -11,17 +11,17 @@ stdenv.mkDerivation {
1111 owner = "accounts-sso";
1212 };
1313
14− meta = with stdenv.lib; {
15− description = "Qt library for accessing the online accounts database";
16− homepage = "http://code.google.com/p/accounts-sso/";
17− license = licenses.lgpl21;
18− maintainers = with maintainers; [ nckx ];
19− };
20−
2114 buildInputs = [ glib libaccounts-glib qtbase ];
2215 nativeBuildInputs = [ doxygen pkgconfig ];
2316
2417 configurePhase = ''
2518 qmake PREFIX=$out LIBDIR=$out/lib CMAKE_CONFIG_PATH=$out/lib/cmake
2619 '';
20+
21+ meta = with stdenv.lib; {
22+ description = "Qt library for accessing the online accounts database";
23+ homepage = "http://code.google.com/p/accounts-sso/";
24+ license = licenses.lgpl21;
25+ maintainers = with maintainers; [ nckx ];
26+ };
2727}
pkgs/development/libraries/bobcat/default.nix+10−11
@@ -1,9 +1,9 @@
11{ stdenv, fetchFromGitHub, icmake, libmilter, libX11, openssl, readline
22, utillinux, yodl }:
33
4−let version = "4.00.00"; in
5−stdenv.mkDerivation {
4+stdenv.mkDerivation rec {
65 name = "bobcat-${version}";
6+ version = "4.00.00";
77
88 src = fetchFromGitHub {
99 sha256 = "0wdb25sgw7i3jk3lbja6b4ipqfg1sncam6adg2bn8l5fcinrpwgs";
@@ -12,15 +12,6 @@ stdenv.mkDerivation {
1212 owner = "fbb-git";
1313 };
1414
15− meta = with stdenv.lib; {
16− inherit version;
17− description = "Brokken's Own Base Classes And Templates";
18− homepage = https://fbb-git.github.io/bobcat/;
19− license = licenses.gpl3;
20− platforms = platforms.linux;
21− maintainers = with maintainers; [ nckx ];
22− };
23−
2415 buildInputs = [ libmilter libX11 openssl readline utillinux ];
2516 nativeBuildInputs = [ icmake yodl ];
2617
@@ -39,4 +30,12 @@ stdenv.mkDerivation {
3930 installPhase = ''
4031 ./build install
4132 '';
33+
34+ meta = with stdenv.lib; {
35+ description = "Brokken's Own Base Classes And Templates";
36+ homepage = https://fbb-git.github.io/bobcat/;
37+ license = licenses.gpl3;
38+ platforms = platforms.linux;
39+ maintainers = with maintainers; [ nckx ];
40+ };
4241}
pkgs/development/libraries/ip2location-c/default.nix+2−3
@@ -1,8 +1,8 @@
11{ stdenv, fetchurl, autoreconfHook }:
22
3−let version = "7.0.2"; in # meta.homepage might change after a major update
4−stdenv.mkDerivation {
3+stdenv.mkDerivation rec {
54 name = "ip2location-c-${version}";
5+ version = "7.0.2"; # meta.homepage might change after a major update
66
77 src = fetchurl {
88 sha256 = "1gs43qgcyfn83abrkhvvw1s67d1sbkbj3hab9m17ysn6swafiycx";
@@ -18,7 +18,6 @@ stdenv.mkDerivation {
1818 doCheck = false;
1919
2020 meta = with stdenv.lib; {
21− inherit version;
2221 description = "Library to look up locations of host names and IP addresses";
2322 longDescription = ''
2423 A C library to find the country, region, city,coordinates,
pkgs/development/libraries/libcli/default.nix+2−2
@@ -1,8 +1,8 @@
11{ stdenv, fetchFromGitHub }:
22
3−let version = "1.9.7"; in
4−stdenv.mkDerivation {
3+stdenv.mkDerivation rec {
54 name = "libcli-${version}";
5+ version = "1.9.7";
66
77 src = fetchFromGitHub {
88 sha256 = "08pmjhqkwldhmcwjhi2l27slf1fk6nxxfaihnk2637pqkycy8z0c";
pkgs/development/libraries/libkeyfinder/default.nix+10−11
@@ -1,8 +1,8 @@
11{ stdenv, fetchFromGitHub, fftw, qtbase }:
22
3−let version = "2.1"; in
4−stdenv.mkDerivation {
3+stdenv.mkDerivation rec {
54 name = "libkeyfinder-${version}";
5+ version = "2.1";
66
77 src = fetchFromGitHub {
88 sha256 = "07kc0cl6kirgmpdgkgmp6r3yvyf7b1w569z01g8rfl1cig80qdc7";
@@ -11,15 +11,6 @@ stdenv.mkDerivation {
1111 owner = "ibsh";
1212 };
1313
14− meta = with stdenv.lib; {
15− inherit version;
16− description = "Musical key detection for digital audio (C++ library)";
17− homepage = http://www.ibrahimshaath.co.uk/keyfinder/;
18− license = licenses.gpl3Plus;
19− platforms = platforms.linux;
20− maintainers = with maintainers; [ nckx ];
21− };
22−
2314 buildInputs = [ fftw qtbase ];
2415
2516 postPatch = ''
@@ -40,4 +31,12 @@ stdenv.mkDerivation {
4031 mkdir -p $out/lib
4132 cp -a lib*.so* $out/lib
4233 '';
34+
35+ meta = with stdenv.lib; {
36+ description = "Musical key detection for digital audio (C++ library)";
37+ homepage = http://www.ibrahimshaath.co.uk/keyfinder/;
38+ license = licenses.gpl3Plus;
39+ platforms = platforms.linux;
40+ maintainers = with maintainers; [ nckx ];
41+ };
4342}
pkgs/development/libraries/libnetfilter_conntrack/default.nix+1−2
@@ -1,8 +1,8 @@
11{ stdenv, fetchurl, pkgconfig, libnfnetlink, libmnl }:
22
3−let version = "1.0.5"; in
43stdenv.mkDerivation rec {
54 name = "libnetfilter_conntrack-${version}";
5+ version = "1.0.5";
66
77 src = fetchurl {
88 url = "http://netfilter.org/projects/libnetfilter_conntrack/files/${name}.tar.bz2";
@@ -14,7 +14,6 @@ stdenv.mkDerivation rec {
1414 nativeBuildInputs = [ pkgconfig ];
1515
1616 meta = with stdenv.lib; {
17− inherit version;
1817 description = "Userspace library providing an API to the in-kernel connection tracking state table";
1918 longDescription = ''
2019 libnetfilter_conntrack is a userspace library providing a programming interface (API) to the
pkgs/development/libraries/libxcomp/default.nix+10−11
@@ -1,23 +1,14 @@
11{ stdenv, fetchurl, autoreconfHook, libjpeg, libpng12, libX11, zlib }:
22
3−let version = "3.5.0.32"; in
4−stdenv.mkDerivation {
3+stdenv.mkDerivation rec {
54 name = "libxcomp-${version}";
5+ version = "3.5.0.32";
66
77 src = fetchurl {
88 sha256 = "02n5bdc1jsq999agb4w6dmdj5l2wlln2lka84qz6rpswwc59zaxm";
99 url = "http://code.x2go.org/releases/source/nx-libs/nx-libs-${version}-lite.tar.gz";
1010 };
1111
12− meta = with stdenv.lib; {
13− inherit version;
14− description = "NX compression library";
15− homepage = "http://wiki.x2go.org/doku.php/wiki:libs:nx-libs";
16− license = licenses.gpl2;
17− platforms = platforms.linux;
18− maintainers = with maintainers; [ nckx ];
19− };
20−
2112 buildInputs = [ libjpeg libpng12 libX11 zlib ];
2213 nativeBuildInputs = [ autoreconfHook ];
2314
@@ -26,4 +17,12 @@ stdenv.mkDerivation {
2617 '';
2718
2819 enableParallelBuilding = true;
20+
21+ meta = with stdenv.lib; {
22+ description = "NX compression library";
23+ homepage = "http://wiki.x2go.org/doku.php/wiki:libs:nx-libs";
24+ license = licenses.gpl2;
25+ platforms = platforms.linux;
26+ maintainers = with maintainers; [ nckx ];
27+ };
2928}
pkgs/development/libraries/rote/default.nix+1−2
@@ -1,8 +1,8 @@
11{ stdenv, fetchurl, ncurses }:
22
3−let version = "0.2.8"; in
43stdenv.mkDerivation rec {
54 name = "rote-${version}";
5+ version = "0.2.8";
66
77 src = fetchurl {
88 sha256 = "05v1lw99jv4cwxl7spyi7by61j2scpdsvx809x5cga7dm5dhlmky";
@@ -14,7 +14,6 @@ stdenv.mkDerivation rec {
1414 enableParallelBuilding = true;
1515
1616 meta = with stdenv.lib; {
17− inherit version;
1817 description = "Our Own Terminal Emulation Library";
1918 longDescription = ''
2019 ROTE is a simple C library for VT102 terminal emulation. It allows the
pkgs/development/tools/alloy/default.nix+19−20
@@ -1,33 +1,14 @@
11{ stdenv, fetchurl, jre, makeDesktopItem }:
22
3−let version = "4.2_2015-02-22"; in
43stdenv.mkDerivation rec {
54 name = "alloy-${version}";
5+ version = "4.2_2015-02-22";
66
77 src = fetchurl {
88 sha256 = "0p93v8jwx9prijpikkgmfdzb9qn8ljmvga5d9wvrkxddccjx9k28";
99 url = "http://alloy.mit.edu/alloy/downloads/alloy${version}.jar";
1010 };
1111
12− meta = with stdenv.lib; {
13− inherit version;
14− description = "Language & tool for relational models";
15− longDescription = ''
16− Alloy is a language for describing structures and a tool for exploring
17− them. An Alloy model is a collection of constraints that describes a set
18− of structures, e.g. all the possible security configurations of a web
19− application, or all the possible topologies of a switching network. The
20− Alloy Analyzer is a solver that takes the constraints of a model and
21− finds structures that satisfy them. Structures are displayed graphically,
22− and their appearance can be customized for the domain at hand.
23− '';
24− homepage = http://alloy.mit.edu/;
25− downloadPage = http://alloy.mit.edu/alloy/download.html;
26− license = licenses.mit;
27− platforms = platforms.linux;
28− maintainers = with maintainers; [ nckx ];
29− };
30−
3112 desktopItem = makeDesktopItem rec {
3213 name = "alloy";
3314 exec = name;
@@ -57,4 +38,22 @@ stdenv.mkDerivation rec {
5738 install -Dm644 ${./icon.png} $out/share/pixmaps/alloy.png
5839 cp -r ${desktopItem}/share/applications $out/share
5940 '';
41+
42+ meta = with stdenv.lib; {
43+ description = "Language & tool for relational models";
44+ longDescription = ''
45+ Alloy is a language for describing structures and a tool for exploring
46+ them. An Alloy model is a collection of constraints that describes a set
47+ of structures, e.g. all the possible security configurations of a web
48+ application, or all the possible topologies of a switching network. The
49+ Alloy Analyzer is a solver that takes the constraints of a model and
50+ finds structures that satisfy them. Structures are displayed graphically,
51+ and their appearance can be customized for the domain at hand.
52+ '';
53+ homepage = http://alloy.mit.edu/;
54+ downloadPage = http://alloy.mit.edu/alloy/download.html;
55+ license = licenses.mit;
56+ platforms = platforms.linux;
57+ maintainers = with maintainers; [ nckx ];
58+ };
6059}
pkgs/development/tools/analysis/egypt/default.nix+5−6
@@ -1,16 +1,19 @@
11{ stdenv, fetchurl, buildPerlPackage }:
22
3−let version = "1.10"; in
43buildPerlPackage rec {
54 name = "egypt-${version}";
5+ version = "1.10";
66
77 src = fetchurl {
88 sha256 = "0r0wj6v8z9fzlh9pb5617kyjdf92ppmlbzajaarrq729bbb6ln5m";
99 url = "http://www.gson.org/egypt/download/${name}.tar.gz";
1010 };
1111
12+ enableParallelBuilding = true;
13+
14+ doCheck = true;
15+
1216 meta = with stdenv.lib; {
13− inherit version;
1417 description = "Tool for making call graphs of C programmes";
1518 longDescription = ''
1619 Egypt is a simple tool for creating call graphs of C programs. It neither
@@ -25,8 +28,4 @@ buildPerlPackage rec {
2528 platforms = platforms.linux;
2629 maintainers = with maintainers; [ nckx ];
2730 };
28−
29− enableParallelBuilding = true;
30−
31− doCheck = true;
3231}
pkgs/development/tools/analysis/include-what-you-use/default.nix+2−3
@@ -1,9 +1,9 @@
11{ stdenv, fetchurl, cmake, llvmPackages }:
22
3−# Also bump llvmPackages in all-packages.nix to the supported version!
4−let version = "0.5"; in
53stdenv.mkDerivation rec {
64 name = "include-what-you-use-${version}";
5+ # Also bump llvmPackages in all-packages.nix to the supported version!
6+ version = "0.5";
77
88 src = fetchurl {
99 sha256 = "19pwhgwvfr86n8ks099p9r02v7zh8d3qs7g7snzkhpdgq1azww85";
@@ -18,7 +18,6 @@ stdenv.mkDerivation rec {
1818 enableParallelBuilding = true;
1919
2020 meta = with stdenv.lib; {
21− inherit version;
2221 description = "Analyze #includes in C/C++ source files with clang";
2322 longDescription = ''
2423 For every symbol (type, function variable, or macro) that you use in
pkgs/development/tools/java/cfr/default.nix+14−15
@@ -1,28 +1,14 @@
11{ stdenv, fetchurl, jre }:
22
3−let version = "0_101"; in
43stdenv.mkDerivation rec {
54 name = "cfr-${version}";
5+ version = "0_101";
66
77 src = fetchurl {
88 sha256 = "0zwl3whypdm2qrw3hwaqjnifkb4wcdn8fx9scrjkli54bhr6dqch";
99 url = "http://www.benf.org/other/cfr/cfr_${version}.jar";
1010 };
1111
12− meta = with stdenv.lib; {
13− inherit version;
14− description = "Another java decompiler";
15− longDescription = ''
16− CFR will decompile modern Java features - Java 8 lambdas (pre and post
17− Java beta 103 changes), Java 7 String switches etc, but is written
18− entirely in Java 6.
19− '';
20− homepage = http://www.benf.org/other/cfr/;
21− license = licenses.mit;
22− platforms = platforms.all;
23− maintainers = with maintainers; [ nckx ];
24− };
25−
2612 buildInputs = [ jre ];
2713
2814 phases = [ "installPhase" ];
@@ -38,4 +24,17 @@ stdenv.mkDerivation rec {
3824 EOF
3925 install -Dm755 cfr $out/bin/cfr
4026 '';
27+
28+ meta = with stdenv.lib; {
29+ description = "Another java decompiler";
30+ longDescription = ''
31+ CFR will decompile modern Java features - Java 8 lambdas (pre and post
32+ Java beta 103 changes), Java 7 String switches etc, but is written
33+ entirely in Java 6.
34+ '';
35+ homepage = http://www.benf.org/other/cfr/;
36+ license = licenses.mit;
37+ platforms = platforms.all;
38+ maintainers = with maintainers; [ nckx ];
39+ };
4140}
pkgs/development/tools/misc/bin_replace_string/default.nix+7−8
@@ -1,16 +1,20 @@
11{ stdenv, fetchurl, libelf, txt2man }:
22
3−let version = "0.2"; in
4−stdenv.mkDerivation {
3+stdenv.mkDerivation rec {
54 name = "bin_replace_string-${version}";
5+ version = "0.2";
66
77 src = fetchurl {
88 sha256 = "1gnpddxwpsfrg4l76x5yplsvbcdbviybciqpn22yq3g3qgnr5c2a";
99 url = "ftp://ohnopub.net/mirror/bin_replace_string-0.2.tar.bz2";
1010 };
1111
12+ buildInputs = [ libelf ];
13+ nativeBuildInputs = [ txt2man ];
14+
15+ enableParallelBuilding = true;
16+
1217 meta = with stdenv.lib; {
13− inherit version;
1418 description = "Edit precompiled binaries";
1519 longDescription = ''
1620 bin_replace_string edits C-style strings in precompiled binaries. This is
@@ -25,9 +29,4 @@ stdenv.mkDerivation {
2529 platforms = platforms.linux;
2630 maintainers = with maintainers; [ nckx ];
2731 };
28−
29− buildInputs = [ libelf ];
30− nativeBuildInputs = [ txt2man ];
31−
32− enableParallelBuilding = true;
3332}
pkgs/development/tools/parsing/flexc++/default.nix+15−16
@@ -1,8 +1,8 @@
11{ stdenv, fetchFromGitHub, bobcat, icmake, yodl }:
22
3−let version = "2.03.00"; in
4−stdenv.mkDerivation {
3+stdenv.mkDerivation rec {
54 name = "flexc++-${version}";
5+ version = "2.03.00";
66
77 src = fetchFromGitHub {
88 sha256 = "1knb5h6l71n5zi9xzml5f6v7wspbk7vrcaiy2div8bnj7na3z717";
@@ -11,20 +11,6 @@ stdenv.mkDerivation {
1111 owner = "fbb-git";
1212 };
1313
14− meta = with stdenv.lib; {
15− inherit version;
16− description = "C++ tool for generating lexical scanners";
17− longDescription = ''
18− Flexc++ was designed after `flex'. Flexc++ offers a cleaner class design
19− and requires simpler specification files than offered by flex's C++
20− option.
21− '';
22− homepage = https://fbb-git.github.io/flexcpp/;
23− license = licenses.gpl3;
24− platforms = platforms.linux;
25− maintainers = with maintainers; [ nckx ];
26− };
27−
2814 sourceRoot = "flexcpp-${version}-src/flexc++";
2915
3016 buildInputs = [ bobcat ];
@@ -48,4 +34,17 @@ stdenv.mkDerivation {
4834 ./build install skel
4935 ./build install std
5036 '';
37+
38+ meta = with stdenv.lib; {
39+ description = "C++ tool for generating lexical scanners";
40+ longDescription = ''
41+ Flexc++ was designed after `flex'. Flexc++ offers a cleaner class design
42+ and requires simpler specification files than offered by flex's C++
43+ option.
44+ '';
45+ homepage = https://fbb-git.github.io/flexcpp/;
46+ license = licenses.gpl3;
47+ platforms = platforms.linux;
48+ maintainers = with maintainers; [ nckx ];
49+ };
5150}
pkgs/games/2048-in-terminal/default.nix+1−2
@@ -1,8 +1,8 @@
11{ stdenv, fetchFromGitHub, ncurses }:
22
3−let version = "2015-01-15"; in
43stdenv.mkDerivation rec {
54 name = "2048-in-terminal-${version}";
5+ version = "2015-01-15";
66
77 src = fetchFromGitHub {
88 sha256 = "1fdfmyhh60sz0xbilxkh2y09lvbcs9lamk2jkjkhxhlhxknmnfgs";
@@ -21,7 +21,6 @@ stdenv.mkDerivation rec {
2121 installFlags = [ "DESTDIR=$(out)" ];
2222
2323 meta = with stdenv.lib; {
24− inherit version;
2524 inherit (src.meta) homepage;
2625 description = "Animated console version of the 2048 game";
2726 license = licenses.mit;
pkgs/games/soi/default.nix+1−1
@@ -1,9 +1,9 @@
11{ stdenv, fetchurl, cmake
22, boost, eigen2, lua, luabind, mesa, SDL }:
33
4−let version = "0.1.2"; in
54stdenv.mkDerivation rec {
65 name = "soi-${version}";
6+ version = "0.1.2";
77
88 src = fetchurl {
99 url = "mirror://sourceforge/project/soi/Spheres%20of%20Influence-${version}-Source.tar.bz2";
pkgs/misc/cups/drivers/samsung/default.nix+3−3
@@ -11,13 +11,13 @@
1111# }
1212# (This advice was tested on 2010 August 2.)
1313
14−{stdenv, fetchurl, cups, gcc, ghostscript, glibc, patchelf}:
14+{ stdenv, fetchurl, cups, gcc, ghostscript, glibc, patchelf }:
1515
1616# Do not bump lightly! Visit <http://www.bchemnet.com/suldr/supported.html>
1717# to see what will break when upgrading. Consider a new versioned attribute.
18−let version = "4.00.39"; in
19−stdenv.mkDerivation {
18+stdenv.mkDerivation rec {
2019 name = "samsung-UnifiedLinuxDriver-${version}";
20+ version = "4.00.39";
2121
2222 src = fetchurl {
2323 url = "http://www.bchemnet.com/suldr/driver/UnifiedLinuxDriver-${version}.tar.gz";
pkgs/os-specific/linux/crda/default.nix+2−3
@@ -1,8 +1,8 @@
11{ stdenv, fetchurl, libgcrypt, libnl, pkgconfig, pythonPackages, wireless-regdb }:
22
3−let version = "3.18"; in
4−stdenv.mkDerivation {
3+stdenv.mkDerivation rec {
54 name = "crda-${version}";
5+ version = "3.18";
66
77 src = fetchurl {
88 sha256 = "1gydiqgb08d9gbx4l6gv98zg3pljc984m50hmn3ysxcbkxkvkz23";
@@ -36,7 +36,6 @@ stdenv.mkDerivation {
3636 checkTarget = "verify";
3737
3838 meta = with stdenv.lib; {
39− inherit version;
4039 description = "Linux wireless Central Regulatory Domain Agent";
4140 longDescription = ''
4241 CRDA acts as the udev helper for communication between the kernel and
pkgs/os-specific/linux/fatrace/default.nix+1−2
@@ -1,8 +1,8 @@
11{ stdenv, fetchurl, python3, which }:
22
3−let version = "0.11"; in
43stdenv.mkDerivation rec {
54 name = "fatrace-${version}";
5+ version = "0.11";
66
77 src = fetchurl {
88 url = "http://launchpad.net/fatrace/trunk/${version}/+download/${name}.tar.bz2";
@@ -19,7 +19,6 @@ stdenv.mkDerivation rec {
1919 makeFlags = [ "PREFIX=$(out)" ];
2020
2121 meta = with stdenv.lib; {
22− inherit version;
2322 description = "Report system-wide file access events";
2423 homepage = https://launchpad.net/fatrace/;
2524 license = licenses.gpl3Plus;
pkgs/os-specific/linux/firmware/b43-firmware/6.30.163.46.nix+2−3
@@ -1,9 +1,8 @@
11{ stdenv, fetchurl, b43FirmwareCutter }:
22
3−let version = "6.30.163.46"; in
4−
5−stdenv.mkDerivation {
3+stdenv.mkDerivation rec {
64 name = "b43-firmware-${version}";
5+ version = "6.30.163.46";
76
87 src = fetchurl {
98 url = "http://www.lwfinger.com/b43-firmware/broadcom-wl-${version}.tar.bz2";
pkgs/os-specific/linux/freefall/default.nix+2−2
@@ -1,8 +1,8 @@
11{ stdenv, fetchurl }:
22
3−let version = "4.3"; in
4−stdenv.mkDerivation {
3+stdenv.mkDerivation rec {
54 name = "freefall-${version}";
5+ version = "4.3";
66
77 src = fetchurl {
88 sha256 = "1bpkr45i4yzp32p0vpnz8mlv9lk4q2q9awf1kg9khg4a9g42qqja";
pkgs/os-specific/linux/ftop/default.nix+1−2
@@ -1,8 +1,8 @@
11{ stdenv, fetchurl, ncurses }:
22
3−let version = "1.0"; in
43stdenv.mkDerivation rec {
54 name = "ftop-${version}";
5+ version = "1.0";
66
77 src = fetchurl {
88 url = "http://ftop.googlecode.com/files/${name}.tar.bz2";
@@ -22,7 +22,6 @@ stdenv.mkDerivation rec {
2222 '';
2323
2424 meta = with stdenv.lib; {
25− inherit version;
2625 description = "Show progress of open files and file systems";
2726 homepage = https://code.google.com/p/ftop/;
2827 license = licenses.gpl3Plus;
pkgs/os-specific/linux/kexectools/default.nix+1−2
@@ -1,8 +1,8 @@
11{ stdenv, fetchurl, zlib }:
22
3−let version = "2.0.11"; in
43stdenv.mkDerivation rec {
54 name = "kexec-tools-${version}";
5+ version = "2.0.11";
66
77 src = fetchurl {
88 urls = [
@@ -15,7 +15,6 @@ stdenv.mkDerivation rec {
1515 buildInputs = [ zlib ];
1616
1717 meta = with stdenv.lib; {
18− inherit version;
1918 homepage = http://horms.net/projects/kexec/kexec-tools;
2019 description = "Tools related to the kexec Linux feature";
2120 platforms = platforms.linux;
pkgs/os-specific/linux/mcelog/default.nix+2−3
@@ -1,8 +1,8 @@
11{ stdenv, fetchFromGitHub }:
22
3−let version = "129"; in
4−stdenv.mkDerivation {
3+stdenv.mkDerivation rec {
54 name = "mcelog-${version}";
5+ version = "129";
66
77 src = fetchFromGitHub {
88 sha256 = "143xh5zvgax88yhg6mg6img64nrda85yybf76fgsk7a8gc57ghyk";
@@ -25,7 +25,6 @@ stdenv.mkDerivation {
2525 installFlags = [ "DESTDIR=$(out)" "prefix=" "DOCDIR=/share/doc" ];
2626
2727 meta = with stdenv.lib; {
28− inherit version;
2928 description = "Log x86 machine checks: memory, IO, and CPU hardware errors";
3029 longDescription = ''
3130 The mcelog daemon accounts memory and some other errors in various ways
pkgs/os-specific/linux/radeontop/default.nix+2−3
@@ -1,8 +1,8 @@
11{ stdenv, fetchFromGitHub, pkgconfig, gettext, ncurses, libdrm, libpciaccess }:
22
3−let version = "2015-11-24"; in
4−stdenv.mkDerivation {
3+stdenv.mkDerivation rec {
54 name = "radeontop-${version}";
5+ version = "2015-11-24";
66
77 src = fetchFromGitHub {
88 sha256 = "0irwq6rps5mnban8cxbrm59wpyv4j80q3xdjm9fxvfpiyys2g2hz";
@@ -23,7 +23,6 @@ stdenv.mkDerivation {
2323 makeFlags = [ "PREFIX=$(out)" ];
2424
2525 meta = with stdenv.lib; {
26− inherit version;
2726 description = "Top-like tool for viewing AMD Radeon GPU utilization";
2827 longDescription = ''
2928 View GPU utilization, both for the total activity percent and individual
pkgs/os-specific/linux/uksmtools/default.nix+2−3
@@ -1,8 +1,8 @@
11{ stdenv, fetchgit, cmake }:
22
3−let version = "2015-09-25"; in
4−stdenv.mkDerivation {
3+stdenv.mkDerivation rec {
54 name = "uksmtools-${version}";
5+ version = "2015-09-25";
66
77 # This project uses git submodules, which fetchFromGitHub doesn't support:
88 src = fetchgit {
@@ -18,7 +18,6 @@ stdenv.mkDerivation {
1818 doCheck = false;
1919
2020 meta = with stdenv.lib; {
21− inherit version;
2221 description = "Tools to control Linux UKSM (Ultra Kernel Same-page Merging)";
2322 homepage = https://github.com/pfactum/uksmtools/;
2423 license = licenses.gpl3Plus;
pkgs/shells/mksh/default.nix+2−3
@@ -1,8 +1,8 @@
11{ stdenv, fetchurl, groff }:
22
3−let version = "52"; in
4−stdenv.mkDerivation {
3+stdenv.mkDerivation rec {
54 name = "mksh-${version}";
5+ version = "52";
66
77 src = fetchurl {
88 urls = [
@@ -30,7 +30,6 @@ stdenv.mkDerivation {
3030 '';
3131
3232 meta = with stdenv.lib; {
33− inherit version;
3433 description = "MirBSD Korn Shell";
3534 longDescription = ''
3635 The MirBSD Korn Shell is a DFSG-free and OSD-compliant (and OSI
pkgs/tools/admin/nxproxy/default.nix+10−11
@@ -1,23 +1,14 @@
11{ stdenv, fetchurl, autoreconfHook, libxcomp }:
22
3−let version = "3.5.0.32"; in
4−stdenv.mkDerivation {
3+stdenv.mkDerivation rec {
54 name = "nxproxy-${version}";
5+ version = "3.5.0.32";
66
77 src = fetchurl {
88 sha256 = "02n5bdc1jsq999agb4w6dmdj5l2wlln2lka84qz6rpswwc59zaxm";
99 url = "http://code.x2go.org/releases/source/nx-libs/nx-libs-${version}-lite.tar.gz";
1010 };
1111
12− meta = with stdenv.lib; {
13− inherit version;
14− description = "NX compression proxy";
15− homepage = "http://wiki.x2go.org/doku.php/wiki:libs:nx-libs";
16− license = licenses.gpl2;
17− platforms = platforms.linux;
18− maintainers = with maintainers; [ nckx ];
19− };
20−
2112 buildInputs = [ libxcomp ];
2213 nativeBuildInputs = [ autoreconfHook ];
2314
@@ -28,4 +19,12 @@ stdenv.mkDerivation {
2819 makeFlags = [ "exec_prefix=$(out)" ];
2920
3021 enableParallelBuilding = true;
22+
23+ meta = with stdenv.lib; {
24+ description = "NX compression proxy";
25+ homepage = "http://wiki.x2go.org/doku.php/wiki:libs:nx-libs";
26+ license = licenses.gpl2;
27+ platforms = platforms.linux;
28+ maintainers = with maintainers; [ nckx ];
29+ };
3130}
pkgs/tools/cd-dvd/dvdisaster/default.nix+1−2
@@ -3,9 +3,9 @@
33, enableSoftening ? true
44}:
55
6−let version = "0.79.5"; in
76stdenv.mkDerivation rec {
87 name = "dvdisaster-${version}";
8+ version = "0.79.5";
99
1010 src = fetchurl {
1111 url = "http://dvdisaster.net/downloads/${name}.tar.bz2";
@@ -70,7 +70,6 @@ stdenv.mkDerivation rec {
7070 '';
7171
7272 meta = with stdenv.lib; {
73− inherit version;
7473 homepage = http://dvdisaster.net/;
7574 description = "Data loss/scratch/aging protection for CD/DVD media";
7675 longDescription = ''
pkgs/tools/compression/lz4/default.nix+1−2
@@ -1,8 +1,8 @@
11{ stdenv, fetchFromGitHub, valgrind }:
22
3−let version = "131"; in
43stdenv.mkDerivation rec {
54 name = "lz4-${version}";
5+ version = "131";
66
77 src = fetchFromGitHub {
88 sha256 = "1bhvcq8fxxsqnpg5qa6k3nsyhq0nl0iarh08sqzclww27hlpyay2";
@@ -23,7 +23,6 @@ stdenv.mkDerivation rec {
2323 patches = [ ./install-on-freebsd.patch ] ;
2424
2525 meta = with stdenv.lib; {
26− inherit version;
2726 description = "Extremely fast compression algorithm";
2827 longDescription = ''
2928 Very fast lossless compression algorithm, providing compression speed
pkgs/tools/compression/zopfli/default.nix+1−2
@@ -1,8 +1,8 @@
11{ stdenv, fetchFromGitHub, fetchpatch }:
22
3−let version = "1.0.1"; in
43stdenv.mkDerivation rec {
54 name = "zopfli-${version}";
5+ version = "1.0.1";
66
77 src = fetchFromGitHub {
88 owner = "google";
@@ -45,7 +45,6 @@ stdenv.mkDerivation rec {
4545 '';
4646
4747 meta = with stdenv.lib; {
48− inherit version;
4948 inherit (src.meta) homepage;
5049 description = "Very good, but slow, deflate or zlib compression";
5150 longDescription = ''
pkgs/tools/filesystems/duff/default.nix+4−5
@@ -1,10 +1,10 @@
11{ stdenv, fetchFromGitHub, autoreconfHook, gettext }:
22
3−# The last release (0.5.2) is more than 2 years old and lacks features like -D,
4−# limiting its usefulness. Upstream appears comatose if not dead.
5−let version = "2014-07-03"; in
6−stdenv.mkDerivation {
3+stdenv.mkDerivation rec {
74 name = "duff-${version}";
5+ # The last release (0.5.2) is more than 2 years old and lacks features like -D,
6+ # limiting its usefulness. Upstream appears comatose if not dead.
7+ version = "2014-07-03";
88
99 src = fetchFromGitHub {
1010 sha256 = "1k2dx38pjzc5d624vw1cs5ipj9fprsm5vqv55agksc29m63lswnx";
@@ -28,7 +28,6 @@ stdenv.mkDerivation {
2828 enableParallelBuilding = true;
2929
3030 meta = with stdenv.lib; {
31− inherit version;
3231 description = "Quickly find duplicate files";
3332 longDescription = ''
3433 Duff is a Unix command-line utility for quickly finding duplicates in
pkgs/tools/filesystems/encfs/default.nix+2−2
@@ -1,9 +1,9 @@
11{ stdenv, fetchFromGitHub, autoreconfHook, boost, fuse, openssl, perl
22, pkgconfig, rlog }:
33
4−let version = "1.8.1"; in
5−stdenv.mkDerivation {
4+stdenv.mkDerivation rec {
65 name = "encfs-${version}";
6+ version = "1.8.1";
77
88 src = fetchFromGitHub {
99 sha256 = "1cxihqwpnqbzy8qz0134199pwfnd7ikr2835p5p1yzqnl203wcdb";
pkgs/tools/filesystems/exfat/default.nix+1−2
@@ -1,8 +1,8 @@
11{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, fuse }:
22
3−let version = "1.2.3"; in
43stdenv.mkDerivation rec {
54 name = "exfat-${version}";
5+ version = "1.2.3";
66
77 src = fetchFromGitHub {
88 sha256 = "147s11sqmn5flbvz2hwpl6kdfqi2gnm1c2nsn5fxygyw7qyhpzda";
@@ -15,7 +15,6 @@ stdenv.mkDerivation rec {
1515 nativeBuildInputs = [ autoreconfHook pkgconfig ];
1616
1717 meta = with stdenv.lib; {
18− inherit version;
1918 inherit (src.meta) homepage;
2019 description = "Free exFAT file system implementation";
2120 platforms = platforms.linux;
pkgs/tools/filesystems/gpart/default.nix+1−2
@@ -1,8 +1,8 @@
11{ stdenv, fetchFromGitHub, autoreconfHook }:
22
3−let version = "0.3"; in
43stdenv.mkDerivation rec {
54 name = "gpart-${version}";
5+ version = "0.3";
66
77 # GitHub repository 'collating patches for gpart from all distributions':
88 src = fetchFromGitHub {
@@ -19,7 +19,6 @@ stdenv.mkDerivation rec {
1919 doCheck = true;
2020
2121 meta = with stdenv.lib; {
22− inherit version;
2322 inherit (src.meta) homepage;
2423 description = "Guess PC-type hard disk partitions";
2524 longDescription = ''
pkgs/tools/filesystems/mp3fs/default.nix+1−1
@@ -1,8 +1,8 @@
11{ stdenv, fetchurl, flac, fuse, lame, libid3tag, pkgconfig }:
22
3−let version = "0.91"; in
43stdenv.mkDerivation rec {
54 name = "mp3fs-${version}";
5+ version = "0.91";
66
77 src = fetchurl {
88 url = "https://github.com/khenriks/mp3fs/releases/download/v${version}/${name}.tar.gz";
pkgs/tools/misc/clex/default.nix+5−5
@@ -1,14 +1,18 @@
11{ stdenv, fetchurl, ncurses }:
22
3−let version = "4.6.patch6"; in
43stdenv.mkDerivation rec {
54 name = "clex-${version}";
5+ version = "4.6.patch6";
66
77 src = fetchurl {
88 sha256 = "0bqa2hc9721d62cfsy5c7a5pzgh9b4px7g4q60xlybkwll19qbbp";
99 url = "${meta.homepage}/download/${name}.tar.gz";
1010 };
1111
12+ buildInputs = [ ncurses ];
13+
14+ enableParallelBuilding = true;
15+
1216 meta = with stdenv.lib; {
1317 description = "File manager with full-screen terminal interface";
1418 longDescription = ''
@@ -23,8 +27,4 @@ stdenv.mkDerivation rec {
2327 platforms = platforms.linux;
2428 maintainers = with maintainers; [ nckx ];
2529 };
26−
27− buildInputs = [ ncurses ];
28−
29− enableParallelBuilding = true;
3030}
pkgs/tools/misc/ipad_charge/default.nix+1−2
@@ -1,8 +1,8 @@
11{ stdenv, fetchFromGitHub, libusb1 }:
22
3−let version = "2015-02-03"; in
43stdenv.mkDerivation rec {
54 name = "ipad_charge-${version}";
5+ version = "2015-02-03";
66
77 src = fetchFromGitHub {
88 sha256 = "0f40hqx1dbqpwrhyf42h5982jwqv8j5zp5hwwakz6600hyqvnnz7";
@@ -27,7 +27,6 @@ stdenv.mkDerivation rec {
2727 '';
2828
2929 meta = with stdenv.lib; {
30− inherit version;
3130 inherit (src.meta) homepage;
3231 description = "Apple device USB charging utility for Linux";
3332 longDescription = ''
pkgs/tools/misc/ms-sys/default.nix+1−2
@@ -1,8 +1,8 @@
11{ stdenv, fetchurl, gettext }:
22
3−let version = "2.5.2"; in
43stdenv.mkDerivation rec {
54 name = "ms-sys-${version}";
5+ version = "2.5.2";
66
77 src = fetchurl {
88 url = "mirror://sourceforge/ms-sys/${name}.tar.gz";
@@ -16,7 +16,6 @@ stdenv.mkDerivation rec {
1616 makeFlags = [ "PREFIX=$(out)" ];
1717
1818 meta = with stdenv.lib; {
19− inherit version;
2019 description = "A program for writing Microsoft compatible boot records";
2120 homepage = http://ms-sys.sourceforge.net/;
2221 license = licenses.gpl2Plus;
pkgs/tools/misc/tldr/default.nix+2−3
@@ -1,8 +1,8 @@
11{ stdenv, fetchFromGitHub, clang, curl, libzip, pkgconfig }:
22
3−let version = "1.1.0"; in
4−stdenv.mkDerivation {
3+stdenv.mkDerivation rec {
54 name = "tldr-${version}";
5+ version = "1.1.0";
66
77 src = fetchFromGitHub {
88 sha256 = "0hxkrzp5njhy7c19v8i3svcb148f1jni7dlv36gc1nmcrz5izsiz";
@@ -23,7 +23,6 @@ stdenv.mkDerivation {
2323 '';
2424
2525 meta = with stdenv.lib; {
26− inherit version;
2726 description = "Simplified and community-driven man pages";
2827 longDescription = ''
2928 tldr pages gives common use cases for commands, so you don't need to hunt
pkgs/tools/networking/dhcping/default.nix+3−4
@@ -1,8 +1,8 @@
11{ stdenv, fetchurl }:
22
3−let version = "1.2"; in
4−stdenv.mkDerivation {
3+stdenv.mkDerivation rec {
54 name = "dhcping-${version}";
5+ version = "1.2";
66
77 src = fetchurl {
88 sha256 = "0sk4sg3hn88n44dxikipf3ggfj3ixrp22asb7nry9p0bkfaqdvrj";
@@ -14,7 +14,6 @@ stdenv.mkDerivation {
1414 doCheck = true;
1515
1616 meta = with stdenv.lib; {
17− inherit version;
1817 description = "Send DHCP request to find out if a DHCP server is running";
1918 longDescription = ''
2019 dhcping sends either a DHCPREQUEST or DHCPINFORM packet to the server
@@ -31,4 +30,4 @@ stdenv.mkDerivation {
3130 platforms = platforms.linux;
3231 maintainers = with maintainers; [ nckx ];
3332 };
34− }
33+}
pkgs/tools/networking/hans/default.nix+14−15
@@ -1,8 +1,8 @@
11{ stdenv, fetchFromGitHub, nettools }:
22
3−let version = "0.4.4"; in
4−stdenv.mkDerivation {
3+stdenv.mkDerivation rec {
54 name = "hans-${version}";
5+ version = "0.4.4";
66
77 src = fetchFromGitHub {
88 sha256 = "1xskffmmdmg1whlrl5wpkv9z29vh0igrbmsz0b45s9v0761a7kis";
@@ -11,8 +11,19 @@ stdenv.mkDerivation {
1111 owner = "friedrich";
1212 };
1313
14+ buildInputs = [ nettools ];
15+
16+ postPatch = ''
17+ substituteInPlace src/tun.cpp --replace "/sbin/" "${nettools}/bin/"
18+ '';
19+
20+ enableParallelBuilding = true;
21+
22+ installPhase = ''
23+ install -D -m0755 hans $out/bin/hans
24+ '';
25+
1426 meta = with stdenv.lib; {
15− inherit version;
1627 description = "Tunnel IPv4 over ICMP";
1728 longDescription = ''
1829 Hans makes it possible to tunnel IPv4 through ICMP echo packets, so you
@@ -25,16 +36,4 @@ stdenv.mkDerivation {
2536 platforms = platforms.linux;
2637 maintainers = with maintainers; [ nckx ];
2738 };
28−
29− buildInputs = [ nettools ];
30−
31− postPatch = ''
32− substituteInPlace src/tun.cpp --replace "/sbin/" "${nettools}/bin/"
33− '';
34−
35− enableParallelBuilding = true;
36−
37− installPhase = ''
38− install -D -m0755 hans $out/bin/hans
39− '';
4039}
pkgs/tools/networking/ip2location/default.nix+2−3
@@ -1,8 +1,8 @@
11{ stdenv, fetchurl }:
22
3−let version = "7.0.0"; in
4−stdenv.mkDerivation {
3+stdenv.mkDerivation rec {
54 name = "ip2location-${version}";
5+ version = "7.0.0";
66
77 src = fetchurl {
88 sha256 = "05zbc02z7vm19byafi05i1rnkxc6yrfkhnm30ly68zzyipkmzx1l";
@@ -14,7 +14,6 @@ stdenv.mkDerivation {
1414 doCheck = true;
1515
1616 meta = with stdenv.lib; {
17− inherit version;
1817 description = "Look up locations of host names and IP addresses";
1918 longDescription = ''
2019 A command-line tool to find the country, region, city,coordinates,
pkgs/tools/networking/ipv6calc/default.nix+1−2
@@ -2,9 +2,9 @@
22, geoip ? null, geolite-legacy ? null
33, ip2location-database ? null }:
44
5−let version = "0.99.1"; in
65stdenv.mkDerivation rec {
76 name = "ipv6calc-${version}";
7+ version = "0.99.1";
88
99 src = fetchurl {
1010 url = "ftp://ftp.deepspace6.net/pub/ds6/sources/ipv6calc/${name}.tar.gz";
@@ -39,7 +39,6 @@ stdenv.mkDerivation rec {
3939 enableParallelBuilding = true;
4040
4141 meta = with stdenv.lib; {
42− inherit version;
4342 description = "Calculate/manipulate (not only) IPv6 addresses";
4443 longDescription = ''
4544 ipv6calc is a small utility to manipulate (not only) IPv6 addresses and
pkgs/tools/networking/netsniff-ng/default.nix+2−3
@@ -2,9 +2,9 @@
22, libnetfilter_conntrack, libnl, libpcap, libsodium, liburcu, ncurses, perl
33, pkgconfig, zlib }:
44
5−let version = "0.6.0"; in
6−stdenv.mkDerivation {
5+stdenv.mkDerivation rec {
76 name = "netsniff-ng-${version}";
7+ version = "0.6.0";
88
99 # Upstream recommends and supports git
1010 src = fetchFromGitHub rec {
@@ -41,7 +41,6 @@ stdenv.mkDerivation {
4141 '';
4242
4343 meta = with stdenv.lib; {
44− inherit version;
4544 description = "Swiss army knife for daily Linux network plumbing";
4645 longDescription = ''
4746 netsniff-ng is a free Linux networking toolkit. Its gain of performance
pkgs/tools/networking/pcapc/default.nix+1−2
@@ -1,8 +1,8 @@
11{ stdenv, fetchFromGitHub, libpcap }:
22
3−let version = "2015-03-06"; in
43stdenv.mkDerivation rec {
54 name = "pcapc-${version}";
5+ version = "2015-03-06";
66
77 src = fetchFromGitHub {
88 sha256 = "02j45wmxy8qcji0giwx3364pbqb6849s8y0xfvzx40g98mssl027";
@@ -24,7 +24,6 @@ stdenv.mkDerivation rec {
2424 '';
2525
2626 meta = with stdenv.lib; {
27− inherit version;
2827 inherit (src.meta) homepage;
2928 description = "Compile libpcap filter expressions into BPF opcodes";
3029 license = licenses.gpl3;
pkgs/tools/networking/pingtcp/default.nix+2−3
@@ -1,8 +1,8 @@
11{ stdenv, fetchgit, cmake }:
22
3−let version = "0.0.3"; in
4−stdenv.mkDerivation {
3+stdenv.mkDerivation rec {
54 name = "pingtcp-${version}";
5+ version = "0.0.3";
66
77 # This project uses git submodules, which fetchFromGitHub doesn't support:
88 src = fetchgit {
@@ -27,7 +27,6 @@ stdenv.mkDerivation {
2727 '';
2828
2929 meta = with stdenv.lib; {
30− inherit version;
3130 description = "Measure TCP handshake time";
3231 homepage = https://github.com/LanetNetwork/pingtcp;
3332 license = licenses.gpl3;
pkgs/tools/package-management/dpkg/default.nix+2−3
@@ -1,9 +1,8 @@
11{ stdenv, fetchurl, perl, zlib, bzip2, xz, makeWrapper }:
22
3−let version = "1.18.4"; in
4−
5−stdenv.mkDerivation {
3+stdenv.mkDerivation rec {
64 name = "dpkg-${version}";
5+ version = "1.18.4";
76
87 src = fetchurl {
98 url = "mirror://debian/pool/main/d/dpkg/dpkg_${version}.tar.xz";
pkgs/tools/package-management/packagekit/default.nix+2−3
@@ -1,8 +1,8 @@
11{ stdenv, fetchurl, intltool, glib, pkgconfig, polkit, python, sqlite }:
22
3−let version = "1.0.8"; in
4−stdenv.mkDerivation {
3+stdenv.mkDerivation rec {
54 name = "packagekit-${version}";
5+ version = "1.0.8";
66
77 src = fetchurl {
88 sha256 = "1vaxn4kwdwx6p03n88k4pnbd2l6lb0cbxpcs88kjack1jml17c3l";
@@ -53,7 +53,6 @@ stdenv.mkDerivation {
5353 '';
5454
5555 meta = with stdenv.lib; {
56− inherit version;
5756 description = "System to facilitate installing and updating packages";
5857 longDescription = ''
5958 PackageKit is a system designed to make installing and updating software
pkgs/tools/security/eid-mw/default.nix+2−3
@@ -1,9 +1,9 @@
11{ stdenv, fetchFromGitHub, autoreconfHook, gtk3, nssTools, pcsclite
22, pkgconfig }:
33
4−let version = "4.1.13"; in
5−stdenv.mkDerivation {
4+stdenv.mkDerivation rec {
65 name = "eid-mw-${version}";
6+ version = "4.1.13";
77
88 src = fetchFromGitHub {
99 sha256 = "1fkazhw6gs191w789fnp6mwnxrx9p38b3kh5bngb1ir0zhkgghkq";
@@ -35,7 +35,6 @@ stdenv.mkDerivation {
3535 '';
3636
3737 meta = with stdenv.lib; {
38− inherit version;
3938 description = "Belgian electronic identity card (eID) middleware";
4039 homepage = http://eid.belgium.be/en/using_your_eid/installing_the_eid_software/linux/;
4140 license = licenses.lgpl3;
pkgs/tools/security/eid-viewer/default.nix+1−2
@@ -1,8 +1,8 @@
11{ stdenv, fetchurl, makeWrapper, jre, pcsclite }:
22
3−let version = "4.1.9"; in
43stdenv.mkDerivation rec {
54 name = "eid-viewer-${version}";
5+ version = "4.1.9";
66
77 src = fetchurl {
88 url = "https://downloads.services.belgium.be/eid/eid-viewer-${version}-v${version}.src.tar.gz";
@@ -29,7 +29,6 @@ stdenv.mkDerivation rec {
2929 doCheck = true;
3030
3131 meta = with stdenv.lib; {
32− inherit version;
3332 description = "Belgian electronic identity card (eID) viewer";
3433 homepage = http://eid.belgium.be/en/using_your_eid/installing_the_eid_software/linux/;
3534 license = licenses.lgpl3;
pkgs/tools/system/foremost/default.nix+1−2
@@ -1,8 +1,8 @@
11{ stdenv, fetchurl }:
22
3−let version = "1.5.7"; in
43stdenv.mkDerivation rec {
54 name = "foremost-${version}";
5+ version = "1.5.7";
66
77 src = fetchurl {
88 sha256 = "0d2zxw0ijg8cd3ksgm8cf8jg128zr5x7z779jar90g9f47pm882h";
@@ -20,7 +20,6 @@ stdenv.mkDerivation rec {
2020 '';
2121
2222 meta = with stdenv.lib; {
23− inherit version;
2423 description = "Recover files based on their contents";
2524 longDescription = ''
2625 Foremost is a console program to recover files based on their headers,
pkgs/tools/system/gptfdisk/default.nix+1−2
@@ -1,8 +1,8 @@
11{ fetchurl, stdenv, libuuid, popt, icu, ncurses }:
22
3−let version = "1.0.1"; in
43stdenv.mkDerivation rec {
54 name = "gptfdisk-${version}";
5+ version = "1.0.1";
66
77 src = fetchurl {
88 # http://www.rodsbooks.com/gdisk/${name}.tar.gz also works, but the home
@@ -36,7 +36,6 @@ stdenv.mkDerivation rec {
3636 '';
3737
3838 meta = with stdenv.lib; {
39− inherit version;
4039 description = "Set of text-mode partitioning tools for Globally Unique Identifier (GUID) Partition Table (GPT) disks";
4140 license = licenses.gpl2;
4241 homepage = http://www.rodsbooks.com/gdisk/;
pkgs/tools/system/suid-chroot/default.nix+1−2
@@ -1,8 +1,8 @@
11{ stdenv, fetchurl }:
22
3−let version = "1.0.2"; in
43stdenv.mkDerivation rec {
54 name = "suid-chroot-${version}";
5+ version = "1.0.2";
66
77 src = fetchurl {
88 sha256 = "1a9xqhck0ikn8kfjk338h9v1yjn113gd83q0c50k78xa68xrnxjx";
@@ -14,7 +14,6 @@ stdenv.mkDerivation rec {
1414 '';
1515
1616 meta = with stdenv.lib; {
17− inherit version;
1817 description = "Setuid-safe wrapper for chroot";
1918 license = licenses.gpl2Plus;
2019 maintainers = with maintainers; [ nckx ];
pkgs/tools/text/aha/default.nix+2−3
@@ -1,8 +1,8 @@
11{ stdenv, fetchFromGitHub }:
22
3−let version = "0.4.8"; in
4−stdenv.mkDerivation {
3+stdenv.mkDerivation rec {
54 name = "aha-${version}";
5+ version = "0.4.8";
66
77 src = fetchFromGitHub {
88 sha256 = "1209rda6kc9x88b47y1035zs9lxk0x3qzsb87f8m5b55fdkgxqlj";
@@ -16,7 +16,6 @@ stdenv.mkDerivation {
1616 enableParallelBuilding = true;
1717
1818 meta = with stdenv.lib; {
19− inherit version;
2019 description = "ANSI HTML Adapter";
2120 longDescription = ''
2221 aha takes ANSI SGR-coloured input and produces W3C-conformant HTML code.