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

@ -7,9 +7,9 @@ assert alsaSupport -> alsaLib != null;
assert jackSupport -> libjack2 != null; assert jackSupport -> libjack2 != null;
assert portaudioSupport -> portaudio != null; assert portaudioSupport -> portaudio != null;
let version = "1.0.8"; in stdenv.mkDerivation rec {
stdenv.mkDerivation {
name = "fmit-${version}"; name = "fmit-${version}";
version = "1.0.8";
src = fetchFromGitHub { src = fetchFromGitHub {
sha256 = "04s7xcgmi5g58lirr48vf203n1jwdxf981x1p6ysbax24qwhs2kd"; sha256 = "04s7xcgmi5g58lirr48vf203n1jwdxf981x1p6ysbax24qwhs2kd";
@ -37,7 +37,6 @@ stdenv.mkDerivation {
enableParallelBuilding = true; enableParallelBuilding = true;
meta = with stdenv.lib; { meta = with stdenv.lib; {
inherit version;
description = "Free Musical Instrument Tuner"; description = "Free Musical Instrument Tuner";
longDescription = '' longDescription = ''
FMIT is a graphical utility for tuning musical instruments, with error FMIT is a graphical utility for tuning musical instruments, with error

View File

@ -1,8 +1,9 @@
{stdenv, fetchurl, id3lib, groff, zlib}: {stdenv, fetchurl, id3lib, groff, zlib}:
let version = "0.1.12"; in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "id3v2-${version}"; name = "id3v2-${version}";
version = "0.1.12";
src = fetchurl { src = fetchurl {
url = "mirror://sourceforge/id3v2/${name}.tar.gz"; url = "mirror://sourceforge/id3v2/${name}.tar.gz";
sha256 = "1gr22w8gar7zh5pyyvdy7cy26i47l57jp1l1nd60xfwx339zl1c1"; sha256 = "1gr22w8gar7zh5pyyvdy7cy26i47l57jp1l1nd60xfwx339zl1c1";
@ -19,7 +20,6 @@ stdenv.mkDerivation rec {
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {
inherit version;
description = "A command line editor for id3v2 tags"; description = "A command line editor for id3v2 tags";
homepage = http://id3v2.sourceforge.net/; homepage = http://id3v2.sourceforge.net/;
license = licenses.gpl2Plus; license = licenses.gpl2Plus;

View File

@ -1,8 +1,8 @@
{ stdenv, fetchFromGitHub, libav, libkeyfinder }: { stdenv, fetchFromGitHub, libav, libkeyfinder }:
let version = "2015-09-13"; in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "keyfinder-cli-${version}"; name = "keyfinder-cli-${version}";
version = "2015-09-13";
src = fetchFromGitHub { src = fetchFromGitHub {
repo = "keyfinder-cli"; repo = "keyfinder-cli";
@ -18,7 +18,6 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true; enableParallelBuilding = true;
meta = with stdenv.lib; { meta = with stdenv.lib; {
inherit version;
inherit (src.meta) homepage; inherit (src.meta) homepage;
description = "Musical key detection for digital audio (command-line tool)"; description = "Musical key detection for digital audio (command-line tool)";
longDescription = '' longDescription = ''

View File

@ -1,8 +1,8 @@
{ stdenv, fetchFromGitHub, libav_0_8, libkeyfinder, qtbase, qtxmlpatterns, taglib }: { stdenv, fetchFromGitHub, libav_0_8, libkeyfinder, qtbase, qtxmlpatterns, taglib }:
let version = "2.1"; in stdenv.mkDerivation rec {
stdenv.mkDerivation {
name = "keyfinder-${version}"; name = "keyfinder-${version}";
version = "2.1";
src = fetchFromGitHub { src = fetchFromGitHub {
sha256 = "0j9k90ll4cr8j8dywb6zf1bs9vijlx7m4zsh6w9hxwrr7ymz89hn"; sha256 = "0j9k90ll4cr8j8dywb6zf1bs9vijlx7m4zsh6w9hxwrr7ymz89hn";
@ -11,24 +11,6 @@ stdenv.mkDerivation {
owner = "ibsh"; owner = "ibsh";
}; };
meta = with stdenv.lib; {
inherit version;
description = "Musical key detection for digital audio (graphical UI)";
longDescription = ''
KeyFinder is an open source key detection tool, for DJs interested in
harmonic and tonal mixing. Designed primarily for electronic and dance
music, it is highly configurable and can be applied to many genres. It
supports a huge range of codecs thanks to LibAV, and writes to metadata
tags using TagLib. It's intended to be very focused: no library
management, no track suggestions, no media player. Just a fast,
efficient workflow tool.
'';
homepage = http://www.ibrahimshaath.co.uk/keyfinder/;
license = licenses.gpl3Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ nckx ];
};
buildInputs = [ libav_0_8 libkeyfinder qtbase qtxmlpatterns taglib ]; buildInputs = [ libav_0_8 libkeyfinder qtbase qtxmlpatterns taglib ];
postPatch = '' postPatch = ''
@ -43,4 +25,21 @@ stdenv.mkDerivation {
''; '';
enableParallelBuilding = true; enableParallelBuilding = true;
meta = with stdenv.lib; {
description = "Musical key detection for digital audio (graphical UI)";
longDescription = ''
KeyFinder is an open source key detection tool, for DJs interested in
harmonic and tonal mixing. Designed primarily for electronic and dance
music, it is highly configurable and can be applied to many genres. It
supports a huge range of codecs thanks to LibAV, and writes to metadata
tags using TagLib. It's intended to be very focused: no library
management, no track suggestions, no media player. Just a fast,
efficient workflow tool.
'';
homepage = http://www.ibrahimshaath.co.uk/keyfinder/;
license = licenses.gpl3Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ nckx ];
};
} }

View File

@ -15,11 +15,10 @@ with stdenv.lib;
let let
version = "0.1.1";
# Note: this is NOT the libvterm already in nixpkgs, but some NIH silliness: # Note: this is NOT the libvterm already in nixpkgs, but some NIH silliness:
neovimLibvterm = let version = "2015-11-06"; in stdenv.mkDerivation { neovimLibvterm = stdenv.mkDerivation rec {
name = "neovim-libvterm-${version}"; name = "neovim-libvterm-${version}";
version = "2015-11-06";
src = fetchFromGitHub { src = fetchFromGitHub {
sha256 = "0f9r0wnr9ajcdd6as24igmch0n8s1annycb9f4k0vg6fngwaypy9"; sha256 = "0f9r0wnr9ajcdd6as24igmch0n8s1annycb9f4k0vg6fngwaypy9";
@ -59,8 +58,9 @@ let
ignoreCollisions = true; ignoreCollisions = true;
}; };
neovim = stdenv.mkDerivation { neovim = stdenv.mkDerivation rec {
name = "neovim-${version}"; name = "neovim-${version}";
version = "0.1.1";
src = fetchFromGitHub { src = fetchFromGitHub {
sha256 = "0crswjslp687yp1cpn7nmm0j2sccqhcxryzxv1s81cgpai0fzf60"; sha256 = "0crswjslp687yp1cpn7nmm0j2sccqhcxryzxv1s81cgpai0fzf60";
@ -146,7 +146,10 @@ let
in if (vimAlias == false && configure == null) then neovim else stdenv.mkDerivation { in if (vimAlias == false && configure == null) then neovim else stdenv.mkDerivation {
name = "neovim-${version}-configured"; name = "neovim-${version}-configured";
inherit (neovim) version;
nativeBuildInputs = [ makeWrapper ]; nativeBuildInputs = [ makeWrapper ];
buildCommand = '' buildCommand = ''
mkdir -p $out/bin mkdir -p $out/bin
for item in ${neovim}/bin/*; do for item in ${neovim}/bin/*; do

View File

@ -1,8 +1,8 @@
{ stdenv, fetchFromGitHub, cmake, libX11, procps, python, qtbase }: { stdenv, fetchFromGitHub, cmake, libX11, procps, python, qtbase }:
let version = "7.1"; in stdenv.mkDerivation rec {
stdenv.mkDerivation {
name = "apitrace-${version}"; name = "apitrace-${version}";
version = "7.1";
src = fetchFromGitHub { src = fetchFromGitHub {
sha256 = "1n2gmsjnpyam7isg7n1ksggyh6y1l8drvx0a93bnvbcskr7jiz9a"; sha256 = "1n2gmsjnpyam7isg7n1ksggyh6y1l8drvx0a93bnvbcskr7jiz9a";
@ -20,7 +20,6 @@ stdenv.mkDerivation {
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {
inherit version;
homepage = https://apitrace.github.io; homepage = https://apitrace.github.io;
description = "Tools to trace OpenGL, OpenGL ES, Direct3D, and DirectDraw APIs"; description = "Tools to trace OpenGL, OpenGL ES, Direct3D, and DirectDraw APIs";
license = licenses.mit; license = licenses.mit;

View File

@ -1,9 +1,9 @@
{ stdenv, fetchurl, cairo, colord, glib, gtk3, gusb, intltool, itstool { stdenv, fetchurl, cairo, colord, glib, gtk3, gusb, intltool, itstool
, libusb1, libxml2, pkgconfig, sane-backends, vala, wrapGAppsHook }: , libusb1, libxml2, pkgconfig, sane-backends, vala, wrapGAppsHook }:
let version = "3.19.4"; in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "simple-scan-${version}"; name = "simple-scan-${version}";
version = "3.19.4";
src = fetchurl { src = fetchurl {
sha256 = "1v9sify1s38qd5sfg26m7sdg9bkrfmai2nijs4wzah7xa9p23c83"; sha256 = "1v9sify1s38qd5sfg26m7sdg9bkrfmai2nijs4wzah7xa9p23c83";
@ -26,7 +26,6 @@ stdenv.mkDerivation rec {
doCheck = true; doCheck = true;
meta = with stdenv.lib; { meta = with stdenv.lib; {
inherit version;
description = "Simple scanning utility"; description = "Simple scanning utility";
longDescription = '' longDescription = ''
A really easy way to scan both documents and photos. You can crop out the A really easy way to scan both documents and photos. You can crop out the

View File

@ -1,8 +1,8 @@
{ stdenv, fetchurl, makeDesktopItem, unzip, jre }: { stdenv, fetchurl, makeDesktopItem, unzip, jre }:
let version = "0.2"; in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "swingsane-${version}"; name = "swingsane-${version}";
version = "0.2";
src = fetchurl { src = fetchurl {
sha256 = "15pgqgyw46yd2i367ax9940pfyvinyw2m8apmwhrn0ix5nywa7ni"; sha256 = "15pgqgyw46yd2i367ax9940pfyvinyw2m8apmwhrn0ix5nywa7ni";
@ -44,7 +44,6 @@ stdenv.mkDerivation rec {
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {
inherit version;
description = "Java GUI for SANE scanner servers (saned)"; description = "Java GUI for SANE scanner servers (saned)";
longDescription = '' longDescription = ''
SwingSane is a powerful, cross platform, open source Java front-end for SwingSane is a powerful, cross platform, open source Java front-end for

View File

@ -1,8 +1,8 @@
{ stdenv, fetchurl, pythonPackages }: { stdenv, fetchurl, pythonPackages }:
let version = "2.21"; in
pythonPackages.buildPythonPackage rec { pythonPackages.buildPythonPackage rec {
name = "rawdog-${version}"; name = "rawdog-${version}";
version = "2.21";
src = fetchurl { src = fetchurl {
url = "http://offog.org/files/${name}.tar.gz"; url = "http://offog.org/files/${name}.tar.gz";
@ -14,7 +14,6 @@ pythonPackages.buildPythonPackage rec {
namePrefix = ""; namePrefix = "";
meta = with stdenv.lib; { meta = with stdenv.lib; {
inherit version;
homepage = "http://offog.org/code/rawdog/"; homepage = "http://offog.org/code/rawdog/";
description = "RSS Aggregator Without Delusions Of Grandeur"; description = "RSS Aggregator Without Delusions Of Grandeur";
license = licenses.gpl2; license = licenses.gpl2;

View File

@ -1,8 +1,8 @@
{ stdenv, fetchFromGitHub, cppcheck, libmrss }: { stdenv, fetchFromGitHub, cppcheck, libmrss }:
let version = "2.1"; in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "rsstail-${version}"; name = "rsstail-${version}";
version = "2.1";
src = fetchFromGitHub { src = fetchFromGitHub {
sha256 = "12p69i3g1fwlw0bds9jqsdmzkid3k5a41w31d227i7vm12wcvjf6"; sha256 = "12p69i3g1fwlw0bds9jqsdmzkid3k5a41w31d227i7vm12wcvjf6";
@ -24,7 +24,6 @@ stdenv.mkDerivation rec {
doCheck = true; doCheck = true;
meta = with stdenv.lib; { meta = with stdenv.lib; {
inherit version;
description = "Monitor RSS feeds for new entries"; description = "Monitor RSS feeds for new entries";
longDescription = '' longDescription = ''
RSSTail is more or less an RSS reader: it monitors an RSS feed and if it RSSTail is more or less an RSS reader: it monitors an RSS feed and if it

View File

@ -1,22 +1,14 @@
{ stdenv, fetchurl, cups, libssh, libXpm, nxproxy, openldap, makeWrapper, qt4 }: { stdenv, fetchurl, cups, libssh, libXpm, nxproxy, openldap, makeWrapper, qt4 }:
let version = "4.0.5.0"; in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "x2goclient-${version}"; name = "x2goclient-${version}";
version = "4.0.5.0";
src = fetchurl { src = fetchurl {
url = "http://code.x2go.org/releases/source/x2goclient/${name}.tar.gz"; url = "http://code.x2go.org/releases/source/x2goclient/${name}.tar.gz";
sha256 = "18a2pszh0nq2ir64a1ah1mlzddn4qcd12b339bv30n0y1ir92bi4"; sha256 = "18a2pszh0nq2ir64a1ah1mlzddn4qcd12b339bv30n0y1ir92bi4";
}; };
meta = with stdenv.lib; {
description = "Graphical NoMachine NX3 remote desktop client";
homepage = http://x2go.org/;
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = with maintainers; [ nckx ];
};
buildInputs = [ cups libssh libXpm nxproxy openldap qt4 ]; buildInputs = [ cups libssh libXpm nxproxy openldap qt4 ];
nativeBuildInputs = [ makeWrapper ]; nativeBuildInputs = [ makeWrapper ];
@ -35,4 +27,12 @@ stdenv.mkDerivation rec {
postInstall = '' postInstall = ''
wrapProgram "$out/bin/x2goclient" --suffix PATH : "${nxproxy}/bin"; wrapProgram "$out/bin/x2goclient" --suffix PATH : "${nxproxy}/bin";
''; '';
meta = with stdenv.lib; {
description = "Graphical NoMachine NX3 remote desktop client";
homepage = http://x2go.org/;
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = with maintainers; [ nckx ];
};
} }

View File

@ -1,8 +1,8 @@
{ stdenv, fetchurl, gd, ncurses }: { stdenv, fetchurl, gd, ncurses }:
let version = "1.15"; in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "vnstat-${version}"; name = "vnstat-${version}";
version = "1.15";
src = fetchurl { src = fetchurl {
sha256 = "0fdw3nbrfm4acv48r0934ls6ld5lwkff3gyym2c72qlbm9dlp0f3"; sha256 = "0fdw3nbrfm4acv48r0934ls6ld5lwkff3gyym2c72qlbm9dlp0f3";
@ -16,7 +16,6 @@ stdenv.mkDerivation rec {
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {
inherit version;
description = "Console-based network statistics utility for Linux"; description = "Console-based network statistics utility for Linux";
longDescription = '' longDescription = ''
vnStat is a console-based network traffic monitor for Linux and BSD that vnStat is a console-based network traffic monitor for Linux and BSD that

View File

@ -2,9 +2,9 @@
, asciidoc, docbook_xml_dtd_45, docbook_xsl, libxslt, makeWrapper, xmlto , asciidoc, docbook_xml_dtd_45, docbook_xsl, libxslt, makeWrapper, xmlto
, pythonPackages }: , pythonPackages }:
let version = "3.2015-09-08"; in stdenv.mkDerivation rec {
stdenv.mkDerivation {
name = "git-bz-${version}"; name = "git-bz-${version}";
version = "3.2015-09-08";
src = fetchgit { src = fetchgit {
sha256 = "19d9c81d4eeabe87079d8f60e4cfa7303f776f5a7c9874642cf2bd188851d029"; sha256 = "19d9c81d4eeabe87079d8f60e4cfa7303f776f5a7c9874642cf2bd188851d029";
@ -12,7 +12,6 @@ stdenv.mkDerivation {
url = "git://git.fishsoup.net/git-bz"; url = "git://git.fishsoup.net/git-bz";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
asciidoc docbook_xml_dtd_45 docbook_xsl libxslt makeWrapper xmlto asciidoc docbook_xml_dtd_45 docbook_xsl libxslt makeWrapper xmlto
]; ];
@ -32,7 +31,6 @@ stdenv.mkDerivation {
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {
inherit version;
description = "Bugzilla integration for git"; description = "Bugzilla integration for git";
longDescription = '' longDescription = ''
git-bz is a tool for integrating the Git command line with the git-bz is a tool for integrating the Git command line with the

View File

@ -1,8 +1,8 @@
{ stdenv, fetchFromGitHub, docutils, python }: { stdenv, fetchFromGitHub, docutils, python }:
let version = "0.9.0"; in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "git-hub-${version}"; name = "git-hub-${version}";
version = "0.9.0";
src = fetchFromGitHub { src = fetchFromGitHub {
sha256 = "0c4kq4a906lr8nzway7qh0560n2ydvidh9rlffh44902rd48kp0h"; sha256 = "0c4kq4a906lr8nzway7qh0560n2ydvidh9rlffh44902rd48kp0h";
@ -29,7 +29,6 @@ stdenv.mkDerivation rec {
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {
inherit version;
inherit (src.meta) homepage; inherit (src.meta) homepage;
description = "Git command line interface to GitHub"; description = "Git command line interface to GitHub";
longDescription = '' longDescription = ''

View File

@ -1,8 +1,8 @@
{ stdenv, fetchurl, makeDesktopItem, ffmpeg, qt4 }: { stdenv, fetchurl, makeDesktopItem, ffmpeg, qt4 }:
let version = "3.5.6"; in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "clipgrab-${version}"; name = "clipgrab-${version}";
version = "3.5.6";
src = fetchurl { src = fetchurl {
sha256 = "0wm6hqaq6ydbvvd0fqkfydxd5h7gf4di7lvq63xgxl4z40jqc25n"; sha256 = "0wm6hqaq6ydbvvd0fqkfydxd5h7gf4di7lvq63xgxl4z40jqc25n";
@ -41,7 +41,6 @@ stdenv.mkDerivation rec {
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {
inherit version;
description = "Video downloader for YouTube and other sites"; description = "Video downloader for YouTube and other sites";
longDescription = '' longDescription = ''
ClipGrab is a free downloader and converter for YouTube, Vimeo, Metacafe, ClipGrab is a free downloader and converter for YouTube, Vimeo, Metacafe,

View File

@ -2,9 +2,9 @@
# "Free" API key generated by nckx <tobias.geerinckx.rice@gmail.com> # "Free" API key generated by nckx <tobias.geerinckx.rice@gmail.com>
, withAPIKey ? "AIzaSyBtFgbln3bu1swQC-naMxMtKh384D3xJZE" }: , withAPIKey ? "AIzaSyBtFgbln3bu1swQC-naMxMtKh384D3xJZE" }:
let version = "2.4"; in stdenv.mkDerivation rec {
stdenv.mkDerivation {
name = "minitube-${version}"; name = "minitube-${version}";
version = "2.4";
src = fetchFromGitHub { src = fetchFromGitHub {
sha256 = "0mm8v2vpspwxh2fqaykb381v6r9apywc1b0x8jkcbp7s43w10lp5"; sha256 = "0mm8v2vpspwxh2fqaykb381v6r9apywc1b0x8jkcbp7s43w10lp5";
@ -13,20 +13,6 @@ stdenv.mkDerivation {
owner = "flaviotordini"; owner = "flaviotordini";
}; };
meta = with stdenv.lib; {
inherit version;
description = "Stand-alone YouTube video player";
longDescription = ''
Watch YouTube videos in a new way: you type a keyword, Minitube gives
you an endless video stream. Minitube is not about cloning the YouTube
website, it aims to create a new TV-like experience.
'';
homepage = http://flavio.tordini.org/minitube;
license = licenses.gpl3Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ nckx ];
};
buildInputs = [ phonon phonon_backend_vlc qt4 ]; buildInputs = [ phonon phonon_backend_vlc qt4 ];
nativeBuildInputs = [ makeWrapper ]; nativeBuildInputs = [ makeWrapper ];
@ -40,4 +26,17 @@ stdenv.mkDerivation {
wrapProgram $out/bin/minitube \ wrapProgram $out/bin/minitube \
--prefix QT_PLUGIN_PATH : "${phonon_backend_vlc}/lib/kde4/plugins" --prefix QT_PLUGIN_PATH : "${phonon_backend_vlc}/lib/kde4/plugins"
''; '';
meta = with stdenv.lib; {
description = "Stand-alone YouTube video player";
longDescription = ''
Watch YouTube videos in a new way: you type a keyword, Minitube gives
you an endless video stream. Minitube is not about cloning the YouTube
website, it aims to create a new TV-like experience.
'';
homepage = http://flavio.tordini.org/minitube;
license = licenses.gpl3Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ nckx ];
};
} }

View File

@ -1,8 +1,8 @@
{ stdenv, fetchurl, makeWrapper, perl, perlPackages }: { stdenv, fetchurl, makeWrapper, perl, perlPackages }:
let version = "2.0"; in stdenv.mkDerivation rec {
stdenv.mkDerivation {
name = "remotebox-${version}"; name = "remotebox-${version}";
version = "2.0";
src = fetchurl { src = fetchurl {
url = "http://remotebox.knobgoblin.org.uk/downloads/RemoteBox-${version}.tar.bz2"; url = "http://remotebox.knobgoblin.org.uk/downloads/RemoteBox-${version}.tar.bz2";
@ -26,7 +26,6 @@ stdenv.mkDerivation {
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {
inherit version;
description = "VirtualBox client with remote management"; description = "VirtualBox client with remote management";
homepage = http://remotebox.knobgoblin.org.uk/; homepage = http://remotebox.knobgoblin.org.uk/;
license = licenses.gpl2Plus; license = licenses.gpl2Plus;

View File

@ -1,8 +1,8 @@
{ stdenv, fetchurl }: { stdenv, fetchurl }:
let version = "4.04"; in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "man-pages-${version}"; name = "man-pages-${version}";
version = "4.04";
src = fetchurl { src = fetchurl {
url = "mirror://kernel/linux/docs/man-pages/${name}.tar.xz"; url = "mirror://kernel/linux/docs/man-pages/${name}.tar.xz";
@ -12,7 +12,6 @@ stdenv.mkDerivation rec {
makeFlags = [ "MANDIR=$(out)/share/man" ]; makeFlags = [ "MANDIR=$(out)/share/man" ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
inherit version;
description = "Linux development manual pages"; description = "Linux development manual pages";
homepage = http://www.kernel.org/doc/man-pages/; homepage = http://www.kernel.org/doc/man-pages/;
repositories.git = http://git.kernel.org/pub/scm/docs/man-pages/man-pages; repositories.git = http://git.kernel.org/pub/scm/docs/man-pages/man-pages;

View File

@ -1,8 +1,8 @@
{ stdenv, fetchurl, unzip }: { stdenv, fetchurl, unzip }:
let version = "2.019"; in stdenv.mkDerivation rec {
stdenv.mkDerivation {
name = "hack-font-${version}"; name = "hack-font-${version}";
version = "2.019";
src = let src = let
version_ = with stdenv.lib; version_ = with stdenv.lib;
@ -22,7 +22,6 @@ stdenv.mkDerivation {
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {
inherit version;
description = "A typeface designed for source code"; description = "A typeface designed for source code";
longDescription = '' longDescription = ''
Hack is hand groomed and optically balanced to be a workhorse face for Hack is hand groomed and optically balanced to be a workhorse face for

View File

@ -1,8 +1,8 @@
{ stdenv, fetchurl, intltool }: { stdenv, fetchurl, intltool }:
let version = "0.8"; in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "sound-theme-freedesktop-${version}"; name = "sound-theme-freedesktop-${version}";
version = "0.8";
src = fetchurl { src = fetchurl {
sha256 = "054abv4gmfk9maw93fis0bf605rc56dah7ys5plc4pphxqh8nlfb"; sha256 = "054abv4gmfk9maw93fis0bf605rc56dah7ys5plc4pphxqh8nlfb";
@ -12,7 +12,6 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ intltool ]; nativeBuildInputs = [ intltool ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
inherit version;
description = "Freedesktop reference sound theme"; description = "Freedesktop reference sound theme";
homepage = http://freedesktop.org/wiki/Specifications/sound-theme-spec; homepage = http://freedesktop.org/wiki/Specifications/sound-theme-spec;
# See http://cgit.freedesktop.org/sound-theme-freedesktop/tree/CREDITS: # See http://cgit.freedesktop.org/sound-theme-freedesktop/tree/CREDITS:

View File

@ -1,8 +1,8 @@
{ stdenv, fetchgit }: { stdenv, fetchgit }:
let version = "2015-12-14"; in stdenv.mkDerivation rec {
stdenv.mkDerivation {
name = "wireless-regdb-${version}"; name = "wireless-regdb-${version}";
version = "2015-12-14";
src = fetchgit { src = fetchgit {
sha256 = "1ldfcxn3mdb104czy78b7nj1clsbfp8fc6mshix98zq0bg4k7rsm"; sha256 = "1ldfcxn3mdb104czy78b7nj1clsbfp8fc6mshix98zq0bg4k7rsm";
@ -18,7 +18,6 @@ stdenv.mkDerivation {
]; ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
inherit version;
description = "Wireless regulatory database for CRDA"; description = "Wireless regulatory database for CRDA";
homepage = http://wireless.kernel.org/en/developers/Regulatory/; homepage = http://wireless.kernel.org/en/developers/Regulatory/;
license = licenses.isc; license = licenses.isc;

View File

@ -1,33 +1,15 @@
{ stdenv, fetchurl, cmake, coreutils, dbus, freetype, glib, gnused { stdenv, fetchurl, cmake, coreutils, dbus, freetype, glib, gnused
, libpthreadstubs, pango, pkgconfig, libpulseaudio, which }: , libpthreadstubs, pango, pkgconfig, libpulseaudio, which }:
let version = "4.10.2.2614"; in stdenv.mkDerivation rec {
stdenv.mkDerivation {
name = "squeak-${version}"; name = "squeak-${version}";
version = "4.10.2.2614";
src = fetchurl { src = fetchurl {
sha256 = "0bpwbnpy2sb4gylchfx50sha70z36bwgdxraym4vrr93l8pd3dix"; sha256 = "0bpwbnpy2sb4gylchfx50sha70z36bwgdxraym4vrr93l8pd3dix";
url = "http://squeakvm.org/unix/release/Squeak-${version}-src.tar.gz"; 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 buildInputs = [ coreutils dbus freetype glib gnused libpthreadstubs
pango libpulseaudio which ]; pango libpulseaudio which ];
nativeBuildInputs = [ cmake pkgconfig ]; nativeBuildInputs = [ cmake pkgconfig ];
@ -44,4 +26,21 @@ stdenv.mkDerivation {
''; '';
enableParallelBuilding = true; 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 }: { stdenv, fetchFromGitHub, readline }:
let version = "2015-05-04"; in stdenv.mkDerivation rec {
stdenv.mkDerivation {
name = "picoc-${version}"; name = "picoc-${version}";
version = "2015-05-04";
src = fetchFromGitHub { src = fetchFromGitHub {
sha256 = "01w3jwl0vn9fsmh7p20ad4nl9ljzgfn576yvncd9pk9frx3pd8y4"; sha256 = "01w3jwl0vn9fsmh7p20ad4nl9ljzgfn576yvncd9pk9frx3pd8y4";
@ -11,26 +11,6 @@ stdenv.mkDerivation {
owner = "zsaleeba"; 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 ]; buildInputs = [ readline ];
postPatch = '' postPatch = ''
@ -50,4 +30,23 @@ stdenv.mkDerivation {
mkdir -p $out/include mkdir -p $out/include
install -m644 *.h $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 }: { stdenv, fetchFromGitLab, doxygen, glib, libaccounts-glib, pkgconfig, qtbase }:
let version = "1.13"; in stdenv.mkDerivation rec {
stdenv.mkDerivation {
name = "accounts-qt-${version}"; name = "accounts-qt-${version}";
version = "1.13";
src = fetchFromGitLab { src = fetchFromGitLab {
sha256 = "1gpkgw05dwsf2wk5cy3skgss3kw6mqh7iv3fadrxqxfc1za1xmyl"; sha256 = "1gpkgw05dwsf2wk5cy3skgss3kw6mqh7iv3fadrxqxfc1za1xmyl";
@ -11,17 +11,17 @@ stdenv.mkDerivation {
owner = "accounts-sso"; 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 ]; buildInputs = [ glib libaccounts-glib qtbase ];
nativeBuildInputs = [ doxygen pkgconfig ]; nativeBuildInputs = [ doxygen pkgconfig ];
configurePhase = '' configurePhase = ''
qmake PREFIX=$out LIBDIR=$out/lib CMAKE_CONFIG_PATH=$out/lib/cmake 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 { stdenv, fetchFromGitHub, icmake, libmilter, libX11, openssl, readline
, utillinux, yodl }: , utillinux, yodl }:
let version = "4.00.00"; in stdenv.mkDerivation rec {
stdenv.mkDerivation {
name = "bobcat-${version}"; name = "bobcat-${version}";
version = "4.00.00";
src = fetchFromGitHub { src = fetchFromGitHub {
sha256 = "0wdb25sgw7i3jk3lbja6b4ipqfg1sncam6adg2bn8l5fcinrpwgs"; sha256 = "0wdb25sgw7i3jk3lbja6b4ipqfg1sncam6adg2bn8l5fcinrpwgs";
@ -12,15 +12,6 @@ stdenv.mkDerivation {
owner = "fbb-git"; 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 ]; buildInputs = [ libmilter libX11 openssl readline utillinux ];
nativeBuildInputs = [ icmake yodl ]; nativeBuildInputs = [ icmake yodl ];
@ -39,4 +30,12 @@ stdenv.mkDerivation {
installPhase = '' installPhase = ''
./build install ./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 }: { stdenv, fetchurl, autoreconfHook }:
let version = "7.0.2"; in # meta.homepage might change after a major update stdenv.mkDerivation rec {
stdenv.mkDerivation {
name = "ip2location-c-${version}"; name = "ip2location-c-${version}";
version = "7.0.2"; # meta.homepage might change after a major update
src = fetchurl { src = fetchurl {
sha256 = "1gs43qgcyfn83abrkhvvw1s67d1sbkbj3hab9m17ysn6swafiycx"; sha256 = "1gs43qgcyfn83abrkhvvw1s67d1sbkbj3hab9m17ysn6swafiycx";
@ -18,7 +18,6 @@ stdenv.mkDerivation {
doCheck = false; doCheck = false;
meta = with stdenv.lib; { meta = with stdenv.lib; {
inherit version;
description = "Library to look up locations of host names and IP addresses"; description = "Library to look up locations of host names and IP addresses";
longDescription = '' longDescription = ''
A C library to find the country, region, city,coordinates, A C library to find the country, region, city,coordinates,

View File

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

View File

@ -1,8 +1,8 @@
{ stdenv, fetchFromGitHub, fftw, qtbase }: { stdenv, fetchFromGitHub, fftw, qtbase }:
let version = "2.1"; in stdenv.mkDerivation rec {
stdenv.mkDerivation {
name = "libkeyfinder-${version}"; name = "libkeyfinder-${version}";
version = "2.1";
src = fetchFromGitHub { src = fetchFromGitHub {
sha256 = "07kc0cl6kirgmpdgkgmp6r3yvyf7b1w569z01g8rfl1cig80qdc7"; sha256 = "07kc0cl6kirgmpdgkgmp6r3yvyf7b1w569z01g8rfl1cig80qdc7";
@ -11,15 +11,6 @@ stdenv.mkDerivation {
owner = "ibsh"; 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 ]; buildInputs = [ fftw qtbase ];
postPatch = '' postPatch = ''
@ -40,4 +31,12 @@ stdenv.mkDerivation {
mkdir -p $out/lib mkdir -p $out/lib
cp -a lib*.so* $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 }: { stdenv, fetchurl, pkgconfig, libnfnetlink, libmnl }:
let version = "1.0.5"; in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "libnetfilter_conntrack-${version}"; name = "libnetfilter_conntrack-${version}";
version = "1.0.5";
src = fetchurl { src = fetchurl {
url = "http://netfilter.org/projects/libnetfilter_conntrack/files/${name}.tar.bz2"; url = "http://netfilter.org/projects/libnetfilter_conntrack/files/${name}.tar.bz2";
@ -14,7 +14,6 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ pkgconfig ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
inherit version;
description = "Userspace library providing an API to the in-kernel connection tracking state table"; description = "Userspace library providing an API to the in-kernel connection tracking state table";
longDescription = '' longDescription = ''
libnetfilter_conntrack is a userspace library providing a programming interface (API) to the 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 }: { stdenv, fetchurl, autoreconfHook, libjpeg, libpng12, libX11, zlib }:
let version = "3.5.0.32"; in stdenv.mkDerivation rec {
stdenv.mkDerivation {
name = "libxcomp-${version}"; name = "libxcomp-${version}";
version = "3.5.0.32";
src = fetchurl { src = fetchurl {
sha256 = "02n5bdc1jsq999agb4w6dmdj5l2wlln2lka84qz6rpswwc59zaxm"; sha256 = "02n5bdc1jsq999agb4w6dmdj5l2wlln2lka84qz6rpswwc59zaxm";
url = "http://code.x2go.org/releases/source/nx-libs/nx-libs-${version}-lite.tar.gz"; 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 ]; buildInputs = [ libjpeg libpng12 libX11 zlib ];
nativeBuildInputs = [ autoreconfHook ]; nativeBuildInputs = [ autoreconfHook ];
@ -26,4 +17,12 @@ stdenv.mkDerivation {
''; '';
enableParallelBuilding = true; 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 }: { stdenv, fetchurl, ncurses }:
let version = "0.2.8"; in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "rote-${version}"; name = "rote-${version}";
version = "0.2.8";
src = fetchurl { src = fetchurl {
sha256 = "05v1lw99jv4cwxl7spyi7by61j2scpdsvx809x5cga7dm5dhlmky"; sha256 = "05v1lw99jv4cwxl7spyi7by61j2scpdsvx809x5cga7dm5dhlmky";
@ -14,7 +14,6 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true; enableParallelBuilding = true;
meta = with stdenv.lib; { meta = with stdenv.lib; {
inherit version;
description = "Our Own Terminal Emulation Library"; description = "Our Own Terminal Emulation Library";
longDescription = '' longDescription = ''
ROTE is a simple C library for VT102 terminal emulation. It allows the ROTE is a simple C library for VT102 terminal emulation. It allows the

View File

@ -1,33 +1,14 @@
{ stdenv, fetchurl, jre, makeDesktopItem }: { stdenv, fetchurl, jre, makeDesktopItem }:
let version = "4.2_2015-02-22"; in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "alloy-${version}"; name = "alloy-${version}";
version = "4.2_2015-02-22";
src = fetchurl { src = fetchurl {
sha256 = "0p93v8jwx9prijpikkgmfdzb9qn8ljmvga5d9wvrkxddccjx9k28"; sha256 = "0p93v8jwx9prijpikkgmfdzb9qn8ljmvga5d9wvrkxddccjx9k28";
url = "http://alloy.mit.edu/alloy/downloads/alloy${version}.jar"; 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 { desktopItem = makeDesktopItem rec {
name = "alloy"; name = "alloy";
exec = name; exec = name;
@ -57,4 +38,22 @@ stdenv.mkDerivation rec {
install -Dm644 ${./icon.png} $out/share/pixmaps/alloy.png install -Dm644 ${./icon.png} $out/share/pixmaps/alloy.png
cp -r ${desktopItem}/share/applications $out/share 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 }: { stdenv, fetchurl, buildPerlPackage }:
let version = "1.10"; in
buildPerlPackage rec { buildPerlPackage rec {
name = "egypt-${version}"; name = "egypt-${version}";
version = "1.10";
src = fetchurl { src = fetchurl {
sha256 = "0r0wj6v8z9fzlh9pb5617kyjdf92ppmlbzajaarrq729bbb6ln5m"; sha256 = "0r0wj6v8z9fzlh9pb5617kyjdf92ppmlbzajaarrq729bbb6ln5m";
url = "http://www.gson.org/egypt/download/${name}.tar.gz"; url = "http://www.gson.org/egypt/download/${name}.tar.gz";
}; };
enableParallelBuilding = true;
doCheck = true;
meta = with stdenv.lib; { meta = with stdenv.lib; {
inherit version;
description = "Tool for making call graphs of C programmes"; description = "Tool for making call graphs of C programmes";
longDescription = '' longDescription = ''
Egypt is a simple tool for creating call graphs of C programs. It neither Egypt is a simple tool for creating call graphs of C programs. It neither
@ -25,8 +28,4 @@ buildPerlPackage rec {
platforms = platforms.linux; platforms = platforms.linux;
maintainers = with maintainers; [ nckx ]; maintainers = with maintainers; [ nckx ];
}; };
enableParallelBuilding = true;
doCheck = true;
} }

View File

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

View File

@ -1,28 +1,14 @@
{ stdenv, fetchurl, jre }: { stdenv, fetchurl, jre }:
let version = "0_101"; in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "cfr-${version}"; name = "cfr-${version}";
version = "0_101";
src = fetchurl { src = fetchurl {
sha256 = "0zwl3whypdm2qrw3hwaqjnifkb4wcdn8fx9scrjkli54bhr6dqch"; sha256 = "0zwl3whypdm2qrw3hwaqjnifkb4wcdn8fx9scrjkli54bhr6dqch";
url = "http://www.benf.org/other/cfr/cfr_${version}.jar"; 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 ]; buildInputs = [ jre ];
phases = [ "installPhase" ]; phases = [ "installPhase" ];
@ -38,4 +24,17 @@ stdenv.mkDerivation rec {
EOF EOF
install -Dm755 cfr $out/bin/cfr 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 }: { stdenv, fetchurl, libelf, txt2man }:
let version = "0.2"; in stdenv.mkDerivation rec {
stdenv.mkDerivation {
name = "bin_replace_string-${version}"; name = "bin_replace_string-${version}";
version = "0.2";
src = fetchurl { src = fetchurl {
sha256 = "1gnpddxwpsfrg4l76x5yplsvbcdbviybciqpn22yq3g3qgnr5c2a"; sha256 = "1gnpddxwpsfrg4l76x5yplsvbcdbviybciqpn22yq3g3qgnr5c2a";
url = "ftp://ohnopub.net/mirror/bin_replace_string-0.2.tar.bz2"; url = "ftp://ohnopub.net/mirror/bin_replace_string-0.2.tar.bz2";
}; };
buildInputs = [ libelf ];
nativeBuildInputs = [ txt2man ];
enableParallelBuilding = true;
meta = with stdenv.lib; { meta = with stdenv.lib; {
inherit version;
description = "Edit precompiled binaries"; description = "Edit precompiled binaries";
longDescription = '' longDescription = ''
bin_replace_string edits C-style strings in precompiled binaries. This is bin_replace_string edits C-style strings in precompiled binaries. This is
@ -25,9 +29,4 @@ stdenv.mkDerivation {
platforms = platforms.linux; platforms = platforms.linux;
maintainers = with maintainers; [ nckx ]; maintainers = with maintainers; [ nckx ];
}; };
buildInputs = [ libelf ];
nativeBuildInputs = [ txt2man ];
enableParallelBuilding = true;
} }

View File

@ -1,8 +1,8 @@
{ stdenv, fetchFromGitHub, bobcat, icmake, yodl }: { stdenv, fetchFromGitHub, bobcat, icmake, yodl }:
let version = "2.03.00"; in stdenv.mkDerivation rec {
stdenv.mkDerivation {
name = "flexc++-${version}"; name = "flexc++-${version}";
version = "2.03.00";
src = fetchFromGitHub { src = fetchFromGitHub {
sha256 = "1knb5h6l71n5zi9xzml5f6v7wspbk7vrcaiy2div8bnj7na3z717"; sha256 = "1knb5h6l71n5zi9xzml5f6v7wspbk7vrcaiy2div8bnj7na3z717";
@ -11,20 +11,6 @@ stdenv.mkDerivation {
owner = "fbb-git"; 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++"; sourceRoot = "flexcpp-${version}-src/flexc++";
buildInputs = [ bobcat ]; buildInputs = [ bobcat ];
@ -48,4 +34,17 @@ stdenv.mkDerivation {
./build install skel ./build install skel
./build install std ./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 ];
};
} }

View File

@ -1,8 +1,8 @@
{ stdenv, fetchFromGitHub, ncurses }: { stdenv, fetchFromGitHub, ncurses }:
let version = "2015-01-15"; in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "2048-in-terminal-${version}"; name = "2048-in-terminal-${version}";
version = "2015-01-15";
src = fetchFromGitHub { src = fetchFromGitHub {
sha256 = "1fdfmyhh60sz0xbilxkh2y09lvbcs9lamk2jkjkhxhlhxknmnfgs"; sha256 = "1fdfmyhh60sz0xbilxkh2y09lvbcs9lamk2jkjkhxhlhxknmnfgs";
@ -21,7 +21,6 @@ stdenv.mkDerivation rec {
installFlags = [ "DESTDIR=$(out)" ]; installFlags = [ "DESTDIR=$(out)" ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
inherit version;
inherit (src.meta) homepage; inherit (src.meta) homepage;
description = "Animated console version of the 2048 game"; description = "Animated console version of the 2048 game";
license = licenses.mit; license = licenses.mit;

View File

@ -1,9 +1,9 @@
{ stdenv, fetchurl, cmake { stdenv, fetchurl, cmake
, boost, eigen2, lua, luabind, mesa, SDL }: , boost, eigen2, lua, luabind, mesa, SDL }:
let version = "0.1.2"; in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "soi-${version}"; name = "soi-${version}";
version = "0.1.2";
src = fetchurl { src = fetchurl {
url = "mirror://sourceforge/project/soi/Spheres%20of%20Influence-${version}-Source.tar.bz2"; url = "mirror://sourceforge/project/soi/Spheres%20of%20Influence-${version}-Source.tar.bz2";

View File

@ -15,9 +15,9 @@
# Do not bump lightly! Visit <http://www.bchemnet.com/suldr/supported.html> # Do not bump lightly! Visit <http://www.bchemnet.com/suldr/supported.html>
# to see what will break when upgrading. Consider a new versioned attribute. # to see what will break when upgrading. Consider a new versioned attribute.
let version = "4.00.39"; in stdenv.mkDerivation rec {
stdenv.mkDerivation {
name = "samsung-UnifiedLinuxDriver-${version}"; name = "samsung-UnifiedLinuxDriver-${version}";
version = "4.00.39";
src = fetchurl { src = fetchurl {
url = "http://www.bchemnet.com/suldr/driver/UnifiedLinuxDriver-${version}.tar.gz"; url = "http://www.bchemnet.com/suldr/driver/UnifiedLinuxDriver-${version}.tar.gz";

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,8 +1,8 @@
{ stdenv, fetchFromGitHub }: { stdenv, fetchFromGitHub }:
let version = "129"; in stdenv.mkDerivation rec {
stdenv.mkDerivation {
name = "mcelog-${version}"; name = "mcelog-${version}";
version = "129";
src = fetchFromGitHub { src = fetchFromGitHub {
sha256 = "143xh5zvgax88yhg6mg6img64nrda85yybf76fgsk7a8gc57ghyk"; sha256 = "143xh5zvgax88yhg6mg6img64nrda85yybf76fgsk7a8gc57ghyk";
@ -25,7 +25,6 @@ stdenv.mkDerivation {
installFlags = [ "DESTDIR=$(out)" "prefix=" "DOCDIR=/share/doc" ]; installFlags = [ "DESTDIR=$(out)" "prefix=" "DOCDIR=/share/doc" ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
inherit version;
description = "Log x86 machine checks: memory, IO, and CPU hardware errors"; description = "Log x86 machine checks: memory, IO, and CPU hardware errors";
longDescription = '' longDescription = ''
The mcelog daemon accounts memory and some other errors in various ways 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 }: { stdenv, fetchFromGitHub, pkgconfig, gettext, ncurses, libdrm, libpciaccess }:
let version = "2015-11-24"; in stdenv.mkDerivation rec {
stdenv.mkDerivation {
name = "radeontop-${version}"; name = "radeontop-${version}";
version = "2015-11-24";
src = fetchFromGitHub { src = fetchFromGitHub {
sha256 = "0irwq6rps5mnban8cxbrm59wpyv4j80q3xdjm9fxvfpiyys2g2hz"; sha256 = "0irwq6rps5mnban8cxbrm59wpyv4j80q3xdjm9fxvfpiyys2g2hz";
@ -23,7 +23,6 @@ stdenv.mkDerivation {
makeFlags = [ "PREFIX=$(out)" ]; makeFlags = [ "PREFIX=$(out)" ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
inherit version;
description = "Top-like tool for viewing AMD Radeon GPU utilization"; description = "Top-like tool for viewing AMD Radeon GPU utilization";
longDescription = '' longDescription = ''
View GPU utilization, both for the total activity percent and individual View GPU utilization, both for the total activity percent and individual

View File

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

View File

@ -1,8 +1,8 @@
{ stdenv, fetchurl, groff }: { stdenv, fetchurl, groff }:
let version = "52"; in stdenv.mkDerivation rec {
stdenv.mkDerivation {
name = "mksh-${version}"; name = "mksh-${version}";
version = "52";
src = fetchurl { src = fetchurl {
urls = [ urls = [
@ -30,7 +30,6 @@ stdenv.mkDerivation {
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {
inherit version;
description = "MirBSD Korn Shell"; description = "MirBSD Korn Shell";
longDescription = '' longDescription = ''
The MirBSD Korn Shell is a DFSG-free and OSD-compliant (and OSI The MirBSD Korn Shell is a DFSG-free and OSD-compliant (and OSI

View File

@ -1,23 +1,14 @@
{ stdenv, fetchurl, autoreconfHook, libxcomp }: { stdenv, fetchurl, autoreconfHook, libxcomp }:
let version = "3.5.0.32"; in stdenv.mkDerivation rec {
stdenv.mkDerivation {
name = "nxproxy-${version}"; name = "nxproxy-${version}";
version = "3.5.0.32";
src = fetchurl { src = fetchurl {
sha256 = "02n5bdc1jsq999agb4w6dmdj5l2wlln2lka84qz6rpswwc59zaxm"; sha256 = "02n5bdc1jsq999agb4w6dmdj5l2wlln2lka84qz6rpswwc59zaxm";
url = "http://code.x2go.org/releases/source/nx-libs/nx-libs-${version}-lite.tar.gz"; 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 ]; buildInputs = [ libxcomp ];
nativeBuildInputs = [ autoreconfHook ]; nativeBuildInputs = [ autoreconfHook ];
@ -28,4 +19,12 @@ stdenv.mkDerivation {
makeFlags = [ "exec_prefix=$(out)" ]; makeFlags = [ "exec_prefix=$(out)" ];
enableParallelBuilding = true; 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 , enableSoftening ? true
}: }:
let version = "0.79.5"; in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "dvdisaster-${version}"; name = "dvdisaster-${version}";
version = "0.79.5";
src = fetchurl { src = fetchurl {
url = "http://dvdisaster.net/downloads/${name}.tar.bz2"; url = "http://dvdisaster.net/downloads/${name}.tar.bz2";
@ -70,7 +70,6 @@ stdenv.mkDerivation rec {
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {
inherit version;
homepage = http://dvdisaster.net/; homepage = http://dvdisaster.net/;
description = "Data loss/scratch/aging protection for CD/DVD media"; description = "Data loss/scratch/aging protection for CD/DVD media";
longDescription = '' longDescription = ''

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,8 +1,8 @@
{ stdenv, fetchFromGitHub, nettools }: { stdenv, fetchFromGitHub, nettools }:
let version = "0.4.4"; in stdenv.mkDerivation rec {
stdenv.mkDerivation {
name = "hans-${version}"; name = "hans-${version}";
version = "0.4.4";
src = fetchFromGitHub { src = fetchFromGitHub {
sha256 = "1xskffmmdmg1whlrl5wpkv9z29vh0igrbmsz0b45s9v0761a7kis"; sha256 = "1xskffmmdmg1whlrl5wpkv9z29vh0igrbmsz0b45s9v0761a7kis";
@ -11,21 +11,6 @@ stdenv.mkDerivation {
owner = "friedrich"; 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 ]; buildInputs = [ nettools ];
postPatch = '' postPatch = ''
@ -37,4 +22,18 @@ stdenv.mkDerivation {
installPhase = '' installPhase = ''
install -D -m0755 hans $out/bin/hans 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 }: { stdenv, fetchurl }:
let version = "7.0.0"; in stdenv.mkDerivation rec {
stdenv.mkDerivation {
name = "ip2location-${version}"; name = "ip2location-${version}";
version = "7.0.0";
src = fetchurl { src = fetchurl {
sha256 = "05zbc02z7vm19byafi05i1rnkxc6yrfkhnm30ly68zzyipkmzx1l"; sha256 = "05zbc02z7vm19byafi05i1rnkxc6yrfkhnm30ly68zzyipkmzx1l";
@ -14,7 +14,6 @@ stdenv.mkDerivation {
doCheck = true; doCheck = true;
meta = with stdenv.lib; { meta = with stdenv.lib; {
inherit version;
description = "Look up locations of host names and IP addresses"; description = "Look up locations of host names and IP addresses";
longDescription = '' longDescription = ''
A command-line tool to find the country, region, city,coordinates, A command-line tool to find the country, region, city,coordinates,

View File

@ -2,9 +2,9 @@
, geoip ? null, geolite-legacy ? null , geoip ? null, geolite-legacy ? null
, ip2location-database ? null }: , ip2location-database ? null }:
let version = "0.99.1"; in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "ipv6calc-${version}"; name = "ipv6calc-${version}";
version = "0.99.1";
src = fetchurl { src = fetchurl {
url = "ftp://ftp.deepspace6.net/pub/ds6/sources/ipv6calc/${name}.tar.gz"; url = "ftp://ftp.deepspace6.net/pub/ds6/sources/ipv6calc/${name}.tar.gz";
@ -39,7 +39,6 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true; enableParallelBuilding = true;
meta = with stdenv.lib; { meta = with stdenv.lib; {
inherit version;
description = "Calculate/manipulate (not only) IPv6 addresses"; description = "Calculate/manipulate (not only) IPv6 addresses";
longDescription = '' longDescription = ''
ipv6calc is a small utility to manipulate (not only) IPv6 addresses and 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 , libnetfilter_conntrack, libnl, libpcap, libsodium, liburcu, ncurses, perl
, pkgconfig, zlib }: , pkgconfig, zlib }:
let version = "0.6.0"; in stdenv.mkDerivation rec {
stdenv.mkDerivation {
name = "netsniff-ng-${version}"; name = "netsniff-ng-${version}";
version = "0.6.0";
# Upstream recommends and supports git # Upstream recommends and supports git
src = fetchFromGitHub rec { src = fetchFromGitHub rec {
@ -41,7 +41,6 @@ stdenv.mkDerivation {
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {
inherit version;
description = "Swiss army knife for daily Linux network plumbing"; description = "Swiss army knife for daily Linux network plumbing";
longDescription = '' longDescription = ''
netsniff-ng is a free Linux networking toolkit. Its gain of performance netsniff-ng is a free Linux networking toolkit. Its gain of performance

View File

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

View File

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

View File

@ -1,9 +1,8 @@
{ stdenv, fetchurl, perl, zlib, bzip2, xz, makeWrapper }: { stdenv, fetchurl, perl, zlib, bzip2, xz, makeWrapper }:
let version = "1.18.4"; in stdenv.mkDerivation rec {
stdenv.mkDerivation {
name = "dpkg-${version}"; name = "dpkg-${version}";
version = "1.18.4";
src = fetchurl { src = fetchurl {
url = "mirror://debian/pool/main/d/dpkg/dpkg_${version}.tar.xz"; 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 }: { stdenv, fetchurl, intltool, glib, pkgconfig, polkit, python, sqlite }:
let version = "1.0.8"; in stdenv.mkDerivation rec {
stdenv.mkDerivation {
name = "packagekit-${version}"; name = "packagekit-${version}";
version = "1.0.8";
src = fetchurl { src = fetchurl {
sha256 = "1vaxn4kwdwx6p03n88k4pnbd2l6lb0cbxpcs88kjack1jml17c3l"; sha256 = "1vaxn4kwdwx6p03n88k4pnbd2l6lb0cbxpcs88kjack1jml17c3l";
@ -53,7 +53,6 @@ stdenv.mkDerivation {
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {
inherit version;
description = "System to facilitate installing and updating packages"; description = "System to facilitate installing and updating packages";
longDescription = '' longDescription = ''
PackageKit is a system designed to make installing and updating software PackageKit is a system designed to make installing and updating software

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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