Merge pull request #132391 from SuperSandro2000/cleanup

authored by Sandro and committed by GitHub 633a5a6a c8a73159

+116 -111
+5 -6
pkgs/applications/graphics/renderdoc/default.nix
··· 11 rev = "renderdoc-modified-7"; 12 sha256 = "15r2m5kcs0id64pa2fsw58qll3jyh71jzc04wy20pgsh2326zis6"; 13 }; 14 - pythonPackages = python3Packages; 15 cmakeBool = b: if b then "ON" else "OFF"; 16 in 17 mkDerivation rec { 18 - version = "1.15"; 19 pname = "renderdoc"; 20 21 src = fetchFromGitHub { 22 owner = "baldurk"; ··· 27 28 buildInputs = [ 29 qtbase qtsvg xorg.libpthreadstubs xorg.libXdmcp qtx11extras vulkan-loader python3 30 - ] # ++ (with pythonPackages; [pyside2 pyside2-tools shiboken2]) 31 # TODO: figure out how to make cmake recognise pyside2 32 - ++ (lib.optional waylandSupport wayland); 33 34 nativeBuildInputs = [ cmake makeWrapper pkg-config bison pcre automake autoconf addOpenGLRunpath ]; 35 ··· 75 of any application using Vulkan, D3D11, OpenGL or D3D12 across 76 Windows 7 - 10, Linux or Android. 77 ''; 78 - maintainers = [maintainers.jansol]; 79 - platforms = ["i686-linux" "x86_64-linux"]; 80 }; 81 }
··· 11 rev = "renderdoc-modified-7"; 12 sha256 = "15r2m5kcs0id64pa2fsw58qll3jyh71jzc04wy20pgsh2326zis6"; 13 }; 14 cmakeBool = b: if b then "ON" else "OFF"; 15 in 16 mkDerivation rec { 17 pname = "renderdoc"; 18 + version = "1.15"; 19 20 src = fetchFromGitHub { 21 owner = "baldurk"; ··· 26 27 buildInputs = [ 28 qtbase qtsvg xorg.libpthreadstubs xorg.libXdmcp qtx11extras vulkan-loader python3 29 + ] # ++ (with python3Packages; [pyside2 pyside2-tools shiboken2]) 30 # TODO: figure out how to make cmake recognise pyside2 31 + ++ lib.optional waylandSupport wayland; 32 33 nativeBuildInputs = [ cmake makeWrapper pkg-config bison pcre automake autoconf addOpenGLRunpath ]; 34 ··· 74 of any application using Vulkan, D3D11, OpenGL or D3D12 across 75 Windows 7 - 10, Linux or Android. 76 ''; 77 + maintainers = [ maintainers.jansol ]; 78 + platforms = [ "i686-linux" "x86_64-linux" ]; 79 }; 80 }
+1 -4
pkgs/applications/networking/instant-messengers/jitsi-meet-electron/default.nix
··· 2 , fetchurl 3 , appimageTools 4 , makeWrapper 5 - , electron_13 6 , xorg 7 }: 8 9 - let 10 - electron = electron_13; 11 - in 12 stdenv.mkDerivation rec { 13 pname = "jitsi-meet-electron"; 14 version = "2.8.9";
··· 2 , fetchurl 3 , appimageTools 4 , makeWrapper 5 + , electron 6 , xorg 7 }: 8 9 stdenv.mkDerivation rec { 10 pname = "jitsi-meet-electron"; 11 version = "2.8.9";
+15 -18
pkgs/applications/networking/mailreaders/notmuch/default.nix
··· 9 , withEmacs ? true 10 }: 11 12 - with lib; 13 - 14 stdenv.mkDerivation rec { 15 version = "0.32.2"; 16 - pname = "notmuch"; 17 - 18 - passthru = { 19 - pythonSourceRoot = "${src.name}/bindings/python"; 20 - inherit version; 21 - }; 22 23 src = fetchurl { 24 url = "https://notmuchmail.org/releases/notmuch-${version}.tar.xz"; ··· 30 doxygen # (optional) api docs 31 pythonPackages.sphinx # (optional) documentation -> doc/INSTALL 32 texinfo # (optional) documentation -> doc/INSTALL 33 - ] ++ optional withEmacs emacs; 34 35 buildInputs = [ 36 gnupg # undefined dependencies ··· 41 ]; 42 43 postPatch = '' 44 - patchShebangs configure 45 - patchShebangs test/ 46 47 substituteInPlace lib/Makefile.local \ 48 --replace '-install_name $(libdir)' "-install_name $out/lib" 49 - '' + optionalString withEmacs '' 50 substituteInPlace emacs/notmuch-emacs-mua \ 51 --replace 'EMACS:-emacs' 'EMACS:-${emacs}/bin/emacs' \ 52 --replace 'EMACSCLIENT:-emacsclient' 'EMACSCLIENT:-${emacs}/bin/emacsclient' ··· 56 "--zshcompletiondir=${placeholder "out"}/share/zsh/site-functions" 57 "--bashcompletiondir=${placeholder "out"}/share/bash-completion/completions" 58 "--infodir=${placeholder "info"}/share/info" 59 - ] ++ optional (!withEmacs) "--without-emacs" 60 - ++ optional (withEmacs) "--emacslispdir=${placeholder "emacs"}/share/emacs/site-lisp" 61 - ++ optional (isNull ruby) "--without-ruby"; 62 63 # Notmuch doesn't use autoconf and consequently doesn't tag --bindir and 64 # friends 65 setOutputFlags = false; 66 enableParallelBuilding = true; 67 makeFlags = [ "V=1" ]; 68 - 69 70 outputs = [ "out" "man" "info" ] ++ lib.optional withEmacs "emacs"; 71 ··· 78 mkdir -p test/test-databases 79 ln -s ${test-database} test/test-databases/database-v1.tar.xz 80 ''; 81 - doCheck = !stdenv.hostPlatform.isDarwin && (versionAtLeast gmime.version "3.0.3"); 82 checkTarget = "test"; 83 checkInputs = [ 84 which dtach openssl bash ··· 93 94 dontGzipMan = true; # already compressed 95 96 - meta = { 97 description = "Mail indexer"; 98 homepage = "https://notmuchmail.org/"; 99 license = licenses.gpl3Plus;
··· 9 , withEmacs ? true 10 }: 11 12 stdenv.mkDerivation rec { 13 + pname = "notmuch"; 14 version = "0.32.2"; 15 16 src = fetchurl { 17 url = "https://notmuchmail.org/releases/notmuch-${version}.tar.xz"; ··· 23 doxygen # (optional) api docs 24 pythonPackages.sphinx # (optional) documentation -> doc/INSTALL 25 texinfo # (optional) documentation -> doc/INSTALL 26 + ] ++ lib.optional withEmacs emacs; 27 28 buildInputs = [ 29 gnupg # undefined dependencies ··· 34 ]; 35 36 postPatch = '' 37 + patchShebangs configure test/ 38 39 substituteInPlace lib/Makefile.local \ 40 --replace '-install_name $(libdir)' "-install_name $out/lib" 41 + '' + lib.optionalString withEmacs '' 42 substituteInPlace emacs/notmuch-emacs-mua \ 43 --replace 'EMACS:-emacs' 'EMACS:-${emacs}/bin/emacs' \ 44 --replace 'EMACSCLIENT:-emacsclient' 'EMACSCLIENT:-${emacs}/bin/emacsclient' ··· 48 "--zshcompletiondir=${placeholder "out"}/share/zsh/site-functions" 49 "--bashcompletiondir=${placeholder "out"}/share/bash-completion/completions" 50 "--infodir=${placeholder "info"}/share/info" 51 + ] ++ lib.optional (!withEmacs) "--without-emacs" 52 + ++ lib.optional withEmacs "--emacslispdir=${placeholder "emacs"}/share/emacs/site-lisp" 53 + ++ lib.optional (isNull ruby) "--without-ruby"; 54 55 # Notmuch doesn't use autoconf and consequently doesn't tag --bindir and 56 # friends 57 setOutputFlags = false; 58 enableParallelBuilding = true; 59 makeFlags = [ "V=1" ]; 60 61 outputs = [ "out" "man" "info" ] ++ lib.optional withEmacs "emacs"; 62 ··· 69 mkdir -p test/test-databases 70 ln -s ${test-database} test/test-databases/database-v1.tar.xz 71 ''; 72 + 73 + doCheck = !stdenv.hostPlatform.isDarwin && (lib.versionAtLeast gmime.version "3.0.3"); 74 checkTarget = "test"; 75 checkInputs = [ 76 which dtach openssl bash ··· 85 86 dontGzipMan = true; # already compressed 87 88 + passthru = { 89 + pythonSourceRoot = "${src.name}/bindings/python"; 90 + inherit version; 91 + }; 92 + 93 + meta = with lib; { 94 description = "Mail indexer"; 95 homepage = "https://notmuchmail.org/"; 96 license = licenses.gpl3Plus;
+8 -15
pkgs/development/compilers/ecl/default.nix
··· 45 46 configureFlags = [ 47 (if threadSupport then "--enable-threads" else "--disable-threads") 48 - "--with-gmp-prefix=${gmp.dev}" 49 - "--with-libffi-prefix=${libffi.dev}" 50 - ] 51 - ++ 52 - (lib.optional useBoehmgc 53 - "--with-libgc-prefix=${boehmgc.dev}") 54 - ++ 55 - (lib.optional (! noUnicode) 56 - "--enable-unicode") 57 - ; 58 59 hardeningDisable = [ "format" ]; 60 ··· 67 wrapProgram "$out/bin/ecl" --prefix PATH ':' "${gcc}/bin" ${ldArgs} 68 ''; 69 70 - meta = { 71 - inherit (s) version; 72 description = "Lisp implementation aiming to be small, fast and easy to embed"; 73 homepage = "https://common-lisp.net/project/ecl/"; 74 - license = lib.licenses.mit ; 75 - maintainers = [lib.maintainers.raskin]; 76 - platforms = lib.platforms.unix; 77 changelog = "https://gitlab.com/embeddable-common-lisp/ecl/-/raw/${s.version}/CHANGELOG"; 78 }; 79 }
··· 45 46 configureFlags = [ 47 (if threadSupport then "--enable-threads" else "--disable-threads") 48 + "--with-gmp-prefix=${lib.getDev gmp}" 49 + "--with-libffi-prefix=${lib.getDev libffi}" 50 + ] ++ lib.optional useBoehmgc "--with-libgc-prefix=${lib.getDev boehmgc}" 51 + ++ lib.optional (!noUnicode) "--enable-unicode"; 52 53 hardeningDisable = [ "format" ]; 54 ··· 61 wrapProgram "$out/bin/ecl" --prefix PATH ':' "${gcc}/bin" ${ldArgs} 62 ''; 63 64 + meta = with lib; { 65 description = "Lisp implementation aiming to be small, fast and easy to embed"; 66 homepage = "https://common-lisp.net/project/ecl/"; 67 + license = licenses.mit ; 68 + maintainers = [ maintainers.raskin ]; 69 + platforms = platforms.unix; 70 changelog = "https://gitlab.com/embeddable-common-lisp/ecl/-/raw/${s.version}/CHANGELOG"; 71 }; 72 }
+8 -8
pkgs/development/coq-modules/QuickChick/default.nix
··· 1 { lib, mkCoqDerivation, coq, ssreflect, coq-ext-lib, simple-io, version ? null }: 2 - with lib; 3 - let recent = versions.isGe "8.7" coq.coq-version; in 4 mkCoqDerivation { 5 pname = "QuickChick"; 6 owner = "QuickChick"; 7 inherit version; 8 - defaultVersion = with versions; switch [ coq.coq-version ssreflect.version ] [ 9 { cases = [ "8.13" pred.true ]; out = "1.5.0"; } 10 { cases = [ "8.12" pred.true ]; out = "1.4.0"; } 11 { cases = [ "8.11" pred.true ]; out = "1.3.2"; } ··· 30 release."20170512".sha256 = "033ch10i5wmqyw8j6wnr0dlbnibgfpr1vr0c07q3yj6h23xkmqpg"; 31 releaseRev = v: "v${v}"; 32 33 - preConfigure = optionalString recent 34 "substituteInPlace Makefile --replace quickChickTool.byte quickChickTool.native"; 35 36 mlPlugin = true; 37 - extraBuildInputs = optional recent coq.ocamlPackages.num; 38 propagatedBuildInputs = [ ssreflect ] 39 - ++ optionals recent [ coq-ext-lib simple-io ] 40 - ++ optional recent coq.ocamlPackages.ocamlbuild; 41 extraInstallFlags = [ "-f Makefile.coq" ]; 42 43 enableParallelBuilding = false; 44 45 - meta = { 46 description = "Randomized property-based testing plugin for Coq; a clone of Haskell QuickCheck"; 47 maintainers = with maintainers; [ jwiegley ]; 48 };
··· 1 { lib, mkCoqDerivation, coq, ssreflect, coq-ext-lib, simple-io, version ? null }: 2 + 3 + let recent = lib.versions.isGe "8.7" coq.coq-version; in 4 mkCoqDerivation { 5 pname = "QuickChick"; 6 owner = "QuickChick"; 7 inherit version; 8 + defaultVersion = with lib; with versions; lib.switch [ coq.coq-version ssreflect.version ] [ 9 { cases = [ "8.13" pred.true ]; out = "1.5.0"; } 10 { cases = [ "8.12" pred.true ]; out = "1.4.0"; } 11 { cases = [ "8.11" pred.true ]; out = "1.3.2"; } ··· 30 release."20170512".sha256 = "033ch10i5wmqyw8j6wnr0dlbnibgfpr1vr0c07q3yj6h23xkmqpg"; 31 releaseRev = v: "v${v}"; 32 33 + preConfigure = lib.optionalString recent 34 "substituteInPlace Makefile --replace quickChickTool.byte quickChickTool.native"; 35 36 mlPlugin = true; 37 + extraBuildInputs = lib.optional recent coq.ocamlPackages.num; 38 propagatedBuildInputs = [ ssreflect ] 39 + ++ lib.optionals recent [ coq-ext-lib simple-io ] 40 + ++ lib.optional recent coq.ocamlPackages.ocamlbuild; 41 extraInstallFlags = [ "-f Makefile.coq" ]; 42 43 enableParallelBuilding = false; 44 45 + meta = with lib; { 46 description = "Randomized property-based testing plugin for Coq; a clone of Haskell QuickCheck"; 47 maintainers = with maintainers; [ jwiegley ]; 48 };
+3 -3
pkgs/development/coq-modules/interval/default.nix
··· 1 { lib, mkCoqDerivation, which, autoconf, coq, coquelicot, flocq, bignums ? null, gnuplot_qt, version ? null }: 2 3 - with lib; mkCoqDerivation rec { 4 pname = "interval"; 5 owner = "coqinterval"; 6 domain = "gitlab.inria.fr"; 7 inherit version; 8 - defaultVersion = with versions; switch coq.coq-version [ 9 { case = isGe "8.8" ; out = "4.3.0"; } 10 { case = range "8.8" "8.12"; out = "4.0.0"; } 11 { case = range "8.7" "8.11"; out = "3.4.2"; } ··· 21 22 nativeBuildInputs = [ which autoconf ]; 23 propagatedBuildInputs = [ bignums coquelicot flocq ] 24 - ++ lib.optionals (versions.isGe "4.2.0" defaultVersion) [ gnuplot_qt ]; 25 useMelquiondRemake.logpath = "Interval"; 26 mlPlugin = true; 27 enableParallelBuilding = true;
··· 1 { lib, mkCoqDerivation, which, autoconf, coq, coquelicot, flocq, bignums ? null, gnuplot_qt, version ? null }: 2 3 + mkCoqDerivation rec { 4 pname = "interval"; 5 owner = "coqinterval"; 6 domain = "gitlab.inria.fr"; 7 inherit version; 8 + defaultVersion = with lib.versions; lib.switch coq.coq-version [ 9 { case = isGe "8.8" ; out = "4.3.0"; } 10 { case = range "8.8" "8.12"; out = "4.0.0"; } 11 { case = range "8.7" "8.11"; out = "3.4.2"; } ··· 21 22 nativeBuildInputs = [ which autoconf ]; 23 propagatedBuildInputs = [ bignums coquelicot flocq ] 24 + ++ lib.optionals (lib.versions.isGe "4.2.0" defaultVersion) [ gnuplot_qt ]; 25 useMelquiondRemake.logpath = "Interval"; 26 mlPlugin = true; 27 enableParallelBuilding = true;
+17 -15
pkgs/development/libraries/grpc/default.nix
··· 4 }: 5 6 stdenv.mkDerivation rec { 7 version = "1.39.0"; # N.B: if you change this, change pythonPackages.grpcio-tools to a matching version too 8 - pname = "grpc"; 9 src = fetchFromGitHub { 10 owner = "grpc"; 11 repo = "grpc"; ··· 13 sha256 = "1wa7n7mf20fnvxqw093kr7a4c7vilcmx9yl3hicnyfcd663jgqvd"; 14 fetchSubmodules = true; 15 }; 16 patches = [ 17 # Fix build on armv6l (https://github.com/grpc/grpc/pull/21341) 18 (fetchpatch { ··· 27 buildInputs = [ c-ares.cmake-config openssl protobuf ] 28 ++ lib.optionals stdenv.isLinux [ libnsl ]; 29 30 - cmakeFlags = 31 - [ "-DgRPC_ZLIB_PROVIDER=package" 32 - "-DgRPC_CARES_PROVIDER=package" 33 - "-DgRPC_RE2_PROVIDER=package" 34 - "-DgRPC_SSL_PROVIDER=package" 35 - "-DgRPC_PROTOBUF_PROVIDER=package" 36 - "-DgRPC_ABSL_PROVIDER=package" 37 - "-DBUILD_SHARED_LIBS=ON" 38 - "-DCMAKE_SKIP_BUILD_RPATH=OFF" 39 - "-DCMAKE_CXX_STANDARD=17" 40 - ] ++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ 41 - "-D_gRPC_PROTOBUF_PROTOC_EXECUTABLE=${buildPackages.protobuf}/bin/protoc" 42 - ]; 43 44 # CMake creates a build directory by default, this conflicts with the 45 # basel BUILD file on case-insensitive filesystems. ··· 58 meta = with lib; { 59 description = "The C based gRPC (C++, Python, Ruby, Objective-C, PHP, C#)"; 60 license = licenses.asl20; 61 - maintainers = [ maintainers.lnl7 maintainers.marsam ]; 62 homepage = "https://grpc.io/"; 63 platforms = platforms.all; 64 changelog = "https://github.com/grpc/grpc/releases/tag/v${version}";
··· 4 }: 5 6 stdenv.mkDerivation rec { 7 + pname = "grpc"; 8 version = "1.39.0"; # N.B: if you change this, change pythonPackages.grpcio-tools to a matching version too 9 + 10 src = fetchFromGitHub { 11 owner = "grpc"; 12 repo = "grpc"; ··· 14 sha256 = "1wa7n7mf20fnvxqw093kr7a4c7vilcmx9yl3hicnyfcd663jgqvd"; 15 fetchSubmodules = true; 16 }; 17 + 18 patches = [ 19 # Fix build on armv6l (https://github.com/grpc/grpc/pull/21341) 20 (fetchpatch { ··· 29 buildInputs = [ c-ares.cmake-config openssl protobuf ] 30 ++ lib.optionals stdenv.isLinux [ libnsl ]; 31 32 + cmakeFlags = [ 33 + "-DgRPC_ZLIB_PROVIDER=package" 34 + "-DgRPC_CARES_PROVIDER=package" 35 + "-DgRPC_RE2_PROVIDER=package" 36 + "-DgRPC_SSL_PROVIDER=package" 37 + "-DgRPC_PROTOBUF_PROVIDER=package" 38 + "-DgRPC_ABSL_PROVIDER=package" 39 + "-DBUILD_SHARED_LIBS=ON" 40 + "-DCMAKE_SKIP_BUILD_RPATH=OFF" 41 + "-DCMAKE_CXX_STANDARD=17" 42 + ] ++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ 43 + "-D_gRPC_PROTOBUF_PROTOC_EXECUTABLE=${buildPackages.protobuf}/bin/protoc" 44 + ]; 45 46 # CMake creates a build directory by default, this conflicts with the 47 # basel BUILD file on case-insensitive filesystems. ··· 60 meta = with lib; { 61 description = "The C based gRPC (C++, Python, Ruby, Objective-C, PHP, C#)"; 62 license = licenses.asl20; 63 + maintainers = with maintainers; [ lnl7 marsam ]; 64 homepage = "https://grpc.io/"; 65 platforms = platforms.all; 66 changelog = "https://github.com/grpc/grpc/releases/tag/v${version}";
+1 -6
pkgs/development/libraries/zchunk/default.nix
··· 31 zstd 32 ] ++ lib.optional stdenv.isDarwin argp-standalone; 33 34 - 35 - outputs = [ 36 - "out" 37 - "lib" 38 - "dev" 39 - ]; 40 41 meta = with lib; { 42 homepage = "https://github.com/zchunk/zchunk";
··· 31 zstd 32 ] ++ lib.optional stdenv.isDarwin argp-standalone; 33 34 + outputs = [ "out" "lib" "dev" ]; 35 36 meta = with lib; { 37 homepage = "https://github.com/zchunk/zchunk";
+1 -1
pkgs/development/tools/ocaml/dune-release/default.nix
··· 41 42 preCheck = '' 43 # it fails when it tries to reference "./make_check_deterministic.exe" 44 - rm -fr tests/bin/check 45 ''; 46 47 # tool specific env vars have been deprecated, use PATH
··· 41 42 preCheck = '' 43 # it fails when it tries to reference "./make_check_deterministic.exe" 44 + rm -r tests/bin/check 45 ''; 46 47 # tool specific env vars have been deprecated, use PATH
+5 -7
pkgs/misc/emulators/mgba/default.nix
··· 9 , libedit 10 , libelf 11 , libzip 12 , makeDesktopItem 13 , minizip 14 , pkg-config ··· 48 qttools 49 ]; 50 51 - postInstall = let 52 - desktopItem = makeDesktopItem { 53 name = "mgba"; 54 exec = "mgba-qt"; 55 icon = "mgba"; ··· 58 genericName = "Game Boy Advance Emulator"; 59 categories = "Game;Emulator;"; 60 startupNotify = "false"; 61 - }; 62 - in 63 - '' 64 - cp -r ${desktopItem}/share/applications $out/share 65 - ''; 66 67 meta = with lib; { 68 homepage = "https://mgba.io";
··· 9 , libedit 10 , libelf 11 , libzip 12 + , copyDesktopItems 13 , makeDesktopItem 14 , minizip 15 , pkg-config ··· 49 qttools 50 ]; 51 52 + desktopItems = [ 53 + (makeDesktopItem { 54 name = "mgba"; 55 exec = "mgba-qt"; 56 icon = "mgba"; ··· 59 genericName = "Game Boy Advance Emulator"; 60 categories = "Game;Emulator;"; 61 startupNotify = "false"; 62 + }) 63 + ]; 64 65 meta = with lib; { 66 homepage = "https://mgba.io";
+2 -2
pkgs/servers/openafs/1.8/module.nix
··· 1 { lib, stdenv, fetchurl, which, autoconf, automake, flex, bison 2 - , kernel, glibc, perl, libtool_2, libkrb5, fetchpatch }: 3 4 with (import ./srcs.nix { 5 inherit fetchurl; ··· 55 homepage = "https://www.openafs.org"; 56 license = licenses.ipl10; 57 platforms = platforms.linux; 58 - maintainers = [ maintainers.maggesi maintainers.spacefrogg ]; 59 broken = versionOlder kernel.version "3.18" || kernel.isHardened; 60 }; 61 }
··· 1 { lib, stdenv, fetchurl, which, autoconf, automake, flex, bison 2 + , kernel, glibc, perl, libtool_2, libkrb5 }: 3 4 with (import ./srcs.nix { 5 inherit fetchurl; ··· 55 homepage = "https://www.openafs.org"; 56 license = licenses.ipl10; 57 platforms = platforms.linux; 58 + maintainers = with maintainers; [ maggesi spacefrogg ]; 59 broken = versionOlder kernel.version "3.18" || kernel.isHardened; 60 }; 61 }
+33 -11
pkgs/tools/X11/keynav/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, pkg-config, libX11, xorgproto, libXtst, libXi, libXext 2 - , libXinerama, libXrandr, glib, cairo, xdotool }: 3 4 let release = "20180821"; in 5 stdenv.mkDerivation { ··· 14 }; 15 16 nativeBuildInputs = [ pkg-config ]; 17 - buildInputs = [ libX11 xorgproto libXtst libXi libXext libXinerama libXrandr 18 - glib cairo xdotool ]; 19 20 - patchPhase = '' 21 echo >>VERSION MAJOR=0 22 echo >>VERSION RELEASE=${release} 23 echo >>VERSION REVISION=0 24 ''; 25 26 - installPhase = 27 - '' 28 - mkdir -p $out/bin $out/share/keynav/doc 29 - cp keynav $out/bin 30 - cp keynavrc $out/share/keynav/doc 31 - ''; 32 33 meta = with lib; { 34 description = "Generate X11 mouse clicks from keyboard";
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , pkg-config 5 + , libX11 6 + , xorgproto 7 + , libXtst 8 + , libXi 9 + , libXext 10 + , libXinerama 11 + , libXrandr 12 + , glib 13 + , cairo 14 + , xdotool 15 + }: 16 17 let release = "20180821"; in 18 stdenv.mkDerivation { ··· 27 }; 28 29 nativeBuildInputs = [ pkg-config ]; 30 + buildInputs = [ 31 + libX11 32 + xorgproto 33 + libXtst 34 + libXi 35 + libXext 36 + libXinerama 37 + libXrandr 38 + glib 39 + cairo 40 + xdotool 41 + ]; 42 43 + postPatch = '' 44 echo >>VERSION MAJOR=0 45 echo >>VERSION RELEASE=${release} 46 echo >>VERSION REVISION=0 47 ''; 48 49 + installPhase = '' 50 + mkdir -p $out/bin $out/share/keynav/doc 51 + cp keynav $out/bin 52 + cp keynavrc $out/share/keynav/doc 53 + ''; 54 55 meta = with lib; { 56 description = "Generate X11 mouse clicks from keyboard";
+9 -8
pkgs/tools/networking/ghostunnel/default.nix
··· 1 - { 2 - buildGoModule, 3 - fetchFromGitHub, 4 - lib, 5 - nixosTests, 6 }: 7 8 buildGoModule rec { ··· 27 mv $sourceRoot/certstore $sourceRoot/vendor/ghostunnel/ 28 ''; 29 30 meta = with lib; { 31 description = "A simple TLS proxy with mutual authentication support for securing non-TLS backend applications"; 32 homepage = "https://github.com/ghostunnel/ghostunnel#readme"; 33 license = licenses.asl20; 34 maintainers = with maintainers; [ roberth ]; 35 }; 36 - 37 - passthru.tests.nixos = nixosTests.ghostunnel; 38 - passthru.tests.podman = nixosTests.podman-tls-ghostunnel; 39 }
··· 1 + { buildGoModule 2 + , fetchFromGitHub 3 + , lib 4 + , nixosTests 5 }: 6 7 buildGoModule rec { ··· 26 mv $sourceRoot/certstore $sourceRoot/vendor/ghostunnel/ 27 ''; 28 29 + passthru.tests = { 30 + nixos = nixosTests.ghostunnel; 31 + podman = nixosTests.podman-tls-ghostunnel; 32 + }; 33 + 34 meta = with lib; { 35 description = "A simple TLS proxy with mutual authentication support for securing non-TLS backend applications"; 36 homepage = "https://github.com/ghostunnel/ghostunnel#readme"; 37 license = licenses.asl20; 38 maintainers = with maintainers; [ roberth ]; 39 }; 40 }
+5 -6
pkgs/tools/networking/p2p/tahoe-lafs/default.nix
··· 6 # some loss of functionality because of it. 7 8 python3Packages.buildPythonApplication rec { 9 - version = "2021-07-09"; 10 pname = "tahoe-lafs"; 11 - namePrefix = ""; 12 13 src = fetchFromGitHub { 14 owner = "tahoe-lafs"; ··· 84 trial --rterrors allmydata 85 ''; 86 87 - meta = { 88 description = "Tahoe-LAFS, a decentralized, fault-tolerant, distributed storage system"; 89 longDescription = '' 90 Tahoe-LAFS is a secure, decentralized, fault-tolerant filesystem. ··· 92 such a way that it remains available even when some of the peers 93 are unavailable, malfunctioning, or malicious. 94 ''; 95 - homepage = "http://tahoe-lafs.org/"; 96 - license = [ lib.licenses.gpl2Plus /* or */ "TGPPLv1+" ]; 97 maintainers = with lib.maintainers; [ MostAwesomeDude ]; 98 - platforms = lib.platforms.gnu ++ lib.platforms.linux; 99 }; 100 }
··· 6 # some loss of functionality because of it. 7 8 python3Packages.buildPythonApplication rec { 9 pname = "tahoe-lafs"; 10 + version = "unstable-2021-07-09"; 11 12 src = fetchFromGitHub { 13 owner = "tahoe-lafs"; ··· 83 trial --rterrors allmydata 84 ''; 85 86 + meta = with lib; { 87 description = "Tahoe-LAFS, a decentralized, fault-tolerant, distributed storage system"; 88 longDescription = '' 89 Tahoe-LAFS is a secure, decentralized, fault-tolerant filesystem. ··· 91 such a way that it remains available even when some of the peers 92 are unavailable, malfunctioning, or malicious. 93 ''; 94 + homepage = "https://tahoe-lafs.org/"; 95 + license = [ licenses.gpl2Plus /* or */ "TGPPLv1+" ]; 96 maintainers = with lib.maintainers; [ MostAwesomeDude ]; 97 + platforms = platforms.gnu ++ platforms.linux; 98 }; 99 }
+3 -1
pkgs/top-level/all-packages.nix
··· 32605 32606 btcdeb = callPackage ../applications/blockchains/btcdeb { }; 32607 32608 - jitsi-meet-electron = callPackage ../applications/networking/instant-messengers/jitsi-meet-electron { }; 32609 32610 zenstates = callPackage ../os-specific/linux/zenstates {}; 32611
··· 32605 32606 btcdeb = callPackage ../applications/blockchains/btcdeb { }; 32607 32608 + jitsi-meet-electron = callPackage ../applications/networking/instant-messengers/jitsi-meet-electron { 32609 + electron = electron_13; 32610 + }; 32611 32612 zenstates = callPackage ../os-specific/linux/zenstates {}; 32613