Merge pull request #130196 from Stunkymonkey/inherit-version

authored by Sandro and committed by GitHub f64bb073 a22cd199

+127 -232
+2 -5
pkgs/development/misc/avr/libc/default.nix
··· 1 { lib, stdenv, fetchurl, automake, autoconf }: 2 3 - let 4 version = "2.0.0"; 5 - in 6 - stdenv.mkDerivation { 7 - pname = "avr-libc"; 8 - inherit version; 9 10 src = fetchurl { 11 url = "https://download.savannah.gnu.org/releases/avr-libc/avr-libc-2.0.0.tar.bz2";
··· 1 { lib, stdenv, fetchurl, automake, autoconf }: 2 3 + stdenv.mkDerivation rec { 4 + pname = "avr-libc"; 5 version = "2.0.0"; 6 7 src = fetchurl { 8 url = "https://download.savannah.gnu.org/releases/avr-libc/avr-libc-2.0.0.tar.bz2";
+2 -6
pkgs/development/misc/stm32/betaflight/default.nix
··· 9 "OMNINXT" # 3.4.0-rc4: has not specified a valid STM group, must be one of F1, F3, F405, F411 or F7x5. Have you prepared a valid target.mk? 10 ]}: 11 12 - let 13 - 14 - version = "3.4.0-rc4"; 15 - 16 - in stdenv.mkDerivation rec { 17 18 pname = "betaflight"; 19 - inherit version; 20 21 src = fetchFromGitHub { 22 owner = "betaflight";
··· 9 "OMNINXT" # 3.4.0-rc4: has not specified a valid STM group, must be one of F1, F3, F405, F411 or F7x5. Have you prepared a valid target.mk? 10 ]}: 11 12 + stdenv.mkDerivation rec { 13 14 pname = "betaflight"; 15 + version = "3.4.0-rc4"; 16 17 src = fetchFromGitHub { 18 owner = "betaflight";
+2 -6
pkgs/development/misc/stm32/inav/default.nix
··· 2 , gcc-arm-embedded, binutils-arm-embedded, ruby 3 }: 4 5 - let 6 - 7 - version = "2.0.0-rc2"; 8 - 9 - in stdenv.mkDerivation rec { 10 11 pname = "inav"; 12 - inherit version; 13 14 src = fetchFromGitHub { 15 owner = "iNavFlight";
··· 2 , gcc-arm-embedded, binutils-arm-embedded, ruby 3 }: 4 5 + stdenv.mkDerivation rec { 6 7 pname = "inav"; 8 + version = "2.0.0-rc2"; 9 10 src = fetchFromGitHub { 11 owner = "iNavFlight";
+2 -5
pkgs/development/mobile/abootimg/default.nix
··· 1 { lib, stdenv, fetchFromGitHub, coreutils, cpio, findutils, gzip, makeWrapper, util-linux }: 2 3 - let 4 version = "0.6"; 5 - in 6 - stdenv.mkDerivation { 7 - pname = "abootimg"; 8 - inherit version; 9 10 src = fetchFromGitHub { 11 owner = "ggrandou";
··· 1 { lib, stdenv, fetchFromGitHub, coreutils, cpio, findutils, gzip, makeWrapper, util-linux }: 2 3 + stdenv.mkDerivation rec { 4 + pname = "abootimg"; 5 version = "0.6"; 6 7 src = fetchFromGitHub { 8 owner = "ggrandou";
-1
pkgs/development/tools/analysis/radare2/default.nix
··· 86 license = lib.licenses.gpl2Plus; 87 maintainers = with lib.maintainers; [ raskin makefu mic92 ]; 88 platforms = with lib.platforms; linux; 89 - inherit version; 90 }; 91 }
··· 86 license = lib.licenses.gpl2Plus; 87 maintainers = with lib.maintainers; [ raskin makefu mic92 ]; 88 platforms = with lib.platforms; linux; 89 }; 90 }
+2 -5
pkgs/shells/es/default.nix
··· 1 { lib, stdenv, fetchurl, readline, bison }: 2 3 - let 4 - version = "0.9.1"; 5 - in 6 - stdenv.mkDerivation { 7 8 pname = "es"; 9 - inherit version; 10 11 src = fetchurl { 12 url = "https://github.com/wryun/es-shell/releases/download/v${version}/es-${version}.tar.gz";
··· 1 { lib, stdenv, fetchurl, readline, bison }: 2 3 + stdenv.mkDerivation rec { 4 5 pname = "es"; 6 + version = "0.9.1"; 7 8 src = fetchurl { 9 url = "https://github.com/wryun/es-shell/releases/download/v${version}/es-${version}.tar.gz";
+7 -11
pkgs/shells/zsh/default.nix
··· 1 { lib, stdenv, fetchurl, ncurses, pcre, buildPackages }: 2 3 - let 4 - version = "5.8"; 5 - 6 - documentation = fetchurl { 7 - url = "mirror://sourceforge/zsh/zsh-${version}-doc.tar.xz"; 8 - sha256 = "1i6wdzq6rfjx5yjrpzan1jf50hk2pfzy5qib9mb7cnnbjfar6klv"; 9 - }; 10 - in 11 - 12 - stdenv.mkDerivation { 13 pname = "zsh"; 14 - inherit version; 15 16 src = fetchurl { 17 url = "mirror://sourceforge/zsh/zsh-${version}.tar.xz"; 18 sha256 = "09yyaadq738zlrnlh1hd3ycj1mv3q5hh4xl1ank70mjnqm6bbi6w"; 19 }; 20 21 buildInputs = [ ncurses pcre ];
··· 1 { lib, stdenv, fetchurl, ncurses, pcre, buildPackages }: 2 3 + stdenv.mkDerivation rec { 4 pname = "zsh"; 5 + version = "5.8"; 6 7 src = fetchurl { 8 url = "mirror://sourceforge/zsh/zsh-${version}.tar.xz"; 9 sha256 = "09yyaadq738zlrnlh1hd3ycj1mv3q5hh4xl1ank70mjnqm6bbi6w"; 10 + }; 11 + 12 + documentation = fetchurl { 13 + url = "mirror://sourceforge/zsh/zsh-${version}-doc.tar.xz"; 14 + sha256 = "1i6wdzq6rfjx5yjrpzan1jf50hk2pfzy5qib9mb7cnnbjfar6klv"; 15 }; 16 17 buildInputs = [ ncurses pcre ];
+2 -6
pkgs/shells/zsh/nix-zsh-completions/default.nix
··· 1 { lib, stdenv, fetchFromGitHub }: 2 3 - let 4 - version = "0.4.4"; 5 - in 6 - 7 - stdenv.mkDerivation { 8 pname = "nix-zsh-completions"; 9 - inherit version; 10 11 src = fetchFromGitHub { 12 owner = "spwhitt";
··· 1 { lib, stdenv, fetchFromGitHub }: 2 3 + stdenv.mkDerivation rec { 4 pname = "nix-zsh-completions"; 5 + version = "0.4.4"; 6 7 src = fetchFromGitHub { 8 owner = "spwhitt";
-1
pkgs/tools/X11/autocutsel/default.nix
··· 16 ''; 17 18 meta = { 19 - inherit version; 20 homepage = "https://www.nongnu.org/autocutsel/"; 21 description = "Tracks changes in the server's cutbuffer and CLIPBOARD selection"; 22 license = lib.licenses.gpl2Plus;
··· 16 ''; 17 18 meta = { 19 homepage = "https://www.nongnu.org/autocutsel/"; 20 description = "Tracks changes in the server's cutbuffer and CLIPBOARD selection"; 21 license = lib.licenses.gpl2Plus;
+1 -3
pkgs/tools/X11/bumblebee/default.nix
··· 33 }: 34 35 let 36 - version = "3.2.1"; 37 - 38 nvidia_x11s = [ nvidia_x11 ] 39 ++ lib.optional nvidia_x11.useGLVND libglvnd 40 ++ lib.optionals (nvidia_x11_i686 != null) ··· 57 58 in stdenv.mkDerivation rec { 59 pname = "bumblebee"; 60 - inherit version; 61 62 src = fetchurl { 63 url = "https://bumblebee-project.org/${pname}-${version}.tar.gz";
··· 33 }: 34 35 let 36 nvidia_x11s = [ nvidia_x11 ] 37 ++ lib.optional nvidia_x11.useGLVND libglvnd 38 ++ lib.optionals (nvidia_x11_i686 != null) ··· 55 56 in stdenv.mkDerivation rec { 57 pname = "bumblebee"; 58 + version = "3.2.1"; 59 60 src = fetchurl { 61 url = "https://bumblebee-project.org/${pname}-${version}.tar.gz";
+1 -3
pkgs/tools/X11/nitrogen/default.nix
··· 1 { lib, stdenv, fetchurl, pkg-config, glib, gtkmm2 }: 2 3 - let version = "1.6.1"; 4 - in 5 stdenv.mkDerivation rec { 6 pname = "nitrogen"; 7 - inherit version; 8 9 src = fetchurl { 10 url = "http://projects.l3ib.org/nitrogen/files/${pname}-${version}.tar.gz";
··· 1 { lib, stdenv, fetchurl, pkg-config, glib, gtkmm2 }: 2 3 stdenv.mkDerivation rec { 4 pname = "nitrogen"; 5 + version = "1.6.1"; 6 7 src = fetchurl { 8 url = "http://projects.l3ib.org/nitrogen/files/${pname}-${version}.tar.gz";
-1
pkgs/tools/X11/skippy-xd/default.nix
··· 21 sed -e "s@/etc/xdg@$out&@" -i Makefile 22 ''; 23 meta = { 24 - inherit version; 25 description = "Expose-style compositing-based standalone window switcher"; 26 license = lib.licenses.gpl2Plus ; 27 maintainers = [lib.maintainers.raskin];
··· 21 sed -e "s@/etc/xdg@$out&@" -i Makefile 22 ''; 23 meta = { 24 description = "Expose-style compositing-based standalone window switcher"; 25 license = lib.licenses.gpl2Plus ; 26 maintainers = [lib.maintainers.raskin];
-1
pkgs/tools/X11/wayv/default.nix
··· 22 ''; 23 24 meta = { 25 - inherit version; 26 description = "A gesture control for X11"; 27 license = lib.licenses.gpl2Plus ; 28 maintainers = [lib.maintainers.raskin];
··· 22 ''; 23 24 meta = { 25 description = "A gesture control for X11"; 26 license = lib.licenses.gpl2Plus ; 27 maintainers = [lib.maintainers.raskin];
-1
pkgs/tools/X11/xannotate/default.nix
··· 13 buildInputs = [ libX11 ]; 14 15 meta = { 16 - inherit version; 17 description = "A tool to scribble over X windows"; 18 license = lib.licenses.gpl2Plus ; 19 maintainers = [lib.maintainers.raskin];
··· 13 buildInputs = [ libX11 ]; 14 15 meta = { 16 description = "A tool to scribble over X windows"; 17 license = lib.licenses.gpl2Plus ; 18 maintainers = [lib.maintainers.raskin];
+2 -3
pkgs/tools/X11/xautomation/default.nix
··· 1 { lib, stdenv, fetchurl, pkg-config, libpng, libX11, libXext, libXi, libXtst }: 2 3 - let version = "1.09"; in 4 - stdenv.mkDerivation { 5 pname = "xautomation"; 6 - inherit version; 7 src = fetchurl { 8 url = "https://www.hoopajoo.net/static/projects/xautomation-${version}.tar.gz"; 9 sha256 = "03azv5wpg65h40ip2kk1kdh58vix4vy1r9bihgsq59jx2rhjr3zf";
··· 1 { lib, stdenv, fetchurl, pkg-config, libpng, libX11, libXext, libXi, libXtst }: 2 3 + stdenv.mkDerivation rec { 4 pname = "xautomation"; 5 + version = "1.09"; 6 src = fetchurl { 7 url = "https://www.hoopajoo.net/static/projects/xautomation-${version}.tar.gz"; 8 sha256 = "03azv5wpg65h40ip2kk1kdh58vix4vy1r9bihgsq59jx2rhjr3zf";
+2 -3
pkgs/tools/X11/xbindkeys/default.nix
··· 1 { lib, stdenv, fetchurl, pkg-config, libX11, guile }: 2 3 - let version = "1.8.7"; in 4 - stdenv.mkDerivation { 5 pname = "xbindkeys"; 6 - inherit version; 7 src = fetchurl { 8 url = "https://www.nongnu.org/xbindkeys/xbindkeys-${version}.tar.gz"; 9 sha256 = "1wl2vc5alisiwyk8m07y1ryq8w3ll9ym83j27g4apm4ixjl8d6x2";
··· 1 { lib, stdenv, fetchurl, pkg-config, libX11, guile }: 2 3 + stdenv.mkDerivation rec { 4 pname = "xbindkeys"; 5 + version = "1.8.7"; 6 src = fetchurl { 7 url = "https://www.nongnu.org/xbindkeys/xbindkeys-${version}.tar.gz"; 8 sha256 = "1wl2vc5alisiwyk8m07y1ryq8w3ll9ym83j27g4apm4ixjl8d6x2";
-1
pkgs/tools/X11/xwinmosaic/default.nix
··· 15 buildInputs = [ gtk2 libXdamage ]; 16 17 meta = { 18 - inherit version; 19 description = "X window switcher drawing a colourful grid"; 20 license = lib.licenses.bsd2 ; 21 maintainers = [lib.maintainers.raskin];
··· 15 buildInputs = [ gtk2 libXdamage ]; 16 17 meta = { 18 description = "X window switcher drawing a colourful grid"; 19 license = lib.licenses.bsd2 ; 20 maintainers = [lib.maintainers.raskin];
+2 -5
pkgs/tools/X11/xwinwrap/default.nix
··· 1 { lib, stdenv, fetchbzr, xlibsWrapper }: 2 3 - let 4 version = "4"; 5 - in 6 - stdenv.mkDerivation { 7 - pname = "xwinwrap"; 8 - inherit version; 9 10 src = fetchbzr { 11 url = "https://code.launchpad.net/~shantanu-goel/xwinwrap/devel";
··· 1 { lib, stdenv, fetchbzr, xlibsWrapper }: 2 3 + stdenv.mkDerivation rec { 4 + pname = "xwinwrap"; 5 version = "4"; 6 7 src = fetchbzr { 8 url = "https://code.launchpad.net/~shantanu-goel/xwinwrap/devel";
-1
pkgs/tools/X11/xzoom/default.nix
··· 29 installTargets = [ "install" "install.man" ]; 30 31 meta = { 32 - inherit version; 33 description = "An X11 screen zoom tool"; 34 license = lib.licenses.free ; 35 maintainers = [lib.maintainers.raskin];
··· 29 installTargets = [ "install" "install.man" ]; 30 31 meta = { 32 description = "An X11 screen zoom tool"; 33 license = lib.licenses.free ; 34 maintainers = [lib.maintainers.raskin];
+2 -5
pkgs/tools/admin/boulder/default.nix
··· 4 , lib 5 }: 6 7 - let 8 - version = "release-2019-10-13"; 9 - 10 - in buildGoPackage { 11 12 pname = "boulder"; 13 - inherit version; 14 15 goPackagePath = "github.com/letsencrypt/boulder"; 16
··· 4 , lib 5 }: 6 7 + buildGoPackage rec{ 8 9 pname = "boulder"; 10 + version = "release-2019-10-13"; 11 12 goPackagePath = "github.com/letsencrypt/boulder"; 13
+2 -5
pkgs/tools/cd-dvd/lsdvd/default.nix
··· 1 { lib, stdenv, fetchurl, libdvdread, pkg-config }: 2 3 - let 4 version = "0.17"; 5 - in 6 - stdenv.mkDerivation { 7 - pname = "lsdvd"; 8 - inherit version; 9 src = fetchurl { 10 url = "mirror://sourceforge/lsdvd/lsdvd-${version}.tar.gz"; 11 sha256 = "1274d54jgca1prx106iyir7200aflr70bnb1kawndlmcckcmnb3x";
··· 1 { lib, stdenv, fetchurl, libdvdread, pkg-config }: 2 3 + stdenv.mkDerivation rec { 4 + pname = "lsdvd"; 5 version = "0.17"; 6 src = fetchurl { 7 url = "mirror://sourceforge/lsdvd/lsdvd-${version}.tar.gz"; 8 sha256 = "1274d54jgca1prx106iyir7200aflr70bnb1kawndlmcckcmnb3x";
+2 -4
pkgs/tools/graphics/argyllcms/default.nix
··· 1 { stdenv, fetchzip, jam, unzip, libX11, libXxf86vm, libXrandr, libXinerama 2 , libXrender, libXext, libtiff, libjpeg, libpng, libXScrnSaver, writeText 3 , libXdmcp, libXau, lib, openssl }: 4 - let 5 - version = "2.1.2"; 6 - in 7 stdenv.mkDerivation rec { 8 pname = "argyllcms"; 9 - inherit version; 10 11 src = fetchzip { 12 # Kind of flacky URL, it was reaturning 406 and inconsistent binaries for a
··· 1 { stdenv, fetchzip, jam, unzip, libX11, libXxf86vm, libXrandr, libXinerama 2 , libXrender, libXext, libtiff, libjpeg, libpng, libXScrnSaver, writeText 3 , libXdmcp, libXau, lib, openssl }: 4 + 5 stdenv.mkDerivation rec { 6 pname = "argyllcms"; 7 + version = "2.1.2"; 8 9 src = fetchzip { 10 # Kind of flacky URL, it was reaturning 406 and inconsistent binaries for a
+3 -8
pkgs/tools/graphics/briss/default.nix
··· 2 3 { lib, stdenv, fetchurl, jre, makeWrapper }: 4 5 - let 6 - 7 version = "0.9"; 8 - sha256 = "45dd668a9ceb9cd59529a9fefe422a002ee1554a61be07e6fc8b3baf33d733d9"; 9 - 10 - in stdenv.mkDerivation { 11 - pname = "briss"; 12 - inherit version; 13 src = fetchurl { 14 url = "mirror://sourceforge/briss/briss-${version}.tar.gz"; 15 - inherit sha256; 16 }; 17 18 nativeBuildInputs = [makeWrapper];
··· 2 3 { lib, stdenv, fetchurl, jre, makeWrapper }: 4 5 + stdenv.mkDerivation rec { 6 + pname = "briss"; 7 version = "0.9"; 8 src = fetchurl { 9 url = "mirror://sourceforge/briss/briss-${version}.tar.gz"; 10 + sha256 = "45dd668a9ceb9cd59529a9fefe422a002ee1554a61be07e6fc8b3baf33d733d9"; 11 }; 12 13 nativeBuildInputs = [makeWrapper];
-1
pkgs/tools/graphics/convchain/default.nix
··· 31 ''; 32 buildInputs = [mono]; 33 meta = { 34 - inherit version; 35 description = "Bitmap generation from a single example with convolutions and MCMC"; 36 license = lib.licenses.mit; 37 maintainers = [lib.maintainers.raskin];
··· 31 ''; 32 buildInputs = [mono]; 33 meta = { 34 description = "Bitmap generation from a single example with convolutions and MCMC"; 35 license = lib.licenses.mit; 36 maintainers = [lib.maintainers.raskin];
+2 -5
pkgs/tools/graphics/mscgen/default.nix
··· 11 , zlib 12 }: 13 14 - let 15 version = "0.20"; 16 - in 17 - stdenv.mkDerivation { 18 - pname = "mscgen"; 19 - inherit version; 20 21 src = fetchurl { 22 url = "http://www.mcternan.me.uk/mscgen/software/mscgen-src-${version}.tar.gz";
··· 11 , zlib 12 }: 13 14 + stdenv.mkDerivation rec { 15 + pname = "mscgen"; 16 version = "0.20"; 17 18 src = fetchurl { 19 url = "http://www.mcternan.me.uk/mscgen/software/mscgen-src-${version}.tar.gz";
+2 -6
pkgs/tools/graphics/pgf/default.nix
··· 1 { lib, stdenv, fetchurl, autoconf, automake, libtool, dos2unix, libpgf, freeimage, doxygen }: 2 3 with lib; 4 - 5 - let 6 - version = "6.14.12"; 7 - in 8 - stdenv.mkDerivation { 9 pname = "pgf"; 10 - inherit version; 11 12 src = fetchurl { 13 url = "mirror://sourceforge/libpgf/pgf-console-src-${version}.tar.gz";
··· 1 { lib, stdenv, fetchurl, autoconf, automake, libtool, dos2unix, libpgf, freeimage, doxygen }: 2 3 with lib; 4 + stdenv.mkDerivation rec { 5 pname = "pgf"; 6 + version = "6.14.12"; 7 8 src = fetchurl { 9 url = "mirror://sourceforge/libpgf/pgf-console-src-${version}.tar.gz";
-1
pkgs/tools/graphics/syntex/default.nix
··· 25 ''; 26 buildInputs = [mono]; 27 meta = { 28 - inherit version; 29 description = "Texture synthesis from examples"; 30 license = lib.licenses.mit; 31 maintainers = [lib.maintainers.raskin];
··· 25 ''; 26 buildInputs = [mono]; 27 meta = { 28 description = "Texture synthesis from examples"; 29 license = lib.licenses.mit; 30 maintainers = [lib.maintainers.raskin];
+2 -4
pkgs/tools/graphics/twilight/default.nix
··· 1 { lib, stdenv, fetchFromGitHub 2 , libGL, libGLU, freeglut, libX11 }: 3 4 - let 5 - version = "2018-04-19"; 6 - in stdenv.mkDerivation rec { 7 pname = "twilight"; 8 - inherit version; 9 10 src = fetchFromGitHub { 11 owner = "tweakoz";
··· 1 { lib, stdenv, fetchFromGitHub 2 , libGL, libGLU, freeglut, libX11 }: 3 4 + stdenv.mkDerivation rec { 5 pname = "twilight"; 6 + version = "unstable-2018-04-19"; 7 8 src = fetchFromGitHub { 9 owner = "tweakoz";
-1
pkgs/tools/graphics/wavefunctioncollapse/default.nix
··· 25 ''; 26 buildInputs = [mono]; 27 meta = { 28 - inherit version; 29 description = "A generator of bitmaps that are locally similar to the input bitmap"; 30 license = lib.licenses.mit; 31 maintainers = [lib.maintainers.raskin];
··· 25 ''; 26 buildInputs = [mono]; 27 meta = { 28 description = "A generator of bitmaps that are locally similar to the input bitmap"; 29 license = lib.licenses.mit; 30 maintainers = [lib.maintainers.raskin];
-1
pkgs/tools/graphics/zxing/default.nix
··· 24 cd "$out/lib/java"; for i in *.jar; do mv "$i" "''${i#*-}"; done 25 ''; 26 meta = { 27 - inherit version; 28 description = "1D and 2D code reading library"; 29 license = lib.licenses.asl20; 30 maintainers = [lib.maintainers.raskin];
··· 24 cd "$out/lib/java"; for i in *.jar; do mv "$i" "''${i#*-}"; done 25 ''; 26 meta = { 27 description = "1D and 2D code reading library"; 28 license = lib.licenses.asl20; 29 maintainers = [lib.maintainers.raskin];
+44 -48
pkgs/tools/misc/autorandr/default.nix
··· 4 , systemd 5 , xrandr }: 6 7 - let 8 - python = python3Packages.python; 9 version = "1.11"; 10 - in 11 - stdenv.mkDerivation { 12 - pname = "autorandr"; 13 - inherit version; 14 15 - buildInputs = [ python ]; 16 17 - # no wrapper, as autorandr --batch does os.environ.clear() 18 - buildPhase = '' 19 - substituteInPlace autorandr.py \ 20 - --replace 'os.popen("xrandr' 'os.popen("${xrandr}/bin/xrandr' \ 21 - --replace '["xrandr"]' '["${xrandr}/bin/xrandr"]' 22 - ''; 23 24 - outputs = [ "out" "man" ]; 25 26 - installPhase = '' 27 - runHook preInstall 28 - make install TARGETS='autorandr' PREFIX=$out 29 30 - make install TARGETS='bash_completion' DESTDIR=$out/share/bash-completion/completions 31 32 - make install TARGETS='autostart_config' PREFIX=$out DESTDIR=$out 33 34 - make install TARGETS='manpage' PREFIX=$man 35 36 - ${if systemd != null then '' 37 - make install TARGETS='systemd udev' PREFIX=$out DESTDIR=$out \ 38 - SYSTEMD_UNIT_DIR=/lib/systemd/system \ 39 - UDEV_RULES_DIR=/etc/udev/rules.d 40 - substituteInPlace $out/etc/udev/rules.d/40-monitor-hotplug.rules \ 41 - --replace /bin/systemctl "/run/current-system/systemd/bin/systemctl" 42 - '' else '' 43 - make install TARGETS='pmutils' DESTDIR=$out \ 44 - PM_SLEEPHOOKS_DIR=/lib/pm-utils/sleep.d 45 - make install TARGETS='udev' PREFIX=$out DESTDIR=$out \ 46 - UDEV_RULES_DIR=/etc/udev/rules.d 47 - ''} 48 49 - runHook postInstall 50 - ''; 51 52 - src = fetchFromGitHub { 53 - owner = "phillipberndt"; 54 - repo = "autorandr"; 55 - rev = version; 56 - sha256 = "0rmnqk2bi6bbd2if1rll37mlzlqxzmnazfffdhcpzskxwyaj4yn5"; 57 - }; 58 59 - meta = with lib; { 60 - homepage = "https://github.com/phillipberndt/autorandr/"; 61 - description = "Automatically select a display configuration based on connected devices"; 62 - license = licenses.gpl3Plus; 63 - maintainers = with maintainers; [ coroa globin ]; 64 - platforms = platforms.unix; 65 - }; 66 - }
··· 4 , systemd 5 , xrandr }: 6 7 + stdenv.mkDerivation rec { 8 + pname = "autorandr"; 9 version = "1.11"; 10 11 + buildInputs = [ python3Packages.python ]; 12 13 + # no wrapper, as autorandr --batch does os.environ.clear() 14 + buildPhase = '' 15 + substituteInPlace autorandr.py \ 16 + --replace 'os.popen("xrandr' 'os.popen("${xrandr}/bin/xrandr' \ 17 + --replace '["xrandr"]' '["${xrandr}/bin/xrandr"]' 18 + ''; 19 20 + outputs = [ "out" "man" ]; 21 22 + installPhase = '' 23 + runHook preInstall 24 + make install TARGETS='autorandr' PREFIX=$out 25 26 + make install TARGETS='bash_completion' DESTDIR=$out/share/bash-completion/completions 27 28 + make install TARGETS='autostart_config' PREFIX=$out DESTDIR=$out 29 30 + make install TARGETS='manpage' PREFIX=$man 31 32 + ${if systemd != null then '' 33 + make install TARGETS='systemd udev' PREFIX=$out DESTDIR=$out \ 34 + SYSTEMD_UNIT_DIR=/lib/systemd/system \ 35 + UDEV_RULES_DIR=/etc/udev/rules.d 36 + substituteInPlace $out/etc/udev/rules.d/40-monitor-hotplug.rules \ 37 + --replace /bin/systemctl "/run/current-system/systemd/bin/systemctl" 38 + '' else '' 39 + make install TARGETS='pmutils' DESTDIR=$out \ 40 + PM_SLEEPHOOKS_DIR=/lib/pm-utils/sleep.d 41 + make install TARGETS='udev' PREFIX=$out DESTDIR=$out \ 42 + UDEV_RULES_DIR=/etc/udev/rules.d 43 + ''} 44 45 + runHook postInstall 46 + ''; 47 48 + src = fetchFromGitHub { 49 + owner = "phillipberndt"; 50 + repo = "autorandr"; 51 + rev = version; 52 + sha256 = "0rmnqk2bi6bbd2if1rll37mlzlqxzmnazfffdhcpzskxwyaj4yn5"; 53 + }; 54 55 + meta = with lib; { 56 + homepage = "https://github.com/phillipberndt/autorandr/"; 57 + description = "Automatically select a display configuration based on connected devices"; 58 + license = licenses.gpl3Plus; 59 + maintainers = with maintainers; [ coroa globin ]; 60 + platforms = platforms.unix; 61 + }; 62 + }
-1
pkgs/tools/misc/bcunit/default.nix
··· 20 }; 21 22 meta = with lib; { 23 - inherit version; 24 description = "A fork of CUnit test framework"; 25 homepage = "https://gitlab.linphone.org/BC/public/bcunit"; 26 license = licenses.lgpl2Plus;
··· 20 }; 21 22 meta = with lib; { 23 description = "A fork of CUnit test framework"; 24 homepage = "https://gitlab.linphone.org/BC/public/bcunit"; 25 license = licenses.lgpl2Plus;
-1
pkgs/tools/misc/clac/default.nix
··· 19 ''; 20 21 meta = with lib; { 22 - inherit version; 23 description = "Interactive stack-based calculator"; 24 homepage = "https://github.com/soveran/clac"; 25 license = licenses.bsd2;
··· 19 ''; 20 21 meta = with lib; { 22 description = "Interactive stack-based calculator"; 23 homepage = "https://github.com/soveran/clac"; 24 license = licenses.bsd2;
+2 -6
pkgs/tools/misc/clasp/default.nix
··· 1 { lib, stdenv, fetchurl }: 2 3 - let 4 - version = "3.1.4"; 5 - in 6 - 7 - stdenv.mkDerivation { 8 pname = "clasp"; 9 - inherit version; 10 11 src = fetchurl { 12 url = "mirror://sourceforge/project/potassco/clasp/${version}/clasp-${version}-source.tar.gz";
··· 1 { lib, stdenv, fetchurl }: 2 3 + stdenv.mkDerivation rec { 4 pname = "clasp"; 5 + version = "3.1.4"; 6 7 src = fetchurl { 8 url = "mirror://sourceforge/project/potassco/clasp/${version}/clasp-${version}-source.tar.gz";
+3 -4
pkgs/tools/misc/cp437/default.nix
··· 1 { lib, stdenv, fetchFromGitHub }: 2 - let version = "0.6"; 3 - in 4 - stdenv.mkDerivation { 5 pname = "cp437"; 6 - inherit version; 7 8 src = fetchFromGitHub { 9 owner = "keaston";
··· 1 { lib, stdenv, fetchFromGitHub }: 2 + 3 + stdenv.mkDerivation rec { 4 pname = "cp437"; 5 + version = "0.6"; 6 7 src = fetchFromGitHub { 8 owner = "keaston";
+3 -3
pkgs/tools/misc/dijo/default.nix
··· 1 { stdenv, lib, rustPlatform, fetchFromGitHub, ncurses, CoreServices }: 2 - let version = "0.2.7"; in 3 - rustPlatform.buildRustPackage { 4 pname = "dijo"; 5 - inherit version; 6 buildInputs = [ ncurses ] ++ lib.optional stdenv.isDarwin CoreServices; 7 src = fetchFromGitHub { 8 owner = "NerdyPepper";
··· 1 { stdenv, lib, rustPlatform, fetchFromGitHub, ncurses, CoreServices }: 2 + 3 + rustPlatform.buildRustPackage rec { 4 pname = "dijo"; 5 + version = "0.2.7"; 6 buildInputs = [ ncurses ] ++ lib.optional stdenv.isDarwin CoreServices; 7 src = fetchFromGitHub { 8 owner = "NerdyPepper";
-1
pkgs/tools/misc/diskscan/default.nix
··· 20 description = "Scan HDD/SSD for failed and near failed sectors"; 21 platforms = with platforms; linux; 22 maintainers = with maintainers; [ peterhoeg ]; 23 - inherit version; 24 license = licenses.gpl3; 25 }; 26 }
··· 20 description = "Scan HDD/SSD for failed and near failed sectors"; 21 platforms = with platforms; linux; 22 maintainers = with maintainers; [ peterhoeg ]; 23 license = licenses.gpl3; 24 }; 25 }
+3 -4
pkgs/tools/misc/edid-decode/default.nix
··· 1 { lib, stdenv, fetchgit }: 2 - let 3 - version = "2018-12-06"; 4 - in stdenv.mkDerivation { 5 pname = "edid-decode-unstable"; 6 - inherit version; 7 8 src = fetchgit { 9 url = "git://linuxtv.org/edid-decode.git";
··· 1 { lib, stdenv, fetchgit }: 2 + 3 + stdenv.mkDerivation rec { 4 pname = "edid-decode-unstable"; 5 + version = "unstable-2018-12-06"; 6 7 src = fetchgit { 8 url = "git://linuxtv.org/edid-decode.git";
+3 -4
pkgs/tools/misc/edid-generator/default.nix
··· 6 , zsh 7 , modelines ? [] # Modeline "1280x800" 83.50 1280 1352 1480 1680 800 803 809 831 -hsync +vsync 8 }: 9 - let 10 version = "unstable-2018-03-15"; 11 - in stdenv.mkDerivation { 12 - pname = "edid-generator"; 13 - inherit version; 14 15 src = fetchFromGitHub { 16 owner = "akatrevorjay";
··· 6 , zsh 7 , modelines ? [] # Modeline "1280x800" 83.50 1280 1352 1480 1680 800 803 809 831 -hsync +vsync 8 }: 9 + 10 + stdenv.mkDerivation rec { 11 + pname = "edid-generator"; 12 version = "unstable-2018-03-15"; 13 14 src = fetchFromGitHub { 15 owner = "akatrevorjay";
-1
pkgs/tools/misc/fsql/default.nix
··· 19 license = licenses.mit; 20 maintainers = with maintainers; [ pSub ]; 21 platforms = platforms.unix; 22 - inherit version; 23 }; 24 25 }
··· 19 license = licenses.mit; 20 maintainers = with maintainers; [ pSub ]; 21 platforms = platforms.unix; 22 }; 23 24 }
+2 -6
pkgs/tools/misc/gringo/default.nix
··· 3 libcxx 4 }: 5 6 - let 7 - version = "4.5.4"; 8 - in 9 - 10 - stdenv.mkDerivation { 11 pname = "gringo"; 12 - inherit version; 13 14 src = fetchurl { 15 url = "mirror://sourceforge/project/potassco/gringo/${version}/gringo-${version}-source.tar.gz";
··· 3 libcxx 4 }: 5 6 + stdenv.mkDerivation rec { 7 pname = "gringo"; 8 + version = "4.5.4"; 9 10 src = fetchurl { 11 url = "mirror://sourceforge/project/potassco/gringo/${version}/gringo-${version}-source.tar.gz";
+18 -19
pkgs/tools/misc/hdaps-gl/default.nix
··· 1 { lib, stdenv, fetchFromGitHub, autoreconfHook, freeglut, libGL, libGLU }: 2 3 - let version = "0.0.7"; in 4 - stdenv.mkDerivation { 5 - pname = "hdaps-gl"; 6 - inherit version; 7 - src = fetchFromGitHub { 8 - owner = "linux-thinkpad"; 9 - repo = "hdaps-gl"; 10 - rev = version; 11 - sha256 = "0jywsrcr1wzkjig5cvz014c3r026sbwscbkv7zh1014lkjm0kyyh"; 12 - }; 13 14 - nativeBuildInputs = [ autoreconfHook ]; 15 - buildInputs = [ freeglut libGL libGLU ]; 16 17 - meta = with lib; { 18 - description = "GL-based laptop model that rotates in real-time via hdaps"; 19 - homepage = "https://github.com/linux-thinkpad/hdaps-gl"; 20 - license = licenses.gpl2; 21 - platforms = platforms.linux; 22 - maintainers = [ maintainers.symphorien ]; 23 - }; 24 }
··· 1 { lib, stdenv, fetchFromGitHub, autoreconfHook, freeglut, libGL, libGLU }: 2 3 + stdenv.mkDerivation rec { 4 + pname = "hdaps-gl"; 5 + version = "0.0.7"; 6 + src = fetchFromGitHub { 7 + owner = "linux-thinkpad"; 8 + repo = "hdaps-gl"; 9 + rev = version; 10 + sha256 = "0jywsrcr1wzkjig5cvz014c3r026sbwscbkv7zh1014lkjm0kyyh"; 11 + }; 12 13 + nativeBuildInputs = [ autoreconfHook ]; 14 + buildInputs = [ freeglut libGL libGLU ]; 15 16 + meta = with lib; { 17 + description = "GL-based laptop model that rotates in real-time via hdaps"; 18 + homepage = "https://github.com/linux-thinkpad/hdaps-gl"; 19 + license = licenses.gpl2; 20 + platforms = platforms.linux; 21 + maintainers = [ maintainers.symphorien ]; 22 + }; 23 }
+2 -3
pkgs/tools/misc/lbdb/default.nix
··· 7 }: 8 9 let 10 - version = "0.48.1"; 11 perl' = perl.withPackages (p: with p; [ ConvertASN1 perlldap AuthenSASL ]); 12 in 13 - stdenv.mkDerivation { 14 pname = "lbdb"; 15 - inherit version; 16 src = fetchurl { 17 url = "https://www.spinnaker.de/lbdb/download/lbdb_${version}.tar.gz"; 18 sha256 = "1gr5l2fr9qbdccga8bhsrpvz6jxigvfkdxrln9wyf2xpps5cdjxh";
··· 7 }: 8 9 let 10 perl' = perl.withPackages (p: with p; [ ConvertASN1 perlldap AuthenSASL ]); 11 in 12 + stdenv.mkDerivation rec { 13 pname = "lbdb"; 14 + version = "0.48.1"; 15 src = fetchurl { 16 url = "https://www.spinnaker.de/lbdb/download/lbdb_${version}.tar.gz"; 17 sha256 = "1gr5l2fr9qbdccga8bhsrpvz6jxigvfkdxrln9wyf2xpps5cdjxh";
-1
pkgs/tools/misc/unclutter-xfixes/default.nix
··· 24 description = "Rewrite of unclutter using the X11 Xfixes extension"; 25 platforms = platforms.unix; 26 license = lib.licenses.mit; 27 - inherit version; 28 maintainers = [ maintainers.globin ]; 29 }; 30 }
··· 24 description = "Rewrite of unclutter using the X11 Xfixes extension"; 25 platforms = platforms.unix; 26 license = lib.licenses.mit; 27 maintainers = [ maintainers.globin ]; 28 }; 29 }
-1
pkgs/tools/misc/yubikey-manager-qt/default.nix
··· 59 ''; 60 61 meta = with lib; { 62 - inherit version; 63 description = "Cross-platform application for configuring any YubiKey over all USB interfaces"; 64 homepage = "https://developers.yubico.com/yubikey-manager-qt/"; 65 license = licenses.bsd2;
··· 59 ''; 60 61 meta = with lib; { 62 description = "Cross-platform application for configuring any YubiKey over all USB interfaces"; 63 homepage = "https://developers.yubico.com/yubikey-manager-qt/"; 64 license = licenses.bsd2;
-1
pkgs/tools/package-management/nix-top/default.nix
··· 48 license = licenses.mit; 49 maintainers = with maintainers; [ samueldr ]; 50 platforms = platforms.linux ++ platforms.darwin; 51 - inherit version; 52 }; 53 }
··· 48 license = licenses.mit; 49 maintainers = with maintainers; [ samueldr ]; 50 platforms = platforms.linux ++ platforms.darwin; 51 }; 52 }
+2 -5
pkgs/tools/package-management/nixops/default.nix
··· 2 , fetchurl, fetchpatch 3 }: 4 5 - let 6 version = "1.7"; 7 - 8 - in python2Packages.buildPythonApplication { 9 - pname = "nixops"; 10 - inherit version; 11 12 src = fetchurl { 13 url = "https://nixos.org/releases/nixops/nixops-${version}/nixops-${version}.tar.bz2";
··· 2 , fetchurl, fetchpatch 3 }: 4 5 + python2Packages.buildPythonApplication rec { 6 + pname = "nixops"; 7 version = "1.7"; 8 9 src = fetchurl { 10 url = "https://nixos.org/releases/nixops/nixops-${version}/nixops-${version}.tar.bz2";
-1
pkgs/tools/system/dd_rescue/default.nix
··· 36 platforms = platforms.linux; 37 homepage = "http://www.garloff.de/kurt/linux/ddrescue/"; 38 license = licenses.gpl2Plus; 39 - inherit version; 40 updateWalker = true; 41 }; 42 }
··· 36 platforms = platforms.linux; 37 homepage = "http://www.garloff.de/kurt/linux/ddrescue/"; 38 license = licenses.gpl2Plus; 39 updateWalker = true; 40 }; 41 }
-1
pkgs/tools/system/freeipmi/default.nix
··· 39 platforms = lib.platforms.gnu ++ lib.platforms.linux; # arbitrary choice 40 41 updateWalker = true; 42 - inherit version; 43 }; 44 }
··· 39 platforms = lib.platforms.gnu ++ lib.platforms.linux; # arbitrary choice 40 41 updateWalker = true; 42 }; 43 }
-1
pkgs/tools/system/ipmiutil/default.nix
··· 27 platforms = platforms.linux; 28 license = licenses.bsd3; 29 downloadPage = "https://sourceforge.net/projects/ipmiutil/files/ipmiutil/"; 30 - inherit version; 31 }; 32 }
··· 27 platforms = platforms.linux; 28 license = licenses.bsd3; 29 downloadPage = "https://sourceforge.net/projects/ipmiutil/files/ipmiutil/"; 30 }; 31 }
-1
pkgs/tools/system/sleuthkit/default.nix
··· 29 maintainers = [ lib.maintainers.raskin ]; 30 platforms = lib.platforms.linux; 31 license = lib.licenses.ipl10; 32 - inherit version; 33 }; 34 }
··· 29 maintainers = [ lib.maintainers.raskin ]; 30 platforms = lib.platforms.linux; 31 license = lib.licenses.ipl10; 32 }; 33 }
+1 -3
pkgs/tools/system/smartmontools/default.nix
··· 4 , IOKit, ApplicationServices }: 5 6 let 7 - version = "7.2"; 8 - 9 dbrev = "5171"; 10 drivedbBranch = "RELEASE_7_2_DRIVEDB"; 11 driverdb = fetchurl { ··· 16 17 in stdenv.mkDerivation rec { 18 pname = "smartmontools"; 19 - inherit version; 20 21 src = fetchurl { 22 url = "mirror://sourceforge/smartmontools/${pname}-${version}.tar.gz";
··· 4 , IOKit, ApplicationServices }: 5 6 let 7 dbrev = "5171"; 8 drivedbBranch = "RELEASE_7_2_DRIVEDB"; 9 driverdb = fetchurl { ··· 14 15 in stdenv.mkDerivation rec { 16 pname = "smartmontools"; 17 + version = "7.2"; 18 19 src = fetchurl { 20 url = "mirror://sourceforge/smartmontools/${pname}-${version}.tar.gz";
+2 -4
pkgs/tools/system/tree/default.nix
··· 1 { lib, stdenv, fetchurl }: 2 3 let 4 - version = "1.8.0"; 5 - 6 # These settings are found in the Makefile, but there seems to be no 7 # way to select one ore the other setting other than editing the file 8 # manually, so we have to duplicate the know how here. ··· 23 '' else 24 ""; # use linux flags by default 25 in 26 - stdenv.mkDerivation { 27 pname = "tree"; 28 - inherit version; 29 30 src = fetchurl { 31 url = "http://mama.indstate.edu/users/ice/tree/src/tree-${version}.tgz";
··· 1 { lib, stdenv, fetchurl }: 2 3 let 4 # These settings are found in the Makefile, but there seems to be no 5 # way to select one ore the other setting other than editing the file 6 # manually, so we have to duplicate the know how here. ··· 21 '' else 22 ""; # use linux flags by default 23 in 24 + stdenv.mkDerivation rec { 25 pname = "tree"; 26 + version = "1.8.0"; 27 28 src = fetchurl { 29 url = "http://mama.indstate.edu/users/ice/tree/src/tree-${version}.tgz";
-1
pkgs/tools/system/wsmancli/default.nix
··· 31 ''; 32 downloadPage = "https://github.com/Openwsman/wsmancli/releases"; 33 inherit (openwsman.meta) homepage license maintainers platforms; 34 - inherit version; 35 }; 36 }
··· 31 ''; 32 downloadPage = "https://github.com/Openwsman/wsmancli/releases"; 33 inherit (openwsman.meta) homepage license maintainers platforms; 34 }; 35 }
-1
pkgs/tools/typesetting/pdf2djvu/default.nix
··· 67 homepage = "https://jwilk.net/software/pdf2djvu"; 68 license = licenses.gpl2; 69 maintainers = with maintainers; [ pSub ]; 70 - inherit version; 71 }; 72 }
··· 67 homepage = "https://jwilk.net/software/pdf2djvu"; 68 license = licenses.gpl2; 69 maintainers = with maintainers; [ pSub ]; 70 }; 71 }
-1
pkgs/tools/typesetting/pdf2odt/default.nix
··· 44 license = licenses.mit; 45 platforms = platforms.all; 46 maintainers = with maintainers; [ peterhoeg ]; 47 - inherit version; 48 }; 49 }
··· 44 license = licenses.mit; 45 platforms = platforms.all; 46 maintainers = with maintainers; [ peterhoeg ]; 47 }; 48 }