git.iko.soy/typeable/nixpkgs
on master help sign in
More version attribute tidying where maintainers |= nckx
commitac33b4724a84ef01f3d25a42e2b63f1a9d3e5cd6 authorTobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com> dateMon 25 Jan 2016, 20:08 (11 years ago) parent9fb8020
23 files changed+43−90
pkgs/applications/audio/dfasma/default.nix+4−7 pkgs/applications/graphics/sane/backends/generic.nix+1−3 pkgs/applications/misc/ocropus/default.nix+3−4 pkgs/applications/misc/redshift/default.nix+3−3 pkgs/data/misc/geolite-legacy/default.nix+2−6 pkgs/development/libraries/cpp-netlib/default.nix+1−5 pkgs/development/libraries/libpsl/default.nix+2−4 pkgs/development/tools/build-managers/icmake/default.nix−1 pkgs/development/tools/misc/ccache/default.nix+3−9 pkgs/development/tools/parsing/lemon/default.nix+2−4 pkgs/games/eduke32/default.nix+1−2 pkgs/misc/drivers/hplip/3.15.9.nix+2−4 pkgs/misc/drivers/hplip/default.nix+1−3 pkgs/os-specific/linux/jfbview/default.nix+2−3 pkgs/os-specific/linux/phc-intel/default.nix+3−4 pkgs/servers/p910nd/default.nix+2−5 pkgs/tools/compression/xdelta/default.nix+2−3 pkgs/tools/compression/xdelta/unstable.nix+2−3 pkgs/tools/filesystems/boxfs/default.nix+2−3 pkgs/tools/networking/httping/default.nix−2 pkgs/tools/networking/minissdpd/default.nix+2−5 pkgs/tools/security/sshuttle/default.nix+1−2 pkgs/tools/system/stress-ng/default.nix+2−5
pkgs/applications/audio/dfasma/default.nix+4−7
@@ -2,10 +2,6 @@
22
33let
44
5− version = "1.2.5";
6− rev = "v${version}";
7− sha256 = "0mgy2bkmyp7lvaqsr7hkndwdgjf26mlpsj6smrmn1vp0cqyrw72d";
8−
95 reaperFork = {
106 src = fetchFromGitHub {
117 sha256 = "07m2wf2gqyya95b65gawrnr4pvc9jyzmg6h8sinzgxlpskz93wwc";
@@ -30,11 +26,13 @@ let
3026 };
3127 };
3228
33−in stdenv.mkDerivation {
29+in stdenv.mkDerivation rec {
3430 name = "dfasma-${version}";
31+ version = "1.2.5";
3532
3633 src = fetchFromGitHub {
37− inherit sha256 rev;
34+ sha256 = "0mgy2bkmyp7lvaqsr7hkndwdgjf26mlpsj6smrmn1vp0cqyrw72d";
35+ rev = "v${version}";
3836 repo = "dfasma";
3937 owner = "gillesdegottex";
4038 };
@@ -60,7 +58,6 @@ in stdenv.mkDerivation {
6058 '';
6159
6260 meta = with stdenv.lib; {
63− inherit version;
6461 description = "Analyse and compare audio files in time and frequency";
6562 longDescription = ''
6663 DFasma is free open-source software to compare audio files by time and
pkgs/applications/graphics/sane/backends/generic.nix+1−3
@@ -13,7 +13,7 @@
1313}:
1414
1515stdenv.mkDerivation {
16− inherit src;
16+ inherit src version;
1717
1818 name = "sane-backends-${version}";
1919
@@ -56,8 +56,6 @@ stdenv.mkDerivation {
5656 '' + stdenv.lib.concatStrings (builtins.map installFirmware compatFirmware);
5757
5858 meta = with stdenv.lib; {
59− inherit version;
60−
6159 description = "SANE (Scanner Access Now Easy) backends";
6260 longDescription = ''
6361 Collection of open-source SANE backends (device drivers).
pkgs/applications/misc/ocropus/default.nix+3−4
@@ -2,11 +2,11 @@
22
33let
44 getmodel = name: sha256: {
5+ inherit name;
56 src = fetchurl {
67 url = "http://www.tmbdev.net/ocropy/${name}";
78 inherit sha256;
89 };
9− inherit name;
1010 };
1111
1212 models = [
@@ -16,10 +16,10 @@ let
1616 "1wlwvxn91ilgmlri1hj81arl3mbzxc24ycdnkf5icq4hdi4c6y8b")
1717 ];
1818
19− version = "20150316";
2019in
21−pythonPackages.buildPythonPackage {
20+pythonPackages.buildPythonPackage rec {
2221 name = "ocropus-${version}";
22+ version = "20150316";
2323
2424 src = fetchFromGitHub {
2525 sha256 = "0m5bm2ah3p29c13vp7hz7rm058qnlm840zd8xv20byijhlz0447g";
@@ -49,7 +49,6 @@ pythonPackages.buildPythonPackage {
4949 '';
5050
5151 meta = with stdenv.lib; {
52− inherit version;
5352 description = "Open source document analysis and OCR system";
5453 license = licenses.asl20;
5554 homepage = https://github.com/tmbdev/ocropy/;
pkgs/applications/misc/redshift/default.nix+3−3
@@ -7,13 +7,14 @@
77}:
88
99let
10− version = "1.11";
1110 mkFlag = flag: name: if flag
1211 then "--enable-${name}"
1312 else "--disable-${name}";
1413in
15−stdenv.mkDerivation {
14+stdenv.mkDerivation rec {
1615 name = "redshift-${version}";
16+ version = "1.11";
17+
1718 src = fetchurl {
1819 sha256 = "0ngkwj7rg8nfk806w0sg443w6wjr91xdc0zisqfm5h2i77wm1qqh";
1920 url = "https://github.com/jonls/redshift/releases/download/v${version}/redshift-${version}.tar.xz";
@@ -51,7 +52,6 @@ stdenv.mkDerivation {
5152 '';
5253
5354 meta = with stdenv.lib; {
54− inherit version;
5555 description = "Gradually change screen color temperature";
5656 longDescription = ''
5757 The color temperature is set according to the position of the
pkgs/data/misc/geolite-legacy/default.nix+2−6
@@ -5,13 +5,10 @@ let
55 inherit name sha256;
66 url = "https://geolite.maxmind.com/download/geoip/database/${src}";
77 };
8−
9− # Annoyingly, these files are updated without a change in URL. This means that
10− # builds will start failing every month or so, until the hashes are updated.
11− version = "2016-01-25";
128in
13−stdenv.mkDerivation {
9+stdenv.mkDerivation rec {
1410 name = "geolite-legacy-${version}";
11+ version = "2016-01-25";
1512
1613 srcGeoIP = fetchDB
1714 "GeoLiteCountry/GeoIP.dat.gz" "GeoIP.dat.gz"
@@ -33,7 +30,6 @@ stdenv.mkDerivation {
3330 "1id60almra7mq4v86p37sfph8jrbdnc5pzxvy55wiyrvf6ydvk56";
3431
3532 meta = with stdenv.lib; {
36− inherit version;
3733 description = "GeoLite Legacy IP geolocation databases";
3834 homepage = https://geolite.maxmind.com/download/geoip;
3935 license = licenses.cc-by-sa-30;
pkgs/development/libraries/cpp-netlib/default.nix+1−5
@@ -1,11 +1,8 @@
11{ stdenv, fetchurl, cmake, boost, openssl }:
22
3−let
4− version = "0.11.2";
5−in
6−
73stdenv.mkDerivation rec {
84 name = "cpp-netlib-${version}";
5+ version = "0.11.2";
96
107 src = fetchurl {
118 url = "http://downloads.cpp-netlib.org/${version}/${name}-final.tar.bz2";
@@ -19,7 +16,6 @@ stdenv.mkDerivation rec {
1916 enableParallelBuilding = true;
2017
2118 meta = with stdenv.lib; {
22− inherit version;
2319 description = "A collection of open-source libraries for high level network programming";
2420 homepage = http://cpp-netlib.org;
2521 license = licenses.boost;
pkgs/development/libraries/libpsl/default.nix+2−4
@@ -3,8 +3,6 @@
33
44let
55
6− version = "${libVersion}-list-${listVersion}";
7−
86 listVersion = "2016-01-15";
97 listSources = fetchFromGitHub {
108 sha256 = "1smn4fl0fhldy7gdn0k1diyghbxdxnr4cj921bjdl2i4wxas41g5";
@@ -15,8 +13,9 @@ let
1513
1614 libVersion = "0.12.0";
1715
18−in stdenv.mkDerivation {
16+in stdenv.mkDerivation rec {
1917 name = "libpsl-${version}";
18+ version = "${libVersion}-list-${listVersion}";
2019
2120 src = fetchFromGitHub {
2221 sha256 = "13w3lc752az2swymg408f3w2lbqs0f2h5ri6d5jw1vv9z0ij9xlw";
@@ -54,7 +53,6 @@ in stdenv.mkDerivation {
5453 doCheck = true;
5554
5655 meta = with stdenv.lib; {
57− inherit version;
5856 description = "C library for the Publix Suffix List";
5957 longDescription = ''
6058 libpsl is a C library for the Publix Suffix List (PSL). A "public suffix"
pkgs/development/tools/build-managers/icmake/default.nix−1
@@ -30,7 +30,6 @@ stdenv.mkDerivation rec {
3030 '';
3131
3232 meta = with stdenv.lib; {
33− inherit version;
3433 description = "A program maintenance (make) utility using a C-like grammar";
3534 homepage = https://fbb-git.github.io/icmake/;
3635 license = licenses.gpl3;
pkgs/development/tools/misc/ccache/default.nix+3−9
@@ -1,15 +1,11 @@
11{ stdenv, fetchurl, fetchpatch, runCommand, gcc, zlib }:
22
3−let
3+let ccache = stdenv.mkDerivation rec {
44 name = "ccache-${version}";
55 version = "3.2.4";
6− sha256 = "0pga3hvd80f2p7mz88jmmbwzxh4vn5ihyjx5f6na8y2fclzsjg8w";
76
8− ccache =
9−stdenv.mkDerivation {
10− inherit name;
117 src = fetchurl {
12− inherit sha256;
8+ sha256 = "0pga3hvd80f2p7mz88jmmbwzxh4vn5ihyjx5f6na8y2fclzsjg8w";
139 url = "mirror://samba/ccache/${name}.tar.xz";
1410 };
1511
@@ -65,7 +61,6 @@ stdenv.mkDerivation {
6561 };
6662
6763 meta = with stdenv.lib; {
68− inherit version;
6964 description = "Compiler cache for fast recompilation of C/C++ code";
7065 homepage = http://ccache.samba.org/;
7166 downloadPage = https://ccache.samba.org/download.html;
@@ -73,5 +68,4 @@ stdenv.mkDerivation {
7368 maintainers = with maintainers; [ nckx ];
7469 };
7570};
76−in
77−ccache
71+in ccache
pkgs/development/tools/parsing/lemon/default.nix+2−4
@@ -2,8 +2,6 @@
22
33let
44
5− version = "1.0";
6−
75 srcs = {
86 lemon = fetchurl {
97 sha256 = "1grm95m2cnc61zim332g7z8nchmcy91ljf50k13lm421v0ygyyv6";
@@ -17,8 +15,9 @@ let
1715 };
1816 };
1917
20−in stdenv.mkDerivation {
18+in stdenv.mkDerivation rec {
2119 name = "lemon-${version}";
20+ version = "1.0";
2221
2322 phases = [ "buildPhase" "installPhase" ];
2423
@@ -32,7 +31,6 @@ in stdenv.mkDerivation {
3231 '';
3332
3433 meta = with stdenv.lib; {
35− inherit version;
3634 description = "An LALR(1) parser generator";
3735 longDescription = ''
3836 The Lemon program is an LALR(1) parser generator that takes a
pkgs/games/eduke32/default.nix+1−2
@@ -4,9 +4,9 @@
44let
55 date = "20150420";
66 rev = "5160";
7− version = "${date}-${rev}";
87in stdenv.mkDerivation rec {
98 name = "eduke32-${version}";
9+ version = "${date}-${rev}";
1010
1111 src = fetchurl {
1212 url = "http://dukeworld.duke4.net/eduke32/synthesis/${version}/eduke32_src_${version}.tar.xz";
@@ -66,7 +66,6 @@ in stdenv.mkDerivation rec {
6666 '';
6767
6868 meta = with stdenv.lib; {
69− inherit version;
7069 description = "Enhanched port of Duke Nukem 3D for various platforms";
7170 license = licenses.gpl2Plus;
7271 homepage = http://eduke32.com;
pkgs/misc/drivers/hplip/3.15.9.nix+2−4
@@ -8,9 +8,8 @@
88
99let
1010
11− version = "3.15.9";
12−
1311 name = "hplip-${version}";
12+ version = "3.15.9";
1413
1514 src = fetchurl {
1615 url = "mirror://sourceforge/hplip/${name}.tar.gz";
@@ -48,7 +47,7 @@ assert withPlugin -> builtins.elem hplipArch pluginArches
4847 || throw "HPLIP plugin not supported on ${stdenv.system}";
4948
5049stdenv.mkDerivation {
51− inherit name src;
50+ inherit name src version;
5251
5352 buildInputs = [
5453 libjpeg
@@ -179,7 +178,6 @@ stdenv.mkDerivation {
179178 '';
180179
181180 meta = with stdenv.lib; {
182− inherit version;
183181 description = "Print, scan and fax HP drivers for Linux";
184182 homepage = http://hplipopensource.com/;
185183 license = if withPlugin
pkgs/misc/drivers/hplip/default.nix+1−3
@@ -8,9 +8,8 @@
88
99let
1010
11− version = "3.15.11";
12−
1311 name = "hplip-${version}";
12+ version = "3.15.11";
1413
1514 src = fetchurl {
1615 url = "mirror://sourceforge/hplip/${name}.tar.gz";
@@ -179,7 +178,6 @@ stdenv.mkDerivation {
179178 '';
180179
181180 meta = with stdenv.lib; {
182− inherit version;
183181 description = "Print, scan and fax HP drivers for Linux";
184182 homepage = http://hplipopensource.com/;
185183 license = if withPlugin
pkgs/os-specific/linux/jfbview/default.nix+2−3
@@ -2,11 +2,11 @@
22, mujs, mupdf, ncurses, openjpeg, openssl }:
33
44let
5− version = "0.5.1";
65 binaries = [ "jfbpdf" "jfbview" "jpdfcat" "jpdfgrep" ];
76in
8−stdenv.mkDerivation {
7+stdenv.mkDerivation rec {
98 name = "jfbview-${version}";
9+ version = "0.5.1";
1010
1111 src = fetchFromGitHub {
1212 sha256 = "113bkf49q04k9rjps5l28ychmzsfjajp9cjhr433s9ld0972z01m";
@@ -27,7 +27,6 @@ stdenv.mkDerivation {
2727 '';
2828
2929 meta = with stdenv.lib; {
30− inherit version;
3130 description = "PDF and image viewer for the Linux framebuffer";
3231 longDescription = ''
3332 A very fast PDF and image viewer for the Linux framebuffer with some
pkgs/os-specific/linux/phc-intel/default.nix+3−4
@@ -1,7 +1,7 @@
11{ stdenv, fetchurl, kernel, which }:
22
33assert stdenv.isLinux;
4−# Don't bother with older versions, though some would probably work:
4+# Don't bother with older versions, though some might even work:
55assert stdenv.lib.versionAtLeast kernel.version "4.3";
66# Disable on grsecurity kernels, which break module building:
77assert !kernel.features ? grsecurity;
@@ -9,9 +9,9 @@ assert !kernel.features ? grsecurity;
99let
1010 release = "0.4.0";
1111 revbump = "rev19"; # don't forget to change forum download id...
12− version = "${release}-${revbump}";
13−in stdenv.mkDerivation {
12+in stdenv.mkDerivation rec {
1413 name = "linux-phc-intel-${version}-${kernel.version}";
14+ version = "${release}-${revbump}";
1515
1616 src = fetchurl {
1717 sha256 = "1apvjp2rpaf3acjvsxgk6xiwrx4n9p565gxvra05pvicwikfiqa8";
@@ -38,7 +38,6 @@ in stdenv.mkDerivation {
3838 '';
3939
4040 meta = with stdenv.lib; {
41− inherit version;
4241 description = "Undervolting kernel driver for Intel processors";
4342 longDescription = ''
4443 PHC is a Linux kernel patch to undervolt processors. This can divide the
pkgs/servers/p910nd/default.nix+2−5
@@ -1,10 +1,8 @@
11{ stdenv, fetchurl }:
22
3−let
4− version = "0.97";
3+stdenv.mkDerivation rec {
54 name = "p910nd-${version}";
6−in stdenv.mkDerivation {
7− inherit name;
5+ version = "0.97";
86
97 src = fetchurl {
108 sha256 = "0vy2qf386dif1nqznmy3j953mq7c4lk6j2hgyzkbmfi4msiq1jaa";
@@ -27,7 +25,6 @@ in stdenv.mkDerivation {
2725 '';
2826
2927 meta = with stdenv.lib; {
30− inherit version;
3128 description = "Small printer daemon passing jobs directly to the printer";
3229 longDescription = ''
3330 p910nd is a small printer daemon intended for diskless platforms that
pkgs/tools/compression/xdelta/default.nix+2−3
@@ -5,12 +5,12 @@
55assert lzmaSupport -> xz != null;
66
77let
8− version = "3.0.11";
98 mkWith = flag: name: if flag
109 then "--with-${name}"
1110 else "--without-${name}";
12−in stdenv.mkDerivation {
11+in stdenv.mkDerivation rec {
1312 name = "xdelta-${version}";
13+ version = "3.0.11";
1414
1515 src = fetchFromGitHub {
1616 sha256 = "1c7xym7xr26phyf4wb9hh2w88ybzbzh2w3h1kyqq3da0ndidmf2r";
@@ -48,7 +48,6 @@ in stdenv.mkDerivation {
4848 '';
4949
5050 meta = with stdenv.lib; {
51− inherit version;
5251 description = "Binary differential compression in VCDIFF (RFC 3284) format";
5352 longDescription = ''
5453 xdelta is a command line program for delta encoding, which generates two
pkgs/tools/compression/xdelta/unstable.nix+2−3
@@ -5,12 +5,12 @@
55assert lzmaSupport -> xz != null;
66
77let
8− version = "3.1.0";
98 mkWith = flag: name: if flag
109 then "--with-${name}"
1110 else "--without-${name}";
12−in stdenv.mkDerivation {
11+in stdenv.mkDerivation rec {
1312 name = "xdelta-${version}";
13+ version = "3.1.0";
1414
1515 src = fetchFromGitHub {
1616 sha256 = "09mmsalc7dwlvgrda56s2k927rpl3a5dzfa88aslkqcjnr790wjy";
@@ -52,7 +52,6 @@ in stdenv.mkDerivation {
5252 '';
5353
5454 meta = with stdenv.lib; {
55− inherit version;
5655 description = "Binary differential compression in VCDIFF (RFC 3284) format";
5756 longDescription = ''
5857 xdelta is a command line program for delta encoding, which generates two
pkgs/tools/filesystems/boxfs/default.nix+2−3
@@ -1,7 +1,6 @@
11{ stdenv, fetchFromGitHub, curl, fuse, libxml2, pkgconfig }:
22
33let
4− version = "2-20150109";
54 srcs = {
65 boxfs2 = fetchFromGitHub {
76 sha256 = "10af1l3sjnh25shmq5gdnpyqk4vrq7i1zklv4csf1n2nrahln8j8";
@@ -22,8 +21,9 @@ let
2221 owner = "vincenthz";
2322 };
2423 };
25−in stdenv.mkDerivation {
24+in stdenv.mkDerivation rec {
2625 name = "boxfs-${version}";
26+ version = "2-20150109";
2727
2828 src = srcs.boxfs2;
2929
@@ -45,7 +45,6 @@ in stdenv.mkDerivation {
4545 '';
4646
4747 meta = with stdenv.lib; {
48− inherit version;
4948 description = "FUSE file system for box.com accounts";
5049 longDescription = ''
5150 Store files on box.com (an account is required). The first time you run
pkgs/tools/networking/httping/default.nix−2
@@ -3,7 +3,6 @@
33
44stdenv.mkDerivation rec {
55 name = "httping-${version}";
6−
76 version = "2.4";
87
98 src = fetchurl {
@@ -20,7 +19,6 @@ stdenv.mkDerivation rec {
2019 ];
2120
2221 meta = with stdenv.lib; {
23− inherit version;
2422 homepage = http://www.vanheusden.com/httping;
2523 description = "ping with HTTP requests";
2624 longDescription = ''
pkgs/tools/networking/minissdpd/default.nix+2−5
@@ -1,10 +1,8 @@
11{ stdenv, fetchurl, libnfnetlink }:
22
3−let
4− version = "1.5.20160119";
3+stdenv.mkDerivation rec {
54 name = "minissdpd-${version}";
6−in stdenv.mkDerivation {
7− inherit name;
5+ version = "1.5.20160119";
86
97 src = fetchurl {
108 sha256 = "0z0h2fqjlys9g08fbv0jg8l53h8cjlpdk45z4g71kwdk1m9ld8r2";
@@ -21,7 +19,6 @@ in stdenv.mkDerivation {
2119 doCheck = true;
2220
2321 meta = with stdenv.lib; {
24− inherit version;
2522 description = "Small daemon to speed up UPnP device discoveries";
2623 longDescription = ''
2724 MiniSSDPd receives NOTIFY packets and stores (caches) that information
pkgs/tools/security/sshuttle/default.nix+1−2
@@ -2,8 +2,8 @@
22, coreutils, iptables, nettools, openssh, procps }:
33
44pythonPackages.buildPythonPackage rec {
5− version = "0.76";
65 name = "sshuttle-${version}";
6+ version = "0.76";
77
88 src = fetchurl {
99 sha256 = "1q0hr0vhdvv23cw5dqndsmf61283mvs6b14662ci00xj6zp5v48b";
@@ -26,7 +26,6 @@ pythonPackages.buildPythonPackage rec {
2626 '';
2727
2828 meta = with stdenv.lib; {
29− inherit version;
3029 homepage = https://github.com/sshuttle/sshuttle/;
3130 description = "Transparent proxy server that works as a poor man's VPN";
3231 longDescription = ''
pkgs/tools/system/stress-ng/default.nix+2−5
@@ -1,10 +1,8 @@
11{ stdenv, fetchurl, attr, keyutils }:
22
3−let
4− version = "0.05.00";
3+stdenv.mkDerivation rec {
54 name = "stress-ng-${version}";
6−in stdenv.mkDerivation {
7− inherit name;
5+ version = "0.05.00";
86
97 src = fetchurl {
108 sha256 = "0ppri86z6fj48nm5l0x1r8mh7mwaf7bvhmi10jz6a8w7apnc181w";
@@ -22,7 +20,6 @@ in stdenv.mkDerivation {
2220 installFlags = [ "DESTDIR=$(out)" ];
2321
2422 meta = with stdenv.lib; {
25− inherit version;
2623 description = "Stress test a computer system";
2724 longDescription = ''
2825 Stress test a system in various selectable ways, exercising both various