Merge master into staging-next

authored by

github-actions[bot] and committed by
GitHub
7a89380b 26447bdb

+1382 -1084
+2 -2
doc/builders/packages/citrix.section.md
··· 4 5 ## Basic usage {#sec-citrix-base} 6 7 - The tarball archive needs to be downloaded manually, as the license agreements of the vendor for [Citrix Workspace](https://www.citrix.de/downloads/workspace-app/linux/workspace-app-for-linux-latest.html) needs to be accepted first. Then run `nix-prefetch-url file://$PWD/linuxx64-$version.tar.gz`. With the archive available in the store, the package can be built and installed with Nix. 8 9 ## Citrix Self-service {#sec-citrix-selfservice} 10 ··· 19 20 ## Custom certificates {#sec-citrix-custom-certs} 21 22 - The `Citrix Workspace App` in `nixpkgs` trusts several certificates [from the Mozilla database](https://curl.haxx.se/docs/caextract.html) by default. However, several companies using Citrix might require their own corporate certificate. On distros with imperative packaging, these certs can be stored easily in [`$ICAROOT`](https://developer-docs.citrix.com/projects/receiver-for-linux-command-reference/en/13.7/), however this directory is a store path in `nixpkgs`. In order to work around this issue, the package provides a simple mechanism to add custom certificates without rebuilding the entire package using `symlinkJoin`: 23 24 ```nix 25 with import <nixpkgs> { config.allowUnfree = true; };
··· 4 5 ## Basic usage {#sec-citrix-base} 6 7 + The tarball archive needs to be downloaded manually, as the license agreements of the vendor for [Citrix Workspace](https://www.citrix.com/downloads/workspace-app/linux/workspace-app-for-linux-latest.html) needs to be accepted first. Then run `nix-prefetch-url file://$PWD/linuxx64-$version.tar.gz`. With the archive available in the store, the package can be built and installed with Nix. 8 9 ## Citrix Self-service {#sec-citrix-selfservice} 10 ··· 19 20 ## Custom certificates {#sec-citrix-custom-certs} 21 22 + The `Citrix Workspace App` in `nixpkgs` trusts several certificates [from the Mozilla database](https://curl.haxx.se/docs/caextract.html) by default. However, several companies using Citrix might require their own corporate certificate. On distros with imperative packaging, these certs can be stored easily in [`$ICAROOT`](https://citrix.github.io/receiver-for-linux-command-reference/), however this directory is a store path in `nixpkgs`. In order to work around this issue, the package provides a simple mechanism to add custom certificates without rebuilding the entire package using `symlinkJoin`: 23 24 ```nix 25 with import <nixpkgs> { config.allowUnfree = true; };
+1 -1
doc/builders/packages/ibus.section.md
··· 4 5 ## Activating the engine {#sec-ibus-typing-booster-activate} 6 7 - IBus needs to be configured accordingly to activate `typing-booster`. The configuration depends on the desktop manager in use. For detailed instructions, please refer to the [upstream docs](https://mike-fabian.github.io/ibus-typing-booster/documentation.html). 8 9 On NixOS, you need to explicitly enable `ibus` with given engines before customizing your desktop to use `typing-booster`. This can be achieved using the `ibus` module: 10
··· 4 5 ## Activating the engine {#sec-ibus-typing-booster-activate} 6 7 + IBus needs to be configured accordingly to activate `typing-booster`. The configuration depends on the desktop manager in use. For detailed instructions, please refer to the [upstream docs](https://mike-fabian.github.io/ibus-typing-booster/). 8 9 On NixOS, you need to explicitly enable `ibus` with given engines before customizing your desktop to use `typing-booster`. This can be achieved using the `ibus` module: 10
+2 -2
doc/languages-frameworks/gnome.section.md
··· 34 35 ### GdkPixbuf loaders {#ssec-gnome-gdk-pixbuf-loaders} 36 37 - GTK applications typically use [GdkPixbuf](https://developer.gnome.org/gdk-pixbuf/stable/) to load images. But `gdk-pixbuf` package only supports basic bitmap formats like JPEG, PNG or TIFF, requiring to use third-party loader modules for other formats. This is especially painful since GTK itself includes SVG icons, which cannot be rendered without a loader provided by `librsvg`. 38 39 Unlike other libraries mentioned in this section, GdkPixbuf only supports a single value in its controlling environment variable `GDK_PIXBUF_MODULE_FILE`. It is supposed to point to a cache file containing information about the available loaders. Each loader package will contain a `lib/gdk-pixbuf-2.0/2.10.0/loaders.cache` file describing the default loaders in `gdk-pixbuf` package plus the loader contained in the package itself. If you want to use multiple third-party loaders, you will need to create your own cache file manually. Fortunately, this is pretty rare as [not many loaders exist](https://gitlab.gnome.org/federico/gdk-pixbuf-survey/blob/master/src/modules.md). 40 ··· 70 71 ### GTK Themes {#ssec-gnome-themes} 72 73 - Previously, a GTK theme needed to be in `XDG_DATA_DIRS`. This is no longer necessary for most programs since GTK incorporated Adwaita theme. Some programs (for example, those designed for [elementary HIG](https://elementary.io/docs/human-interface-guidelines#human-interface-guidelines)) might require a special theme like `pantheon.elementary-gtk-theme`. 74 75 ### GObject introspection typelibs {#ssec-gnome-typelibs} 76
··· 34 35 ### GdkPixbuf loaders {#ssec-gnome-gdk-pixbuf-loaders} 36 37 + GTK applications typically use [GdkPixbuf](https://gitlab.gnome.org/GNOME/gdk-pixbuf/) to load images. But `gdk-pixbuf` package only supports basic bitmap formats like JPEG, PNG or TIFF, requiring to use third-party loader modules for other formats. This is especially painful since GTK itself includes SVG icons, which cannot be rendered without a loader provided by `librsvg`. 38 39 Unlike other libraries mentioned in this section, GdkPixbuf only supports a single value in its controlling environment variable `GDK_PIXBUF_MODULE_FILE`. It is supposed to point to a cache file containing information about the available loaders. Each loader package will contain a `lib/gdk-pixbuf-2.0/2.10.0/loaders.cache` file describing the default loaders in `gdk-pixbuf` package plus the loader contained in the package itself. If you want to use multiple third-party loaders, you will need to create your own cache file manually. Fortunately, this is pretty rare as [not many loaders exist](https://gitlab.gnome.org/federico/gdk-pixbuf-survey/blob/master/src/modules.md). 40 ··· 70 71 ### GTK Themes {#ssec-gnome-themes} 72 73 + Previously, a GTK theme needed to be in `XDG_DATA_DIRS`. This is no longer necessary for most programs since GTK incorporated Adwaita theme. Some programs (for example, those designed for [elementary HIG](https://docs.elementary.io/hig)) might require a special theme like `pantheon.elementary-gtk-theme`. 74 75 ### GObject introspection typelibs {#ssec-gnome-typelibs} 76
+2 -2
pkgs/applications/editors/nano/default.nix
··· 14 15 in stdenv.mkDerivation rec { 16 pname = "nano"; 17 - version = "7.1"; 18 19 src = fetchurl { 20 url = "mirror://gnu/nano/${pname}-${version}.tar.xz"; 21 - sha256 = "V7p1Hpt1GfD23e5QUgLjh8dd3kQMH3qhuTEMw4FAaDY="; 22 }; 23 24 nativeBuildInputs = [ texinfo ] ++ lib.optional enableNls gettext;
··· 14 15 in stdenv.mkDerivation rec { 16 pname = "nano"; 17 + version = "7.2"; 18 19 src = fetchurl { 20 url = "mirror://gnu/nano/${pname}-${version}.tar.xz"; 21 + sha256 = "hvNEJ2i9KHPOxpP4PN+AtLRErTzBR2C3Q2FHT8h6RSY="; 22 }; 23 24 nativeBuildInputs = [ texinfo ] ++ lib.optional enableNls gettext;
+5 -9
pkgs/applications/editors/standardnotes/src.json
··· 1 { 2 - "version": "3.129.0", 3 "appimage": { 4 "x86_64-linux": { 5 - "url": "https://github.com/standardnotes/app/releases/download/%40standardnotes/desktop%403.129.0/standard-notes-3.129.0-linux-x86_64.AppImage", 6 - "hash": "sha512-JLO2jX9Us6BjqmTZIkVyxy2pqFM/eFGpwi6vXicMOgDB0UsgEMTK+Ww+9g+vJ1KbFRFmlt187qkdSNcevQPt7w==" 7 }, 8 "aarch64-linux": { 9 - "url": "https://github.com/standardnotes/app/releases/download/%40standardnotes/desktop%403.129.0/standard-notes-3.129.0-linux-arm64.AppImage", 10 - "hash": "sha512-LGUSRqMrJ+hVHyi/bjI/NkWRVsmY0Kh/wRY9RNJXm0C3dKQSFV8ca4GeY9+VCuJEecR4LGnWp4agS5jPybPP6w==" 11 - }, 12 - "i686-linux": { 13 - "url": "https://github.com/standardnotes/app/releases/download/%40standardnotes/desktop%403.129.0/standard-notes-3.129.0-linux-i386.AppImage", 14 - "hash": "sha512-XbQ4hn3QJ61hDC12cK95zsUowbyXPYArHZoRDx5trQ30phtQxtz6nV+pL00m4S9kYeEhsAwk1wXlRq9Ylbz2IA==" 15 } 16 } 17 }
··· 1 { 2 + "version": "3.139.0", 3 "appimage": { 4 "x86_64-linux": { 5 + "url": "https://github.com/standardnotes/app/releases/download/%40standardnotes/desktop%403.139.0/standard-notes-3.139.0-linux-x86_64.AppImage", 6 + "hash": "sha512-0s/tQmP5PINoQB7FOhR5wYuBvynKHpM9uMNmkJs77z84rY+WXOdZRjki6ZeG60niNXr8rUSLOBffy4jyLka6tg==" 7 }, 8 "aarch64-linux": { 9 + "url": "https://github.com/standardnotes/app/releases/download/%40standardnotes/desktop%403.139.0/standard-notes-3.139.0-linux-arm64.AppImage", 10 + "hash": "sha512-LralbOiIVQCtQTqmhTtKttdtMz4M14drPFZ00LPFcwzQviLdU2C/od3NUxf5H5piGgqt5TJlgMCOcLIiyoNKFA==" 11 } 12 } 13 }
-1
pkgs/applications/editors/standardnotes/update.nix
··· 50 51 updatePlatform x86_64-linux linux-x86_64 52 updatePlatform aarch64-linux linux-arm64 53 - updatePlatform i686-linux linux-i386 54 setJsonKey .version "$newVersion" 55 ''
··· 50 51 updatePlatform x86_64-linux linux-x86_64 52 updatePlatform aarch64-linux linux-arm64 53 setJsonKey .version "$newVersion" 54 ''
+11 -12
pkgs/applications/misc/blender/default.nix
··· 16 , embree, gmp, libharu 17 }: 18 19 - with lib; 20 let 21 python = python310Packages.python; 22 optix = fetchzip { ··· 38 patches = lib.optional stdenv.isDarwin ./darwin.patch; 39 40 nativeBuildInputs = [ cmake makeWrapper python310Packages.wrapPython llvmPackages.llvm.dev ] 41 - ++ optionals cudaSupport [ addOpenGLRunpath ]; 42 buildInputs = 43 [ boost ffmpeg gettext glew ilmbase 44 freetype libjpeg libpng libsamplerate libsndfile libtiff libwebp ··· 63 else [ 64 llvmPackages.openmp SDL Cocoa CoreGraphics ForceFeedback OpenAL OpenGL 65 ]) 66 - ++ optional jackaudioSupport libjack2 67 - ++ optional cudaSupport cudaPackages.cudatoolkit 68 - ++ optional colladaSupport opencollada 69 - ++ optional spaceNavSupport libspnav; 70 pythonPath = with python310Packages; [ numpy requests ]; 71 72 postPatch = '' ··· 118 "-DWITH_IMAGE_OPENJPEG=ON" 119 "-DWITH_OPENCOLLADA=${if colladaSupport then "ON" else "OFF"}" 120 ] 121 - ++ optionals stdenv.isDarwin [ 122 "-DWITH_CYCLES_OSL=OFF" # requires LLVM 123 "-DWITH_OPENVDB=OFF" # OpenVDB currently doesn't build on darwin 124 125 "-DLIBDIR=/does-not-exist" 126 ] 127 # Clang doesn't support "-export-dynamic" 128 - ++ optional stdenv.cc.isClang "-DPYTHON_LINKFLAGS=" 129 - ++ optional jackaudioSupport "-DWITH_JACK=ON" 130 - ++ optionals cudaSupport [ 131 "-DWITH_CYCLES_CUDA_BINARIES=ON" 132 "-DWITH_CYCLES_DEVICE_OPTIX=ON" 133 "-DOPTIX_ROOT_DIR=${optix}" ··· 137 138 # Since some dependencies are built with gcc 6, we need gcc 6's 139 # libstdc++ in our RPATH. Sigh. 140 - NIX_LDFLAGS = optionalString cudaSupport "-rpath ${stdenv.cc.cc.lib}/lib"; 141 142 blenderExecutable = 143 placeholder "out" + (if stdenv.isDarwin then "/Applications/Blender.app/Contents/MacOS/Blender" else "/bin/blender"); ··· 154 155 # Set RUNPATH so that libcuda and libnvrtc in /run/opengl-driver(-32)/lib can be 156 # found. See the explanation in libglvnd. 157 - postFixup = optionalString cudaSupport '' 158 for program in $out/bin/blender $out/bin/.blender-wrapped; do 159 isELF "$program" || continue 160 addOpenGLRunpath "$program"
··· 16 , embree, gmp, libharu 17 }: 18 19 let 20 python = python310Packages.python; 21 optix = fetchzip { ··· 37 patches = lib.optional stdenv.isDarwin ./darwin.patch; 38 39 nativeBuildInputs = [ cmake makeWrapper python310Packages.wrapPython llvmPackages.llvm.dev ] 40 + ++ lib.optionals cudaSupport [ addOpenGLRunpath ]; 41 buildInputs = 42 [ boost ffmpeg gettext glew ilmbase 43 freetype libjpeg libpng libsamplerate libsndfile libtiff libwebp ··· 62 else [ 63 llvmPackages.openmp SDL Cocoa CoreGraphics ForceFeedback OpenAL OpenGL 64 ]) 65 + ++ lib.optional jackaudioSupport libjack2 66 + ++ lib.optional cudaSupport cudaPackages.cudatoolkit 67 + ++ lib.optional colladaSupport opencollada 68 + ++ lib.optional spaceNavSupport libspnav; 69 pythonPath = with python310Packages; [ numpy requests ]; 70 71 postPatch = '' ··· 117 "-DWITH_IMAGE_OPENJPEG=ON" 118 "-DWITH_OPENCOLLADA=${if colladaSupport then "ON" else "OFF"}" 119 ] 120 + ++ lib.optionals stdenv.isDarwin [ 121 "-DWITH_CYCLES_OSL=OFF" # requires LLVM 122 "-DWITH_OPENVDB=OFF" # OpenVDB currently doesn't build on darwin 123 124 "-DLIBDIR=/does-not-exist" 125 ] 126 # Clang doesn't support "-export-dynamic" 127 + ++ lib.optional stdenv.cc.isClang "-DPYTHON_LINKFLAGS=" 128 + ++ lib.optional jackaudioSupport "-DWITH_JACK=ON" 129 + ++ lib.optionals cudaSupport [ 130 "-DWITH_CYCLES_CUDA_BINARIES=ON" 131 "-DWITH_CYCLES_DEVICE_OPTIX=ON" 132 "-DOPTIX_ROOT_DIR=${optix}" ··· 136 137 # Since some dependencies are built with gcc 6, we need gcc 6's 138 # libstdc++ in our RPATH. Sigh. 139 + NIX_LDFLAGS = lib.optionalString cudaSupport "-rpath ${stdenv.cc.cc.lib}/lib"; 140 141 blenderExecutable = 142 placeholder "out" + (if stdenv.isDarwin then "/Applications/Blender.app/Contents/MacOS/Blender" else "/bin/blender"); ··· 153 154 # Set RUNPATH so that libcuda and libnvrtc in /run/opengl-driver(-32)/lib can be 155 # found. See the explanation in libglvnd. 156 + postFixup = lib.optionalString cudaSupport '' 157 for program in $out/bin/blender $out/bin/.blender-wrapped; do 158 isELF "$program" || continue 159 addOpenGLRunpath "$program"
+2 -4
pkgs/applications/misc/electrum/update.nix
··· 10 , nix 11 }: 12 13 - with lib; 14 - 15 let 16 downloadPageUrl = "https://download.electrum.org"; 17 ··· 23 24 set -eu -o pipefail 25 26 - export PATH=${makeBinPath [ 27 common-updater-scripts 28 coreutils 29 curl ··· 50 export GNUPGHOME=$PWD/gnupg 51 mkdir -m 700 -p "$GNUPGHOME" 52 53 - gpg --batch --recv-keys ${concatStringsSep " " (map (x: "'${x}'") signingKeys)} 54 gpg --batch --verify "$sigFile" "$srcFile" 55 56 sha256=$(nix-prefetch-url --type sha256 "file://$PWD/$srcFile")
··· 10 , nix 11 }: 12 13 let 14 downloadPageUrl = "https://download.electrum.org"; 15 ··· 21 22 set -eu -o pipefail 23 24 + export PATH=${lib.makeBinPath [ 25 common-updater-scripts 26 coreutils 27 curl ··· 48 export GNUPGHOME=$PWD/gnupg 49 mkdir -m 700 -p "$GNUPGHOME" 50 51 + gpg --batch --recv-keys ${lib.concatStringsSep " " (map (x: "'${x}'") signingKeys)} 52 gpg --batch --verify "$sigFile" "$srcFile" 53 54 sha256=$(nix-prefetch-url --type sha256 "file://$PWD/$srcFile")
+1 -3
pkgs/applications/misc/elogind/default.nix
··· 25 , enableSystemd ? false 26 }: 27 28 - with lib; 29 - 30 stdenv.mkDerivation rec { 31 pname = "elogind"; 32 version = "246.10"; ··· 72 "-Dsysconfdir=${placeholder "out"}/etc" 73 ]; 74 75 - meta = { 76 homepage = "https://github.com/elogind/elogind"; 77 description = ''The systemd project's "logind", extracted to a standalone package''; 78 platforms = platforms.linux; # probably more
··· 25 , enableSystemd ? false 26 }: 27 28 stdenv.mkDerivation rec { 29 pname = "elogind"; 30 version = "246.10"; ··· 70 "-Dsysconfdir=${placeholder "out"}/etc" 71 ]; 72 73 + meta = with lib; { 74 homepage = "https://github.com/elogind/elogind"; 75 description = ''The systemd project's "logind", extracted to a standalone package''; 76 platforms = platforms.linux; # probably more
+3 -5
pkgs/applications/misc/gammu/default.nix
··· 4 , postgresSupport ? false, postgresql ? null 5 }: 6 7 - with lib; 8 - 9 stdenv.mkDerivation rec { 10 pname = "gammu"; 11 version = "1.42.0"; ··· 31 strictDeps = true; 32 33 buildInputs = [ bash bluez libusb1 curl gettext sqlite libiconv ] 34 - ++ optionals dbiSupport [ libdbi libdbiDrivers ] 35 - ++ optionals postgresSupport [ postgresql ]; 36 37 - meta = { 38 homepage = "https://wammu.eu/gammu/"; 39 description = "Command line utility and library to control mobile phones"; 40 license = licenses.gpl2;
··· 4 , postgresSupport ? false, postgresql ? null 5 }: 6 7 stdenv.mkDerivation rec { 8 pname = "gammu"; 9 version = "1.42.0"; ··· 29 strictDeps = true; 30 31 buildInputs = [ bash bluez libusb1 curl gettext sqlite libiconv ] 32 + ++ lib.optionals dbiSupport [ libdbi libdbiDrivers ] 33 + ++ lib.optionals postgresSupport [ postgresql ]; 34 35 + meta = with lib; { 36 homepage = "https://wammu.eu/gammu/"; 37 description = "Command line utility and library to control mobile phones"; 38 license = licenses.gpl2;
+2 -4
pkgs/applications/misc/get_iplayer/default.nix
··· 1 { lib, fetchFromGitHub, atomicparsley, flvstreamer, ffmpeg, makeWrapper, perl, perlPackages, rtmpdump}: 2 3 - with lib; 4 - 5 perlPackages.buildPerlPackage rec { 6 pname = "get_iplayer"; 7 version = "3.27"; ··· 26 installPhase = '' 27 mkdir -p $out/bin $out/share/man/man1 28 cp get_iplayer $out/bin 29 - wrapProgram $out/bin/get_iplayer --suffix PATH : ${makeBinPath [ atomicparsley ffmpeg flvstreamer rtmpdump ]} --prefix PERL5LIB : $PERL5LIB 30 cp get_iplayer.1 $out/share/man/man1 31 ''; 32 33 - meta = { 34 description = "Downloads TV and radio from BBC iPlayer"; 35 license = licenses.gpl3Plus; 36 homepage = "https://squarepenguin.co.uk/";
··· 1 { lib, fetchFromGitHub, atomicparsley, flvstreamer, ffmpeg, makeWrapper, perl, perlPackages, rtmpdump}: 2 3 perlPackages.buildPerlPackage rec { 4 pname = "get_iplayer"; 5 version = "3.27"; ··· 24 installPhase = '' 25 mkdir -p $out/bin $out/share/man/man1 26 cp get_iplayer $out/bin 27 + wrapProgram $out/bin/get_iplayer --suffix PATH : ${lib.makeBinPath [ atomicparsley ffmpeg flvstreamer rtmpdump ]} --prefix PERL5LIB : $PERL5LIB 28 cp get_iplayer.1 $out/share/man/man1 29 ''; 30 31 + meta = with lib; { 32 description = "Downloads TV and radio from BBC iPlayer"; 33 license = licenses.gpl3Plus; 34 homepage = "https://squarepenguin.co.uk/";
+7 -9
pkgs/applications/misc/k2pdfopt/default.nix
··· 8 , enableTesseract ? true, leptonica, tesseract4 9 }: 10 11 - with lib; 12 - 13 # k2pdfopt is a pain to package. It requires modified versions of mupdf, 14 # leptonica, and tesseract. Instead of shipping patches for these upstream 15 # packages, k2pdfopt includes just the modified source files for these ··· 140 }; 141 in 142 [ zlib libpng ] ++ 143 - optional enableGSL gsl ++ 144 - optional enableGhostScript ghostscript ++ 145 - optional enableMuPDF mupdf_modded ++ 146 - optional enableDJVU djvulibre ++ 147 - optional enableGOCR gocr ++ 148 - optionals enableTesseract [ leptonica_modded tesseract_modded ]; 149 150 dontUseCmakeBuildDir = true; 151 ··· 157 install -D -m 755 k2pdfopt $out/bin/k2pdfopt 158 ''; 159 160 - preFixup = optionalString enableTesseract '' 161 wrapProgram $out/bin/k2pdfopt --set-default TESSDATA_PREFIX ${tesseract4}/share/tessdata 162 ''; 163
··· 8 , enableTesseract ? true, leptonica, tesseract4 9 }: 10 11 # k2pdfopt is a pain to package. It requires modified versions of mupdf, 12 # leptonica, and tesseract. Instead of shipping patches for these upstream 13 # packages, k2pdfopt includes just the modified source files for these ··· 138 }; 139 in 140 [ zlib libpng ] ++ 141 + lib.optional enableGSL gsl ++ 142 + lib.optional enableGhostScript ghostscript ++ 143 + lib.optional enableMuPDF mupdf_modded ++ 144 + lib.optional enableDJVU djvulibre ++ 145 + lib.optional enableGOCR gocr ++ 146 + lib.optionals enableTesseract [ leptonica_modded tesseract_modded ]; 147 148 dontUseCmakeBuildDir = true; 149 ··· 155 install -D -m 755 k2pdfopt $out/bin/k2pdfopt 156 ''; 157 158 + preFixup = lib.optionalString enableTesseract '' 159 wrapProgram $out/bin/k2pdfopt --set-default TESSDATA_PREFIX ${tesseract4}/share/tessdata 160 ''; 161
+14 -16
pkgs/applications/misc/keepassx/community.nix
··· 37 , nixosTests 38 }: 39 40 - with lib; 41 - 42 stdenv.mkDerivation rec { 43 pname = "keepassxc"; 44 version = "2.7.4"; ··· 50 sha256 = "sha256-amedKK9nplLVJTldeabN3/c+g/QesrdH+qx+rba2/4s="; 51 }; 52 53 - NIX_CFLAGS_COMPILE = optionalString stdenv.cc.isClang [ 54 "-Wno-old-style-cast" 55 "-Wno-error" 56 "-D__BIG_ENDIAN__=${if stdenv.isBigEndian then "1" else "0"}" 57 ]; 58 59 - NIX_LDFLAGS = optionalString stdenv.isDarwin "-rpath ${libargon2}/lib"; 60 61 patches = [ 62 ./darwin.patch ··· 67 "-DWITH_GUI_TESTS=ON" 68 "-DWITH_XC_UPDATECHECK=OFF" 69 ] 70 - ++ (optional (!withKeePassX11) "-DWITH_XC_X11=OFF") 71 - ++ (optional (withKeePassFDOSecrets && stdenv.isLinux) "-DWITH_XC_FDOSECRETS=ON") 72 - ++ (optional (withKeePassYubiKey && stdenv.isLinux) "-DWITH_XC_YUBIKEY=ON") 73 - ++ (optional withKeePassBrowser "-DWITH_XC_BROWSER=ON") 74 - ++ (optional withKeePassKeeShare "-DWITH_XC_KEESHARE=ON") 75 - ++ (optional withKeePassNetworking "-DWITH_XC_NETWORKING=ON") 76 - ++ (optional withKeePassSSHAgent "-DWITH_XC_SSHAGENT=ON"); 77 78 doCheck = true; 79 checkPhase = '' ··· 112 readline 113 zlib 114 ] 115 - ++ optional (stdenv.isDarwin && withKeePassTouchID) darwin.apple_sdk.frameworks.LocalAuthentication 116 - ++ optional stdenv.isDarwin qtmacextras 117 - ++ optional stdenv.isLinux libusb1 118 - ++ optional withKeePassX11 qtx11extras; 119 120 passthru.tests = nixosTests.keepassxc; 121 122 - meta = { 123 description = "Offline password manager with many features."; 124 longDescription = '' 125 A community fork of KeePassX, which is itself a port of KeePass Password Safe.
··· 37 , nixosTests 38 }: 39 40 stdenv.mkDerivation rec { 41 pname = "keepassxc"; 42 version = "2.7.4"; ··· 48 sha256 = "sha256-amedKK9nplLVJTldeabN3/c+g/QesrdH+qx+rba2/4s="; 49 }; 50 51 + NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang [ 52 "-Wno-old-style-cast" 53 "-Wno-error" 54 "-D__BIG_ENDIAN__=${if stdenv.isBigEndian then "1" else "0"}" 55 ]; 56 57 + NIX_LDFLAGS = lib.optionalString stdenv.isDarwin "-rpath ${libargon2}/lib"; 58 59 patches = [ 60 ./darwin.patch ··· 65 "-DWITH_GUI_TESTS=ON" 66 "-DWITH_XC_UPDATECHECK=OFF" 67 ] 68 + ++ (lib.optional (!withKeePassX11) "-DWITH_XC_X11=OFF") 69 + ++ (lib.optional (withKeePassFDOSecrets && stdenv.isLinux) "-DWITH_XC_FDOSECRETS=ON") 70 + ++ (lib.optional (withKeePassYubiKey && stdenv.isLinux) "-DWITH_XC_YUBIKEY=ON") 71 + ++ (lib.optional withKeePassBrowser "-DWITH_XC_BROWSER=ON") 72 + ++ (lib.optional withKeePassKeeShare "-DWITH_XC_KEESHARE=ON") 73 + ++ (lib.optional withKeePassNetworking "-DWITH_XC_NETWORKING=ON") 74 + ++ (lib.optional withKeePassSSHAgent "-DWITH_XC_SSHAGENT=ON"); 75 76 doCheck = true; 77 checkPhase = '' ··· 110 readline 111 zlib 112 ] 113 + ++ lib.optional (stdenv.isDarwin && withKeePassTouchID) darwin.apple_sdk.frameworks.LocalAuthentication 114 + ++ lib.optional stdenv.isDarwin qtmacextras 115 + ++ lib.optional stdenv.isLinux libusb1 116 + ++ lib.optional withKeePassX11 qtx11extras; 117 118 passthru.tests = nixosTests.keepassxc; 119 120 + meta = with lib; { 121 description = "Offline password manager with many features."; 122 longDescription = '' 123 A community fork of KeePassX, which is itself a port of KeePass Password Safe.
pkgs/applications/misc/lukesmithxyz-bible/kjv.nix pkgs/applications/misc/kjv/lukesmithxyz-kjv.nix
+2 -2
pkgs/applications/misc/madonctl/default.nix
··· 8 owner = "McKael"; 9 repo = "madonctl"; 10 rev = "v${version}"; 11 - sha256 = "sha256-mo185EKjLkiujAKcAFM1XqkXWvcfYbnv+r3dF9ywaf8="; 12 }; 13 14 - vendorSha256 = null; 15 16 nativeBuildInputs = [ installShellFiles ]; 17
··· 8 owner = "McKael"; 9 repo = "madonctl"; 10 rev = "v${version}"; 11 + hash = "sha256-mo185EKjLkiujAKcAFM1XqkXWvcfYbnv+r3dF9ywaf8="; 12 }; 13 14 + vendorHash = null; 15 16 nativeBuildInputs = [ installShellFiles ]; 17
+2 -2
pkgs/applications/misc/metadata-cleaner/default.nix
··· 18 19 python3.pkgs.buildPythonApplication rec { 20 pname = "metadata-cleaner"; 21 - version = "2.3.1"; 22 23 format = "other"; 24 ··· 26 owner = "rmnvgr"; 27 repo = pname; 28 rev = "v${version}"; 29 - hash = "sha256-nH2BsfXFwBdu7/YH2OuG90HxYgiuqKJqMC4p0PRlgPw="; 30 }; 31 32 nativeBuildInputs = [
··· 18 19 python3.pkgs.buildPythonApplication rec { 20 pname = "metadata-cleaner"; 21 + version = "2.4.0"; 22 23 format = "other"; 24 ··· 26 owner = "rmnvgr"; 27 repo = pname; 28 rev = "v${version}"; 29 + hash = "sha256-/Zi82ri61cQHt1D8DjeVHTSeEn9ubQJD931kP0ffiOs="; 30 }; 31 32 nativeBuildInputs = [
+2 -2
pkgs/applications/misc/osmium-tool/default.nix
··· 14 15 stdenv.mkDerivation rec { 16 pname = "osmium-tool"; 17 - version = "1.14.0"; 18 19 src = fetchFromGitHub { 20 owner = "osmcode"; 21 repo = "osmium-tool"; 22 rev = "v${version}"; 23 - sha256 = "sha256-xedunFzar44o+b/45isXWacDcC81wWkxgGwnpLPH/n0="; 24 }; 25 26 nativeBuildInputs = [
··· 14 15 stdenv.mkDerivation rec { 16 pname = "osmium-tool"; 17 + version = "1.15.0"; 18 19 src = fetchFromGitHub { 20 owner = "osmcode"; 21 repo = "osmium-tool"; 22 rev = "v${version}"; 23 + sha256 = "sha256-xV/1LFby0L/o648XEQQ9gS9/eHssWhMIG7R1E8bfIDU="; 24 }; 25 26 nativeBuildInputs = [
+1 -1
pkgs/applications/misc/pokemon-colorscripts-mac/default.nix
··· 6 7 stdenv.mkDerivation rec { 8 pname = "pokemon-colorscripts-mac"; 9 - version = "stable=2021-08-10"; 10 11 src = fetchFromGitHub { 12 owner = "nuke-dash";
··· 6 7 stdenv.mkDerivation rec { 8 pname = "pokemon-colorscripts-mac"; 9 + version = "stable-2021-08-10"; 10 11 src = fetchFromGitHub { 12 owner = "nuke-dash";
+1 -3
pkgs/applications/misc/rm-improved/default.nix
··· 1 { fetchFromGitHub, rustPlatform, lib }: 2 3 - with lib; 4 - 5 rustPlatform.buildRustPackage rec { 6 pname = "rm-improved"; 7 version = "0.13.0"; ··· 15 sha256 = "0d065xia4mwdhxkiqfg7pic6scfzipzmsvvx7l6l97w62lzpiqx3"; 16 }; 17 18 - meta = { 19 description = "Replacement for rm with focus on safety, ergonomics and performance"; 20 homepage = "https://github.com/nivekuil/rip"; 21 maintainers = with maintainers; [ nils-degroot ];
··· 1 { fetchFromGitHub, rustPlatform, lib }: 2 3 rustPlatform.buildRustPackage rec { 4 pname = "rm-improved"; 5 version = "0.13.0"; ··· 13 sha256 = "0d065xia4mwdhxkiqfg7pic6scfzipzmsvvx7l6l97w62lzpiqx3"; 14 }; 15 16 + meta = with lib; { 17 description = "Replacement for rm with focus on safety, ergonomics and performance"; 18 homepage = "https://github.com/nivekuil/rip"; 19 maintainers = with maintainers; [ nils-degroot ];
+3 -5
pkgs/applications/misc/slstatus/default.nix
··· 1 { lib, stdenv, fetchgit, pkg-config, writeText, libX11, conf ? null, patches ? [] }: 2 3 - with lib; 4 - 5 stdenv.mkDerivation rec { 6 pname = "slstatus"; 7 version = "unstable-2019-02-16"; ··· 12 sha256 = "0kayyhpmppybhwndxgabw48wsk9v8x9xdb05xrly9szkw3jbvgw4"; 13 }; 14 15 - configFile = optionalString (conf!=null) (writeText "config.def.h" conf); 16 - preBuild = optionalString (conf!=null) "cp ${configFile} config.def.h"; 17 18 inherit patches; 19 ··· 24 25 installFlags = [ "PREFIX=$(out)" ]; 26 27 - meta = { 28 homepage = "https://tools.suckless.org/slstatus/"; 29 description = "status monitor for window managers that use WM_NAME like dwm"; 30 license = licenses.isc;
··· 1 { lib, stdenv, fetchgit, pkg-config, writeText, libX11, conf ? null, patches ? [] }: 2 3 stdenv.mkDerivation rec { 4 pname = "slstatus"; 5 version = "unstable-2019-02-16"; ··· 10 sha256 = "0kayyhpmppybhwndxgabw48wsk9v8x9xdb05xrly9szkw3jbvgw4"; 11 }; 12 13 + configFile = lib.optionalString (conf!=null) (writeText "config.def.h" conf); 14 + preBuild = lib.optionalString (conf!=null) "cp ${configFile} config.def.h"; 15 16 inherit patches; 17 ··· 22 23 installFlags = [ "PREFIX=$(out)" ]; 24 25 + meta = with lib; { 26 homepage = "https://tools.suckless.org/slstatus/"; 27 description = "status monitor for window managers that use WM_NAME like dwm"; 28 license = licenses.isc;
+2 -4
pkgs/applications/misc/veracrypt/default.nix
··· 14 , btrfs-progs 15 }: 16 17 - with lib; 18 - 19 stdenv.mkDerivation rec { 20 pname = "veracrypt"; 21 version = "1.25.9"; 22 23 src = fetchurl { 24 - url = "https://launchpad.net/${pname}/trunk/${toLower version}/+download/VeraCrypt_${version}_Source.tar.bz2"; 25 sha256 = "sha256-drbhgYS8IaQdKUn/Y9ch1JBUpxbO/zpL13tcNRC3lK8="; 26 }; 27 ··· 54 --replace "Icon=veracrypt" "Icon=veracrypt.xpm" 55 ''; 56 57 - meta = { 58 description = "Free Open-Source filesystem on-the-fly encryption"; 59 homepage = "https://www.veracrypt.fr/"; 60 license = with licenses; [ asl20 /* and */ unfree /* TrueCrypt License version 3.0 */ ];
··· 14 , btrfs-progs 15 }: 16 17 stdenv.mkDerivation rec { 18 pname = "veracrypt"; 19 version = "1.25.9"; 20 21 src = fetchurl { 22 + url = "https://launchpad.net/${pname}/trunk/${lib.toLower version}/+download/VeraCrypt_${version}_Source.tar.bz2"; 23 sha256 = "sha256-drbhgYS8IaQdKUn/Y9ch1JBUpxbO/zpL13tcNRC3lK8="; 24 }; 25 ··· 52 --replace "Icon=veracrypt" "Icon=veracrypt.xpm" 53 ''; 54 55 + meta = with lib; { 56 description = "Free Open-Source filesystem on-the-fly encryption"; 57 homepage = "https://www.veracrypt.fr/"; 58 license = with licenses; [ asl20 /* and */ unfree /* TrueCrypt License version 3.0 */ ];
+2 -4
pkgs/applications/misc/xsuspender/default.nix
··· 1 { lib, stdenv, fetchFromGitHub, cmake, makeWrapper, pkg-config 2 , glib, libwnck, procps }: 3 4 - with lib; 5 - 6 stdenv.mkDerivation rec { 7 pname = "xsuspender"; 8 version = "1.3"; ··· 21 22 postInstall = '' 23 wrapProgram $out/bin/xsuspender \ 24 - --prefix PATH : "${makeBinPath [ procps ]}" 25 ''; 26 27 - meta = { 28 description = "Auto-suspend inactive X11 applications"; 29 homepage = "https://kernc.github.io/xsuspender/"; 30 license = licenses.wtfpl;
··· 1 { lib, stdenv, fetchFromGitHub, cmake, makeWrapper, pkg-config 2 , glib, libwnck, procps }: 3 4 stdenv.mkDerivation rec { 5 pname = "xsuspender"; 6 version = "1.3"; ··· 19 20 postInstall = '' 21 wrapProgram $out/bin/xsuspender \ 22 + --prefix PATH : "${lib.makeBinPath [ procps ]}" 23 ''; 24 25 + meta = with lib; { 26 description = "Auto-suspend inactive X11 applications"; 27 homepage = "https://kernc.github.io/xsuspender/"; 28 license = licenses.wtfpl;
+4 -6
pkgs/applications/misc/zathura/core/default.nix
··· 6 , gtk-mac-integration 7 }: 8 9 - with lib; 10 - 11 stdenv.mkDerivation rec { 12 pname = "zathura"; 13 version = "0.5.2"; ··· 28 "-Dsynctex=enabled" 29 # Make sure tests are enabled for doCheck 30 "-Dtests=enabled" 31 - ] ++ optional (!stdenv.isLinux) "-Dseccomp=disabled"; 32 33 nativeBuildInputs = [ 34 meson ninja pkg-config desktop-file-utils python3.pkgs.sphinx ··· 38 buildInputs = [ 39 gtk girara libintl sqlite glib file librsvg 40 texlive.bin.core 41 - ] ++ optional stdenv.isLinux libseccomp 42 - ++ optional stdenv.isDarwin gtk-mac-integration; 43 44 doCheck = !stdenv.isDarwin; 45 46 - meta = { 47 homepage = "https://git.pwmt.org/pwmt/zathura"; 48 description = "A core component for zathura PDF viewer"; 49 license = licenses.zlib;
··· 6 , gtk-mac-integration 7 }: 8 9 stdenv.mkDerivation rec { 10 pname = "zathura"; 11 version = "0.5.2"; ··· 26 "-Dsynctex=enabled" 27 # Make sure tests are enabled for doCheck 28 "-Dtests=enabled" 29 + ] ++ lib.optional (!stdenv.isLinux) "-Dseccomp=disabled"; 30 31 nativeBuildInputs = [ 32 meson ninja pkg-config desktop-file-utils python3.pkgs.sphinx ··· 36 buildInputs = [ 37 gtk girara libintl sqlite glib file librsvg 38 texlive.bin.core 39 + ] ++ lib.optional stdenv.isLinux libseccomp 40 + ++ lib.optional stdenv.isDarwin gtk-mac-integration; 41 42 doCheck = !stdenv.isDarwin; 43 44 + meta = with lib; { 45 homepage = "https://git.pwmt.org/pwmt/zathura"; 46 description = "A core component for zathura PDF viewer"; 47 license = licenses.zlib;
+6 -6
pkgs/applications/networking/appgate-sdp/default.nix
··· 38 , xorg 39 , zlib 40 }: 41 - with lib; 42 let 43 deps = [ 44 alsa-lib ··· 89 version = "6.0.3"; 90 91 src = fetchurl { 92 - url = "https://bin.appgate-sdp.com/${versions.majorMinor version}/client/appgate-sdp_${version}_amd64.deb"; 93 sha256 = "sha256-UDyVPoQM78CKVWXgr08An77QTiFVmRNHwQPGaj1jAIM="; 94 }; 95 ··· 134 --replace "/etc/appgate.conf" "$out/etc/appgate.conf" 135 136 wrapProgram $out/opt/appgate/service/createdump \ 137 - --set LD_LIBRARY_PATH "${makeLibraryPath [ stdenv.cc.cc ]}" 138 139 wrapProgram $out/opt/appgate/appgate-driver \ 140 - --prefix PATH : ${makeBinPath [ iproute2 networkmanager dnsmasq ]} \ 141 --set LD_LIBRARY_PATH $out/opt/appgate/service 142 143 # make xdg-open overrideable at runtime 144 makeWrapper $out/opt/appgate/Appgate $out/bin/appgate \ 145 - --suffix PATH : ${makeBinPath [ xdg-utils ]} \ 146 - --set LD_LIBRARY_PATH $out/opt/appgate:${makeLibraryPath deps} 147 148 wrapProgram $out/opt/appgate/linux/set_dns --set PYTHONPATH $PYTHONPATH 149 '';
··· 38 , xorg 39 , zlib 40 }: 41 + 42 let 43 deps = [ 44 alsa-lib ··· 89 version = "6.0.3"; 90 91 src = fetchurl { 92 + url = "https://bin.appgate-sdp.com/${lib.versions.majorMinor version}/client/appgate-sdp_${version}_amd64.deb"; 93 sha256 = "sha256-UDyVPoQM78CKVWXgr08An77QTiFVmRNHwQPGaj1jAIM="; 94 }; 95 ··· 134 --replace "/etc/appgate.conf" "$out/etc/appgate.conf" 135 136 wrapProgram $out/opt/appgate/service/createdump \ 137 + --set LD_LIBRARY_PATH "${lib.makeLibraryPath [ stdenv.cc.cc ]}" 138 139 wrapProgram $out/opt/appgate/appgate-driver \ 140 + --prefix PATH : ${lib.makeBinPath [ iproute2 networkmanager dnsmasq ]} \ 141 --set LD_LIBRARY_PATH $out/opt/appgate/service 142 143 # make xdg-open overrideable at runtime 144 makeWrapper $out/opt/appgate/Appgate $out/bin/appgate \ 145 + --suffix PATH : ${lib.makeBinPath [ xdg-utils ]} \ 146 + --set LD_LIBRARY_PATH $out/opt/appgate:${lib.makeLibraryPath deps} 147 148 wrapProgram $out/opt/appgate/linux/set_dns --set PYTHONPATH $PYTHONPATH 149 '';
+4 -6
pkgs/applications/networking/browsers/chromium/browser.nix
··· 3 , enableWideVine, ungoogled 4 }: 5 6 - with lib; 7 - 8 mkChromiumDerivation (base: rec { 9 name = "chromium-browser"; 10 packageName = "chromium"; ··· 76 77 meta = { 78 description = "An open source web browser from Google" 79 - + optionalString ungoogled ", with dependencies on Google web services removed"; 80 longDescription = '' 81 Chromium is an open source web browser from Google that aims to build a 82 safer, faster, and more stable way for all Internet users to experience ··· 86 homepage = if ungoogled 87 then "https://github.com/Eloston/ungoogled-chromium" 88 else "https://www.chromium.org/"; 89 - maintainers = with maintainers; if ungoogled 90 then [ squalus primeos michaeladler ] 91 else [ primeos thefloweringash ]; 92 - license = if enableWideVine then licenses.unfree else licenses.bsd3; 93 - platforms = platforms.linux; 94 mainProgram = "chromium"; 95 hydraPlatforms = if (channel == "stable" || channel == "ungoogled-chromium") 96 then ["aarch64-linux" "x86_64-linux"]
··· 3 , enableWideVine, ungoogled 4 }: 5 6 mkChromiumDerivation (base: rec { 7 name = "chromium-browser"; 8 packageName = "chromium"; ··· 74 75 meta = { 76 description = "An open source web browser from Google" 77 + + lib.optionalString ungoogled ", with dependencies on Google web services removed"; 78 longDescription = '' 79 Chromium is an open source web browser from Google that aims to build a 80 safer, faster, and more stable way for all Internet users to experience ··· 84 homepage = if ungoogled 85 then "https://github.com/Eloston/ungoogled-chromium" 86 else "https://www.chromium.org/"; 87 + maintainers = with lib.maintainers; if ungoogled 88 then [ squalus primeos michaeladler ] 89 else [ primeos thefloweringash ]; 90 + license = if enableWideVine then lib.licenses.unfree else lib.licenses.bsd3; 91 + platforms = lib.platforms.linux; 92 mainProgram = "chromium"; 93 hydraPlatforms = if (channel == "stable" || channel == "ungoogled-chromium") 94 then ["aarch64-linux" "x86_64-linux"]
+15 -17
pkgs/applications/networking/browsers/chromium/common.nix
··· 51 52 buildFun: 53 54 - with lib; 55 - 56 let 57 python3WithPackages = python3.withPackages(ps: with ps; [ 58 ply jinja2 setuptools ··· 75 let 76 # Serialize Nix types into GN types according to this document: 77 # https://source.chromium.org/gn/gn/+/master:docs/language.md 78 - mkGnString = value: "\"${escape ["\"" "$" "\\"] value}\""; 79 sanitize = value: 80 if value == true then "true" 81 else if value == false then "false" 82 - else if isList value then "[${concatMapStringsSep ", " sanitize value}]" 83 - else if isInt value then toString value 84 - else if isString value then mkGnString value 85 else throw "Unsupported type for GN value `${value}'."; 86 toFlag = key: value: "${key}=${sanitize value}"; 87 - in attrs: concatStringsSep " " (attrValues (mapAttrs toFlag attrs)); 88 89 # https://source.chromium.org/chromium/chromium/src/+/master:build/linux/unbundle/replace_gn_files.py 90 gnSystemLibraries = [ ··· 151 libdrm wayland mesa.drivers libxkbcommon 152 curl 153 libepoxy 154 - ] ++ optional systemdSupport systemd 155 - ++ optionals cupsSupport [ libgcrypt cups ] 156 - ++ optional pulseSupport libpulseaudio; 157 158 patches = [ 159 # Optional patch to use SOURCE_DATE_EPOCH in compute_build_timestamp.py (should be upstreamed): ··· 237 # Allow building against system libraries in official builds 238 sed -i 's/OFFICIAL_BUILD/GOOGLE_CHROME_BUILD/' tools/generate_shim_headers/generate_shim_headers.py 239 240 - '' + optionalString stdenv.isAarch64 '' 241 substituteInPlace build/toolchain/linux/BUILD.gn \ 242 --replace 'toolprefix = "aarch64-linux-gnu-"' 'toolprefix = ""' 243 - '' + optionalString ungoogled '' 244 ${ungoogler}/utils/prune_binaries.py . ${ungoogler}/pruning.list || echo "some errors" 245 ${ungoogler}/utils/patches.py . ${ungoogler}/patches 246 ${ungoogler}/utils/domain_substitution.py apply -r ${ungoogler}/domain_regex.list -f ${ungoogler}/domain_substitution.list -c ./ungoogled-domsubcache.tar.gz . ··· 300 # as well to avoid incompatibilities (if this continues to be a problem 301 # from time to time): 302 use_system_libwayland = true; 303 - } // optionalAttrs proprietaryCodecs { 304 # enable support for the H.264 codec 305 proprietary_codecs = true; 306 enable_hangout_services_extension = true; 307 ffmpeg_branding = "Chrome"; 308 - } // optionalAttrs pulseSupport { 309 use_pulseaudio = true; 310 link_pulseaudio = true; 311 - } // optionalAttrs ungoogled (importTOML ./ungoogled-flags.toml) 312 // (extraAttrs.gnFlags or {})); 313 314 configurePhase = '' ··· 317 # This is to ensure expansion of $out. 318 libExecPath="${libExecPath}" 319 ${python3}/bin/python3 build/linux/unbundle/replace_gn_files.py --system-libraries ${toString gnSystemLibraries} 320 - ${gnChromium}/bin/gn gen --args=${escapeShellArg gnFlags} out/Release | tee gn-gen-outputs.txt 321 322 # Fail if `gn gen` contains a WARNING. 323 grep -o WARNING gn-gen-outputs.txt && echo "Found gn WARNING, exiting nix build" && exit 1 ··· 342 ''; 343 targets = extraAttrs.buildTargets or []; 344 commands = map buildCommand targets; 345 - in concatStringsSep "\n" commands; 346 347 postFixup = '' 348 # Make sure that libGLESv2 is found by dlopen (if using EGL).
··· 51 52 buildFun: 53 54 let 55 python3WithPackages = python3.withPackages(ps: with ps; [ 56 ply jinja2 setuptools ··· 73 let 74 # Serialize Nix types into GN types according to this document: 75 # https://source.chromium.org/gn/gn/+/master:docs/language.md 76 + mkGnString = value: "\"${lib.escape ["\"" "$" "\\"] value}\""; 77 sanitize = value: 78 if value == true then "true" 79 else if value == false then "false" 80 + else if lib.isList value then "[${lib.concatMapStringsSep ", " sanitize value}]" 81 + else if lib.isInt value then toString value 82 + else if lib.isString value then mkGnString value 83 else throw "Unsupported type for GN value `${value}'."; 84 toFlag = key: value: "${key}=${sanitize value}"; 85 + in attrs: lib.concatStringsSep " " (lib.attrValues (lib.mapAttrs toFlag attrs)); 86 87 # https://source.chromium.org/chromium/chromium/src/+/master:build/linux/unbundle/replace_gn_files.py 88 gnSystemLibraries = [ ··· 149 libdrm wayland mesa.drivers libxkbcommon 150 curl 151 libepoxy 152 + ] ++ lib.optional systemdSupport systemd 153 + ++ lib.optionals cupsSupport [ libgcrypt cups ] 154 + ++ lib.optional pulseSupport libpulseaudio; 155 156 patches = [ 157 # Optional patch to use SOURCE_DATE_EPOCH in compute_build_timestamp.py (should be upstreamed): ··· 235 # Allow building against system libraries in official builds 236 sed -i 's/OFFICIAL_BUILD/GOOGLE_CHROME_BUILD/' tools/generate_shim_headers/generate_shim_headers.py 237 238 + '' + lib.optionalString stdenv.isAarch64 '' 239 substituteInPlace build/toolchain/linux/BUILD.gn \ 240 --replace 'toolprefix = "aarch64-linux-gnu-"' 'toolprefix = ""' 241 + '' + lib.optionalString ungoogled '' 242 ${ungoogler}/utils/prune_binaries.py . ${ungoogler}/pruning.list || echo "some errors" 243 ${ungoogler}/utils/patches.py . ${ungoogler}/patches 244 ${ungoogler}/utils/domain_substitution.py apply -r ${ungoogler}/domain_regex.list -f ${ungoogler}/domain_substitution.list -c ./ungoogled-domsubcache.tar.gz . ··· 298 # as well to avoid incompatibilities (if this continues to be a problem 299 # from time to time): 300 use_system_libwayland = true; 301 + } // lib.optionalAttrs proprietaryCodecs { 302 # enable support for the H.264 codec 303 proprietary_codecs = true; 304 enable_hangout_services_extension = true; 305 ffmpeg_branding = "Chrome"; 306 + } // lib.optionalAttrs pulseSupport { 307 use_pulseaudio = true; 308 link_pulseaudio = true; 309 + } // lib.optionalAttrs ungoogled (lib.importTOML ./ungoogled-flags.toml) 310 // (extraAttrs.gnFlags or {})); 311 312 configurePhase = '' ··· 315 # This is to ensure expansion of $out. 316 libExecPath="${libExecPath}" 317 ${python3}/bin/python3 build/linux/unbundle/replace_gn_files.py --system-libraries ${toString gnSystemLibraries} 318 + ${gnChromium}/bin/gn gen --args=${lib.escapeShellArg gnFlags} out/Release | tee gn-gen-outputs.txt 319 320 # Fail if `gn gen` contains a WARNING. 321 grep -o WARNING gn-gen-outputs.txt && echo "Found gn WARNING, exiting nix build" && exit 1 ··· 340 ''; 341 targets = extraAttrs.buildTargets or []; 342 commands = map buildCommand targets; 343 + in lib.concatStringsSep "\n" commands; 344 345 postFixup = '' 346 # Make sure that libGLESv2 is found by dlopen (if using EGL).
+6 -8
pkgs/applications/networking/browsers/google-chrome/default.nix
··· 47 , addOpenGLRunpath 48 }: 49 50 - with lib; 51 - 52 let 53 opusWithCustomModes = libopus.override { 54 withCustomModes = true; ··· 68 bzip2 libcap at-spi2-atk at-spi2-core 69 libkrb5 libdrm libglvnd mesa coreutils 70 libxkbcommon pipewire wayland 71 - ] ++ optional pulseSupport libpulseaudio 72 - ++ optional libvaSupport libva 73 ++ [ gtk3 ]; 74 75 suffix = if channel != "stable" then "-" + channel else ""; ··· 99 tar xf data.tar.xz 100 ''; 101 102 - rpath = makeLibraryPath deps + ":" + makeSearchPathOutput "lib" "lib64" deps; 103 - binpath = makeBinPath deps; 104 105 installPhase = '' 106 runHook preInstall ··· 149 --prefix XDG_DATA_DIRS : "$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH:${addOpenGLRunpath.driverLink}/share" \ 150 --set CHROME_WRAPPER "google-chrome-$dist" \ 151 --add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}" \ 152 - --add-flags ${escapeShellArg commandLineArgs} 153 154 for elf in $out/share/google/$appname/{chrome,chrome-sandbox,${crashpadHandlerBinary},nacl_helper}; do 155 patchelf --set-rpath $rpath $elf ··· 159 runHook postInstall 160 ''; 161 162 - meta = { 163 description = "A freeware web browser developed by Google"; 164 homepage = "https://www.google.com/chrome/browser/"; 165 license = licenses.unfree;
··· 47 , addOpenGLRunpath 48 }: 49 50 let 51 opusWithCustomModes = libopus.override { 52 withCustomModes = true; ··· 66 bzip2 libcap at-spi2-atk at-spi2-core 67 libkrb5 libdrm libglvnd mesa coreutils 68 libxkbcommon pipewire wayland 69 + ] ++ lib.optional pulseSupport libpulseaudio 70 + ++ lib.optional libvaSupport libva 71 ++ [ gtk3 ]; 72 73 suffix = if channel != "stable" then "-" + channel else ""; ··· 97 tar xf data.tar.xz 98 ''; 99 100 + rpath = lib.makeLibraryPath deps + ":" + lib.makeSearchPathOutput "lib" "lib64" deps; 101 + binpath = lib.makeBinPath deps; 102 103 installPhase = '' 104 runHook preInstall ··· 147 --prefix XDG_DATA_DIRS : "$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH:${addOpenGLRunpath.driverLink}/share" \ 148 --set CHROME_WRAPPER "google-chrome-$dist" \ 149 --add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}" \ 150 + --add-flags ${lib.escapeShellArg commandLineArgs} 151 152 for elf in $out/share/google/$appname/{chrome,chrome-sandbox,${crashpadHandlerBinary},nacl_helper}; do 153 patchelf --set-rpath $rpath $elf ··· 157 runHook postInstall 158 ''; 159 160 + meta = with lib; { 161 description = "A freeware web browser developed by Google"; 162 homepage = "https://www.google.com/chrome/browser/"; 163 license = licenses.unfree;
+11 -13
pkgs/applications/networking/browsers/tor-browser-bundle-bin/default.nix
··· 53 , extraPrefs ? "" 54 }: 55 56 - with lib; 57 - 58 let 59 - libPath = makeLibraryPath libPkgs; 60 61 libPkgs = [ 62 atk ··· 78 stdenv.cc.libc 79 zlib 80 ] 81 - ++ optionals pulseaudioSupport [ libpulseaudio ] 82 - ++ optionals mediaSupport [ 83 ffmpeg 84 ]; 85 86 # Library search path for the fte transport 87 - fteLibPath = makeLibraryPath [ stdenv.cc.cc gmp ]; 88 89 # Upstream source 90 version = "11.5.8"; ··· 156 libPath=${libPath}:$TBB_IN_STORE:$TBB_IN_STORE/TorBrowser/Tor 157 158 # apulse uses a non-standard library path. For now special-case it. 159 - ${optionalString (audioSupport && !pulseaudioSupport) '' 160 libPath=${apulse}/lib/apulse:$libPath 161 ''} 162 ··· 224 clearPref("security.sandbox.content.write_path_whitelist"); 225 ''} 226 227 - ${optionalString (extraPrefs != "") '' 228 ${extraPrefs} 229 ''} 230 EOF ··· 251 GeoIPv6File $TBB_IN_STORE/TorBrowser/Data/Tor/geoip6 252 EOF 253 254 - WRAPPER_LD_PRELOAD=${optionalString useHardenedMalloc 255 "${graphene-hardened-malloc}/lib/libhardened_malloc.so"} 256 257 - WRAPPER_XDG_DATA_DIRS=${concatMapStringsSep ":" (x: "${x}/share") [ 258 gnome.adwaita-icon-theme 259 shared-mime-info 260 ]} 261 - WRAPPER_XDG_DATA_DIRS+=":"${concatMapStringsSep ":" (x: "${x}/share/gsettings-schemas/${x.name}") [ 262 glib 263 gsettings-desktop-schemas 264 gtk3 ··· 270 #! ${runtimeShell} 271 set -o errexit -o nounset 272 273 - PATH=${makeBinPath [ coreutils ]} 274 export LC_ALL=C 275 export LOCALE_ARCHIVE=${glibcLocales}/lib/locale/locale-archive 276 ··· 317 : "\''${XDG_RUNTIME_DIR:=/run/user/\$(id -u)}" 318 : "\''${XDG_CONFIG_HOME:=\$REAL_HOME/.config}" 319 320 - ${optionalString pulseaudioSupport '' 321 # Figure out some envvars for pulseaudio 322 : "\''${PULSE_SERVER:=\$XDG_RUNTIME_DIR/pulse/native}" 323 : "\''${PULSE_COOKIE:=\$XDG_CONFIG_HOME/pulse/cookie}"
··· 53 , extraPrefs ? "" 54 }: 55 56 let 57 + libPath = lib.makeLibraryPath libPkgs; 58 59 libPkgs = [ 60 atk ··· 76 stdenv.cc.libc 77 zlib 78 ] 79 + ++ lib.optionals pulseaudioSupport [ libpulseaudio ] 80 + ++ lib.optionals mediaSupport [ 81 ffmpeg 82 ]; 83 84 # Library search path for the fte transport 85 + fteLibPath = lib.makeLibraryPath [ stdenv.cc.cc gmp ]; 86 87 # Upstream source 88 version = "11.5.8"; ··· 154 libPath=${libPath}:$TBB_IN_STORE:$TBB_IN_STORE/TorBrowser/Tor 155 156 # apulse uses a non-standard library path. For now special-case it. 157 + ${lib.optionalString (audioSupport && !pulseaudioSupport) '' 158 libPath=${apulse}/lib/apulse:$libPath 159 ''} 160 ··· 222 clearPref("security.sandbox.content.write_path_whitelist"); 223 ''} 224 225 + ${lib.optionalString (extraPrefs != "") '' 226 ${extraPrefs} 227 ''} 228 EOF ··· 249 GeoIPv6File $TBB_IN_STORE/TorBrowser/Data/Tor/geoip6 250 EOF 251 252 + WRAPPER_LD_PRELOAD=${lib.optionalString useHardenedMalloc 253 "${graphene-hardened-malloc}/lib/libhardened_malloc.so"} 254 255 + WRAPPER_XDG_DATA_DIRS=${lib.concatMapStringsSep ":" (x: "${x}/share") [ 256 gnome.adwaita-icon-theme 257 shared-mime-info 258 ]} 259 + WRAPPER_XDG_DATA_DIRS+=":"${lib.concatMapStringsSep ":" (x: "${x}/share/gsettings-schemas/${x.name}") [ 260 glib 261 gsettings-desktop-schemas 262 gtk3 ··· 268 #! ${runtimeShell} 269 set -o errexit -o nounset 270 271 + PATH=${lib.makeBinPath [ coreutils ]} 272 export LC_ALL=C 273 export LOCALE_ARCHIVE=${glibcLocales}/lib/locale/locale-archive 274 ··· 315 : "\''${XDG_RUNTIME_DIR:=/run/user/\$(id -u)}" 316 : "\''${XDG_CONFIG_HOME:=\$REAL_HOME/.config}" 317 318 + ${lib.optionalString pulseaudioSupport '' 319 # Figure out some envvars for pulseaudio 320 : "\''${PULSE_SERVER:=\$XDG_RUNTIME_DIR/pulse/native}" 321 : "\''${PULSE_COOKIE:=\$XDG_CONFIG_HOME/pulse/cookie}"
+1 -3
pkgs/applications/networking/cluster/k3s/default.nix
··· 25 , pkgsBuildBuild 26 }: 27 28 - with lib; 29 - 30 # k3s is a kinda weird derivation. One of the main points of k3s is the 31 # simplicity of it being one binary that can perform several tasks. 32 # However, when you have a good package manager (like nix), that doesn't ··· 73 # run `grep github.com/kubernetes-sigs/cri-tools go.mod | head -n1 | awk '{print $4}'` in the k3s repo at the tag 74 criCtlVersion = "1.26.0-rc.0-k3s1"; 75 76 - baseMeta = { 77 description = "A lightweight Kubernetes distribution"; 78 license = licenses.asl20; 79 homepage = "https://k3s.io";
··· 25 , pkgsBuildBuild 26 }: 27 28 # k3s is a kinda weird derivation. One of the main points of k3s is the 29 # simplicity of it being one binary that can perform several tasks. 30 # However, when you have a good package manager (like nix), that doesn't ··· 71 # run `grep github.com/kubernetes-sigs/cri-tools go.mod | head -n1 | awk '{print $4}'` in the k3s repo at the tag 72 criCtlVersion = "1.26.0-rc.0-k3s1"; 73 74 + baseMeta = with lib; { 75 description = "A lightweight Kubernetes distribution"; 76 license = licenses.asl20; 77 homepage = "https://k3s.io";
+5 -7
pkgs/applications/networking/cluster/spark/default.nix
··· 12 , R 13 }: 14 15 - with lib; 16 - 17 let 18 spark = { pname, version, sha256, extraMeta ? {} }: 19 stdenv.mkDerivation rec { ··· 26 nativeBuildInputs = [ makeWrapper ]; 27 buildInputs = [ jdk python3Packages.python ] 28 ++ extraPythonPackages 29 - ++ optional RSupport R; 30 31 untarDir = "${pname}-${version}"; 32 installPhase = '' ··· 38 cat > $out/lib/${untarDir}/conf/spark-env.sh <<- EOF 39 export JAVA_HOME="${jdk}" 40 export SPARK_HOME="$out/lib/${untarDir}" 41 - '' + optionalString hadoopSupport '' 42 export SPARK_DIST_CLASSPATH=$(${hadoop}/bin/hadoop classpath) 43 '' + '' 44 export PYSPARK_PYTHON="${python3Packages.python}/bin/${python3Packages.python.executable}" 45 export PYTHONPATH="\$PYTHONPATH:$PYTHONPATH" 46 - ${optionalString RSupport '' 47 export SPARKR_R_SHELL="${R}/bin/R" 48 export PATH="\$PATH:${R}/bin"''} 49 EOF ··· 64 meta = { 65 description = "Apache Spark is a fast and general engine for large-scale data processing"; 66 homepage = "https://spark.apache.org/"; 67 - sourceProvenance = with sourceTypes; [ binaryBytecode ]; 68 license = lib.licenses.asl20; 69 platforms = lib.platforms.all; 70 - maintainers = with maintainers; [ thoughtpolice offline kamilchm illustris ]; 71 } // extraMeta; 72 }; 73 in
··· 12 , R 13 }: 14 15 let 16 spark = { pname, version, sha256, extraMeta ? {} }: 17 stdenv.mkDerivation rec { ··· 24 nativeBuildInputs = [ makeWrapper ]; 25 buildInputs = [ jdk python3Packages.python ] 26 ++ extraPythonPackages 27 + ++ lib.optional RSupport R; 28 29 untarDir = "${pname}-${version}"; 30 installPhase = '' ··· 36 cat > $out/lib/${untarDir}/conf/spark-env.sh <<- EOF 37 export JAVA_HOME="${jdk}" 38 export SPARK_HOME="$out/lib/${untarDir}" 39 + '' + lib.optionalString hadoopSupport '' 40 export SPARK_DIST_CLASSPATH=$(${hadoop}/bin/hadoop classpath) 41 '' + '' 42 export PYSPARK_PYTHON="${python3Packages.python}/bin/${python3Packages.python.executable}" 43 export PYTHONPATH="\$PYTHONPATH:$PYTHONPATH" 44 + ${lib.optionalString RSupport '' 45 export SPARKR_R_SHELL="${R}/bin/R" 46 export PATH="\$PATH:${R}/bin"''} 47 EOF ··· 62 meta = { 63 description = "Apache Spark is a fast and general engine for large-scale data processing"; 64 homepage = "https://spark.apache.org/"; 65 + sourceProvenance = with lib.sourceTypes; [ binaryBytecode ]; 66 license = lib.licenses.asl20; 67 platforms = lib.platforms.all; 68 + maintainers = with lib.maintainers; [ thoughtpolice offline kamilchm illustris ]; 69 } // extraMeta; 70 }; 71 in
+1 -3
pkgs/applications/networking/droopy/default.nix
··· 1 { stdenv, lib, fetchFromGitHub, wrapPython, fetchpatch }: 2 3 - with lib; 4 - 5 stdenv.mkDerivation { 6 pname = "droopy"; 7 version = "20160830"; ··· 32 wrapPythonPrograms 33 ''; 34 35 - meta = { 36 description = "Mini Web server that let others upload files to your computer"; 37 homepage = "http://stackp.online.fr/droopy"; 38 license = licenses.bsd3;
··· 1 { stdenv, lib, fetchFromGitHub, wrapPython, fetchpatch }: 2 3 stdenv.mkDerivation { 4 pname = "droopy"; 5 version = "20160830"; ··· 30 wrapPythonPrograms 31 ''; 32 33 + meta = with lib; { 34 description = "Mini Web server that let others upload files to your computer"; 35 homepage = "http://stackp.online.fr/droopy"; 36 license = licenses.bsd3;
+1 -2
pkgs/applications/networking/instant-messengers/bitlbee-discord/default.nix
··· 1 { lib, fetchFromGitHub, stdenv, bitlbee, autoreconfHook, pkg-config, glib }: 2 3 - with lib; 4 stdenv.mkDerivation rec { 5 pname = "bitlbee-discord"; 6 version = "0.4.3"; ··· 21 ./autogen.sh 22 ''; 23 24 - meta = { 25 description = "Bitlbee plugin for Discord"; 26 27 homepage = "https://github.com/sm00th/bitlbee-discord";
··· 1 { lib, fetchFromGitHub, stdenv, bitlbee, autoreconfHook, pkg-config, glib }: 2 3 stdenv.mkDerivation rec { 4 pname = "bitlbee-discord"; 5 version = "0.4.3"; ··· 20 ./autogen.sh 21 ''; 22 23 + meta = with lib; { 24 description = "Bitlbee plugin for Discord"; 25 26 homepage = "https://github.com/sm00th/bitlbee-discord";
+1 -2
pkgs/applications/networking/instant-messengers/bitlbee-mastodon/default.nix
··· 1 { lib, fetchgit, stdenv, bitlbee, autoreconfHook, pkg-config, glib }: 2 3 - with lib; 4 stdenv.mkDerivation rec { 5 pname = "bitlbee-mastodon"; 6 version = "1.4.5"; ··· 19 export BITLBEE_DATADIR=$out/share/bitlbee 20 ''; 21 22 - meta = { 23 description = "Bitlbee plugin for Mastodon"; 24 homepage = "https://alexschroeder.ch/cgit/bitlbee-mastodon/about"; 25 license = licenses.gpl2Plus;
··· 1 { lib, fetchgit, stdenv, bitlbee, autoreconfHook, pkg-config, glib }: 2 3 stdenv.mkDerivation rec { 4 pname = "bitlbee-mastodon"; 5 version = "1.4.5"; ··· 18 export BITLBEE_DATADIR=$out/share/bitlbee 19 ''; 20 21 + meta = with lib; { 22 description = "Bitlbee plugin for Mastodon"; 23 homepage = "https://alexschroeder.ch/cgit/bitlbee-mastodon/about"; 24 license = licenses.gpl2Plus;
+1 -2
pkgs/applications/networking/instant-messengers/bitlbee-steam/default.nix
··· 1 { lib, fetchFromGitHub, stdenv, bitlbee, autoconf, automake, libtool, pkg-config, libgcrypt }: 2 3 - with lib; 4 stdenv.mkDerivation rec { 5 version = "1.4.2"; 6 pname = "bitlbee-steam"; ··· 20 ./autogen.sh 21 ''; 22 23 - meta = { 24 description = "Steam protocol plugin for BitlBee"; 25 26 homepage = "https://github.com/jgeboski/bitlbee-steam";
··· 1 { lib, fetchFromGitHub, stdenv, bitlbee, autoconf, automake, libtool, pkg-config, libgcrypt }: 2 3 stdenv.mkDerivation rec { 4 version = "1.4.2"; 5 pname = "bitlbee-steam"; ··· 19 ./autogen.sh 20 ''; 21 22 + meta = with lib; { 23 description = "Steam protocol plugin for BitlBee"; 24 25 homepage = "https://github.com/jgeboski/bitlbee-steam";
+6 -7
pkgs/applications/networking/instant-messengers/bitlbee/default.nix
··· 3 , enablePam ? false, pam ? null 4 }: 5 6 - with lib; 7 stdenv.mkDerivation rec { 8 pname = "bitlbee"; 9 version = "3.6"; ··· 13 sha256 = "0zhhcbcr59sx9h4maf8zamzv2waya7sbsl7w74gbyilvy93dw5cz"; 14 }; 15 16 - nativeBuildInputs = [ pkg-config ] ++ optional doCheck check; 17 18 buildInputs = [ gnutls libotr python3 ] 19 - ++ optional enableLibPurple pidgin 20 - ++ optional enablePam pam; 21 22 propagatedBuildInputs = [ glib ]; 23 ··· 25 "--otr=1" 26 "--ssl=gnutls" 27 "--pidfile=/var/lib/bitlbee/bitlbee.pid" 28 - ] ++ optional enableLibPurple "--purple=1" 29 - ++ optional enablePam "--pam=1"; 30 31 patches = [ 32 # This should be dropped once the issue is fixed upstream. ··· 46 47 enableParallelBuilding = true; 48 49 - meta = { 50 description = "IRC instant messaging gateway"; 51 52 longDescription = ''
··· 3 , enablePam ? false, pam ? null 4 }: 5 6 stdenv.mkDerivation rec { 7 pname = "bitlbee"; 8 version = "3.6"; ··· 12 sha256 = "0zhhcbcr59sx9h4maf8zamzv2waya7sbsl7w74gbyilvy93dw5cz"; 13 }; 14 15 + nativeBuildInputs = [ pkg-config ] ++ lib.optional doCheck check; 16 17 buildInputs = [ gnutls libotr python3 ] 18 + ++ lib.optional enableLibPurple pidgin 19 + ++ lib.optional enablePam pam; 20 21 propagatedBuildInputs = [ glib ]; 22 ··· 24 "--otr=1" 25 "--ssl=gnutls" 26 "--pidfile=/var/lib/bitlbee/bitlbee.pid" 27 + ] ++ lib.optional enableLibPurple "--purple=1" 28 + ++ lib.optional enablePam "--pam=1"; 29 30 patches = [ 31 # This should be dropped once the issue is fixed upstream. ··· 45 46 enableParallelBuilding = true; 47 48 + meta = with lib; { 49 description = "IRC instant messaging gateway"; 50 51 longDescription = ''
-2
pkgs/applications/networking/instant-messengers/bitlbee/plugins.nix
··· 1 { lib, runCommandLocal, bitlbee }: 2 3 - with lib; 4 - 5 plugins: runCommandLocal "bitlbee-plugins" { 6 inherit plugins; 7 buildInputs = [ bitlbee plugins ];
··· 1 { lib, runCommandLocal, bitlbee }: 2 3 plugins: runCommandLocal "bitlbee-plugins" { 4 inherit plugins; 5 buildInputs = [ bitlbee plugins ];
+3 -5
pkgs/applications/networking/instant-messengers/ratox/default.nix
··· 1 { lib, stdenv, fetchgit, libtoxcore 2 , conf ? null }: 3 4 - with lib; 5 - 6 let 7 - configFile = optionalString (conf!=null) (builtins.toFile "config.h" conf); 8 9 in stdenv.mkDerivation { 10 pname = "ratox"; ··· 22 substituteInPlace config.mk \ 23 --replace '-lsodium -lopus -lvpx ' "" 24 25 - ${optionalString (conf!=null) "cp ${configFile} config.def.h"} 26 ''; 27 28 makeFlags = [ "PREFIX=$(out)" ]; 29 30 - meta = { 31 description = "FIFO based tox client"; 32 homepage = "http://ratox.2f30.org/"; 33 license = licenses.isc;
··· 1 { lib, stdenv, fetchgit, libtoxcore 2 , conf ? null }: 3 4 let 5 + configFile = lib.optionalString (conf!=null) (builtins.toFile "config.h" conf); 6 7 in stdenv.mkDerivation { 8 pname = "ratox"; ··· 20 substituteInPlace config.mk \ 21 --replace '-lsodium -lopus -lvpx ' "" 22 23 + ${lib.optionalString (conf!=null) "cp ${configFile} config.def.h"} 24 ''; 25 26 makeFlags = [ "PREFIX=$(out)" ]; 27 28 + meta = with lib; { 29 description = "FIFO based tox client"; 30 homepage = "http://ratox.2f30.org/"; 31 license = licenses.isc;
+7 -9
pkgs/applications/networking/instant-messengers/telegram/kotatogram-desktop/default.nix
··· 65 , MetalKit 66 }: 67 68 - with lib; 69 - 70 let 71 tg_owt = callPackage ./tg_owt.nix { 72 abseil-cpp = abseil-cpp.override { ··· 99 ./shortcuts-binary-path.patch 100 ]; 101 102 - postPatch = optionalString stdenv.isLinux '' 103 substituteInPlace Telegram/ThirdParty/libtgvoip/os/linux/AudioInputALSA.cpp \ 104 --replace '"libasound.so.2"' '"${alsa-lib}/lib/libasound.so.2"' 105 substituteInPlace Telegram/ThirdParty/libtgvoip/os/linux/AudioOutputALSA.cpp \ 106 --replace '"libasound.so.2"' '"${alsa-lib}/lib/libasound.so.2"' 107 substituteInPlace Telegram/ThirdParty/libtgvoip/os/linux/AudioPulse.cpp \ 108 --replace '"libpulse.so.0"' '"${libpulseaudio}/lib/libpulse.so.0"' 109 - '' + optionalString stdenv.isDarwin '' 110 sed -i "13i#import <CoreAudio/CoreAudio.h>" Telegram/lib_webrtc/webrtc/mac/webrtc_media_devices_mac.mm 111 substituteInPlace Telegram/CMakeLists.txt \ 112 --replace 'COMMAND iconutil' 'COMMAND png2icns' \ ··· 122 python3 123 wrapQtAppsHook 124 removeReferencesTo 125 - ] ++ optionals stdenv.isLinux [ 126 # to build bundled libdispatch 127 clang 128 extra-cmake-modules ··· 143 rnnoise 144 tg_owt 145 microsoft_gsl 146 - ] ++ optionals stdenv.isLinux [ 147 kwayland 148 alsa-lib 149 libpulseaudio ··· 151 glibmm 152 jemalloc 153 wayland 154 - ] ++ optionals stdenv.isDarwin [ 155 Cocoa 156 CoreFoundation 157 CoreServices ··· 192 "-DDESKTOP_APP_QT6=OFF" 193 ]; 194 195 - installPhase = optionalString stdenv.isDarwin '' 196 mkdir -p $out/Applications 197 cp -r Kotatogram.app $out/Applications 198 ln -s $out/Applications/Kotatogram.app/Contents/MacOS $out/bin ··· 209 inherit tg_owt; 210 }; 211 212 - meta = { 213 description = "Kotatogram – experimental Telegram Desktop fork"; 214 longDescription = '' 215 Unofficial desktop client for the Telegram messenger, based on Telegram Desktop.
··· 65 , MetalKit 66 }: 67 68 let 69 tg_owt = callPackage ./tg_owt.nix { 70 abseil-cpp = abseil-cpp.override { ··· 97 ./shortcuts-binary-path.patch 98 ]; 99 100 + postPatch = lib.optionalString stdenv.isLinux '' 101 substituteInPlace Telegram/ThirdParty/libtgvoip/os/linux/AudioInputALSA.cpp \ 102 --replace '"libasound.so.2"' '"${alsa-lib}/lib/libasound.so.2"' 103 substituteInPlace Telegram/ThirdParty/libtgvoip/os/linux/AudioOutputALSA.cpp \ 104 --replace '"libasound.so.2"' '"${alsa-lib}/lib/libasound.so.2"' 105 substituteInPlace Telegram/ThirdParty/libtgvoip/os/linux/AudioPulse.cpp \ 106 --replace '"libpulse.so.0"' '"${libpulseaudio}/lib/libpulse.so.0"' 107 + '' + lib.optionalString stdenv.isDarwin '' 108 sed -i "13i#import <CoreAudio/CoreAudio.h>" Telegram/lib_webrtc/webrtc/mac/webrtc_media_devices_mac.mm 109 substituteInPlace Telegram/CMakeLists.txt \ 110 --replace 'COMMAND iconutil' 'COMMAND png2icns' \ ··· 120 python3 121 wrapQtAppsHook 122 removeReferencesTo 123 + ] ++ lib.optionals stdenv.isLinux [ 124 # to build bundled libdispatch 125 clang 126 extra-cmake-modules ··· 141 rnnoise 142 tg_owt 143 microsoft_gsl 144 + ] ++ lib.optionals stdenv.isLinux [ 145 kwayland 146 alsa-lib 147 libpulseaudio ··· 149 glibmm 150 jemalloc 151 wayland 152 + ] ++ lib.optionals stdenv.isDarwin [ 153 Cocoa 154 CoreFoundation 155 CoreServices ··· 190 "-DDESKTOP_APP_QT6=OFF" 191 ]; 192 193 + installPhase = lib.optionalString stdenv.isDarwin '' 194 mkdir -p $out/Applications 195 cp -r Kotatogram.app $out/Applications 196 ln -s $out/Applications/Kotatogram.app/Contents/MacOS $out/bin ··· 207 inherit tg_owt; 208 }; 209 210 + meta = with lib; { 211 description = "Kotatogram – experimental Telegram Desktop fork"; 212 longDescription = '' 213 Unofficial desktop client for the Telegram messenger, based on Telegram Desktop.
+2 -4
pkgs/applications/networking/instant-messengers/telegram/kotatogram-desktop/with-webkit.nix
··· 1 { stdenv, lib, kotatogram-desktop, glib-networking, webkitgtk, makeWrapper }: 2 3 - with lib; 4 - 5 stdenv.mkDerivation { 6 pname = "${kotatogram-desktop.pname}-with-webkit"; 7 version = kotatogram-desktop.version; ··· 15 mkdir -p $out/bin 16 makeWrapper ${kotatogram-desktop}/bin/kotatogram-desktop $out/bin/kotatogram-desktop \ 17 --prefix GIO_EXTRA_MODULES : ${glib-networking}/lib/gio/modules \ 18 - --prefix LD_LIBRARY_PATH : ${makeLibraryPath [ webkitgtk ]} 19 ''; 20 meta = kotatogram-desktop.meta // { 21 - platforms = platforms.linux; 22 }; 23 }
··· 1 { stdenv, lib, kotatogram-desktop, glib-networking, webkitgtk, makeWrapper }: 2 3 stdenv.mkDerivation { 4 pname = "${kotatogram-desktop.pname}-with-webkit"; 5 version = kotatogram-desktop.version; ··· 13 mkdir -p $out/bin 14 makeWrapper ${kotatogram-desktop}/bin/kotatogram-desktop $out/bin/kotatogram-desktop \ 15 --prefix GIO_EXTRA_MODULES : ${glib-networking}/lib/gio/modules \ 16 + --prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ webkitgtk ]} 17 ''; 18 meta = kotatogram-desktop.meta // { 19 + platforms = lib.platforms.linux; 20 }; 21 }
+2 -4
pkgs/applications/networking/instant-messengers/wavebox/default.nix
··· 3 , xorg 4 }: 5 6 - with lib; 7 - 8 let 9 bits = "x86_64"; 10 ··· 19 categories = [ "Network" ]; 20 }; 21 22 - tarball = "Wavebox_${replaceStrings ["."] ["_"] (toString version)}_linux_${bits}.tar.gz"; 23 24 in stdenv.mkDerivation { 25 pname = "wavebox"; ··· 40 alsa-lib gtk3 nss 41 ]; 42 43 - runtimeDependencies = [ (getLib udev) libnotify ]; 44 45 installPhase = '' 46 mkdir -p $out/bin $out/opt/wavebox
··· 3 , xorg 4 }: 5 6 let 7 bits = "x86_64"; 8 ··· 17 categories = [ "Network" ]; 18 }; 19 20 + tarball = "Wavebox_${lib.replaceStrings ["."] ["_"] (toString version)}_linux_${bits}.tar.gz"; 21 22 in stdenv.mkDerivation { 23 pname = "wavebox"; ··· 38 alsa-lib gtk3 nss 39 ]; 40 41 + runtimeDependencies = [ (lib.getLib udev) libnotify ]; 42 43 installPhase = '' 44 mkdir -p $out/bin $out/opt/wavebox
+3 -5
pkgs/applications/networking/irc/convos/default.nix
··· 2 , nixosTests 3 }: 4 5 - with lib; 6 - 7 perlPackages.buildPerlPackage rec { 8 pname = "convos"; 9 version = "7.02"; ··· 16 }; 17 18 nativeBuildInputs = [ makeWrapper ] 19 - ++ optionals stdenv.isDarwin [ shortenPerlShebang ]; 20 21 buildInputs = with perlPackages; [ 22 CryptPassphrase CryptPassphraseArgon2 CryptPassphraseBcrypt ··· 79 ln -s $AUTO_SHARE_PATH/public/asset $out/asset 80 cp -vR templates $out/templates 81 cp cpanfile $out/cpanfile 82 - '' + optionalString stdenv.isDarwin '' 83 shortenPerlShebang $out/bin/convos 84 '' + '' 85 wrapProgram $out/bin/convos --set MOJO_HOME $out ··· 91 homepage = "https://convos.chat"; 92 description = "Convos is the simplest way to use IRC in your browser"; 93 license = lib.licenses.artistic2; 94 - maintainers = with maintainers; [ sgo ]; 95 }; 96 }
··· 2 , nixosTests 3 }: 4 5 perlPackages.buildPerlPackage rec { 6 pname = "convos"; 7 version = "7.02"; ··· 14 }; 15 16 nativeBuildInputs = [ makeWrapper ] 17 + ++ lib.optionals stdenv.isDarwin [ shortenPerlShebang ]; 18 19 buildInputs = with perlPackages; [ 20 CryptPassphrase CryptPassphraseArgon2 CryptPassphraseBcrypt ··· 77 ln -s $AUTO_SHARE_PATH/public/asset $out/asset 78 cp -vR templates $out/templates 79 cp cpanfile $out/cpanfile 80 + '' + lib.optionalString stdenv.isDarwin '' 81 shortenPerlShebang $out/bin/convos 82 '' + '' 83 wrapProgram $out/bin/convos --set MOJO_HOME $out ··· 89 homepage = "https://convos.chat"; 90 description = "Convos is the simplest way to use IRC in your browser"; 91 license = lib.licenses.artistic2; 92 + maintainers = with lib.maintainers; [ sgo ]; 93 }; 94 }
+3 -5
pkgs/applications/networking/mailreaders/claws-mail/default.nix
··· 52 , enablePluginVcalendar ? true, libical 53 }: 54 55 - with lib; 56 - 57 let 58 pythonPkgs = with python3.pkgs; [ python3 wrapPython pygobject3 ]; 59 ··· 130 131 buildInputs = 132 [ curl gsettings-desktop-schemas glib-networking gtk3 ] 133 - ++ concatMap (f: optionals f.enabled f.deps) (filter (f: f ? deps) features) 134 ; 135 136 configureFlags = ··· 141 142 "--disable-gdata-plugin" # Complains about missing libgdata, even when provided 143 ] ++ 144 - (map (feature: map (flag: strings.enableFeature feature.enabled flag) feature.flags) features); 145 146 enableParallelBuilding = true; 147 ··· 155 cp claws-mail.desktop $out/share/applications 156 ''; 157 158 - meta = { 159 description = "The user-friendly, lightweight, and fast email client"; 160 homepage = "https://www.claws-mail.org/"; 161 license = licenses.gpl3Plus;
··· 52 , enablePluginVcalendar ? true, libical 53 }: 54 55 let 56 pythonPkgs = with python3.pkgs; [ python3 wrapPython pygobject3 ]; 57 ··· 128 129 buildInputs = 130 [ curl gsettings-desktop-schemas glib-networking gtk3 ] 131 + ++ lib.concatMap (f: lib.optionals f.enabled f.deps) (lib.filter (f: f ? deps) features) 132 ; 133 134 configureFlags = ··· 139 140 "--disable-gdata-plugin" # Complains about missing libgdata, even when provided 141 ] ++ 142 + (map (feature: map (flag: lib.strings.enableFeature feature.enabled flag) feature.flags) features); 143 144 enableParallelBuilding = true; 145 ··· 153 cp claws-mail.desktop $out/share/applications 154 ''; 155 156 + meta = with lib; { 157 description = "The user-friendly, lightweight, and fast email client"; 158 homepage = "https://www.claws-mail.org/"; 159 license = licenses.gpl3Plus;
+6 -8
pkgs/applications/networking/mailreaders/sylpheed/default.nix
··· 4 assert gpgSupport -> gpgme != null; 5 assert sslSupport -> openssl != null; 6 7 - with lib; 8 - 9 stdenv.mkDerivation rec { 10 pname = "sylpheed"; 11 version = "3.7.0"; ··· 33 nativeBuildInputs = [ pkg-config ]; 34 35 buildInputs = [ gtk2 ] 36 - ++ optionals gpgSupport [ gpgme ] 37 - ++ optionals sslSupport [ openssl ] 38 - ++ optionals stdenv.isDarwin [ Foundation ]; 39 40 - configureFlags = optional gpgSupport "--enable-gpgme" 41 - ++ optional sslSupport "--enable-ssl"; 42 43 # Undefined symbols for architecture arm64: "_OBJC_CLASS_$_NSAutoreleasePool" 44 NIX_LDFLAGS = lib.optionalString stdenv.isDarwin "-framework Foundation"; 45 46 - meta = { 47 homepage = "https://sylpheed.sraoss.jp/en/"; 48 description = "Lightweight and user-friendly e-mail client"; 49 maintainers = with maintainers; [ eelco ];
··· 4 assert gpgSupport -> gpgme != null; 5 assert sslSupport -> openssl != null; 6 7 stdenv.mkDerivation rec { 8 pname = "sylpheed"; 9 version = "3.7.0"; ··· 31 nativeBuildInputs = [ pkg-config ]; 32 33 buildInputs = [ gtk2 ] 34 + ++ lib.optionals gpgSupport [ gpgme ] 35 + ++ lib.optionals sslSupport [ openssl ] 36 + ++ lib.optionals stdenv.isDarwin [ Foundation ]; 37 38 + configureFlags = lib.optional gpgSupport "--enable-gpgme" 39 + ++ lib.optional sslSupport "--enable-ssl"; 40 41 # Undefined symbols for architecture arm64: "_OBJC_CLASS_$_NSAutoreleasePool" 42 NIX_LDFLAGS = lib.optionalString stdenv.isDarwin "-framework Foundation"; 43 44 + meta = with lib; { 45 homepage = "https://sylpheed.sraoss.jp/en/"; 46 description = "Lightweight and user-friendly e-mail client"; 47 maintainers = with maintainers; [ eelco ];
+7 -8
pkgs/applications/networking/p2p/qbittorrent/default.nix
··· 9 assert guiSupport -> (dbus != null); 10 assert trackerSearch -> (python3 != null); 11 12 - with lib; 13 mkDerivation rec { 14 pname = "qbittorrent"; 15 version = "4.4.5"; ··· 27 nativeBuildInputs = [ pkg-config ]; 28 29 buildInputs = [ boost libtorrent-rasterbar qtbase qttools qtsvg ] 30 - ++ optional guiSupport dbus # D(esktop)-Bus depends on GUI support 31 - ++ optional trackerSearch python3; 32 33 # Otherwise qm_gen.pri assumes lrelease-qt5, which does not exist. 34 QMAKE_LRELEASE = "lrelease"; ··· 36 configureFlags = [ 37 "--with-boost-libdir=${boost.out}/lib" 38 "--with-boost=${boost.dev}" ] 39 - ++ optionals (!guiSupport) [ "--disable-gui" "--enable-systemd" ] # Also place qbittorrent-nox systemd service files 40 - ++ optional (!webuiSupport) "--disable-webui" 41 - ++ optional debugSupport "--enable-debug"; 42 43 - qtWrapperArgs = optional trackerSearch "--prefix PATH : ${makeBinPath [ python3 ]}"; 44 45 postInstall = lib.optionalString stdenv.isDarwin '' 46 mkdir -p $out/{Applications,bin} ··· 48 makeWrapper $out/{Applications/qbittorrent.app/Contents/MacOS,bin}/qbittorrent 49 ''; 50 51 - meta = { 52 description = "Featureful free software BitTorrent client"; 53 homepage = "https://www.qbittorrent.org/"; 54 changelog = "https://github.com/qbittorrent/qBittorrent/blob/release-${version}/Changelog";
··· 9 assert guiSupport -> (dbus != null); 10 assert trackerSearch -> (python3 != null); 11 12 mkDerivation rec { 13 pname = "qbittorrent"; 14 version = "4.4.5"; ··· 26 nativeBuildInputs = [ pkg-config ]; 27 28 buildInputs = [ boost libtorrent-rasterbar qtbase qttools qtsvg ] 29 + ++ lib.optional guiSupport dbus # D(esktop)-Bus depends on GUI support 30 + ++ lib.optional trackerSearch python3; 31 32 # Otherwise qm_gen.pri assumes lrelease-qt5, which does not exist. 33 QMAKE_LRELEASE = "lrelease"; ··· 35 configureFlags = [ 36 "--with-boost-libdir=${boost.out}/lib" 37 "--with-boost=${boost.dev}" ] 38 + ++ lib.optionals (!guiSupport) [ "--disable-gui" "--enable-systemd" ] # Also place qbittorrent-nox systemd service files 39 + ++ lib.optional (!webuiSupport) "--disable-webui" 40 + ++ lib.optional debugSupport "--enable-debug"; 41 42 + qtWrapperArgs = lib.optional trackerSearch "--prefix PATH : ${lib.makeBinPath [ python3 ]}"; 43 44 postInstall = lib.optionalString stdenv.isDarwin '' 45 mkdir -p $out/{Applications,bin} ··· 47 makeWrapper $out/{Applications/qbittorrent.app/Contents/MacOS,bin}/qbittorrent 48 ''; 49 50 + meta = with lib; { 51 description = "Featureful free software BitTorrent client"; 52 homepage = "https://www.qbittorrent.org/"; 53 changelog = "https://github.com/qbittorrent/qBittorrent/blob/release-${version}/Changelog";
+6 -8
pkgs/applications/networking/sniffers/wireshark/default.nix
··· 8 9 assert withQt -> qt5 != null; 10 11 - with lib; 12 - 13 let 14 version = "4.0.2"; 15 variant = if withQt then "qt" else "cli"; ··· 39 NIX_CFLAGS_COMPILE = [ "-DQT_NO_DEBUG" ]; 40 41 nativeBuildInputs = [ asciidoctor bison cmake flex makeWrapper pkg-config python3 perl ] 42 - ++ optionals withQt [ qt5.wrapQtAppsHook wrapGAppsHook ]; 43 44 depsBuildBuild = [ buildPackages.stdenv.cc ]; 45 46 buildInputs = [ 47 gettext pcre2 libpcap lua5 libssh nghttp2 openssl libgcrypt 48 libgpg-error gnutls geoip c-ares glib zlib 49 - ] ++ optionals withQt (with qt5; [ qtbase qtmultimedia qtsvg qttools ]) 50 - ++ optionals stdenv.isLinux [ libcap libnl ] 51 - ++ optionals stdenv.isDarwin [ SystemConfiguration ApplicationServices gmp ] 52 - ++ optionals (withQt && stdenv.isDarwin) (with qt5; [ qtmacextras ]); 53 54 strictDeps = true; 55 ··· 72 install_name_tool -change "$dylib" "$out/lib/$dylib" "$f" 73 done 74 done 75 - '' else optionalString withQt '' 76 pwd 77 install -Dm644 -t $out/share/applications ../resources/freedesktop/org.wireshark.Wireshark.desktop 78
··· 8 9 assert withQt -> qt5 != null; 10 11 let 12 version = "4.0.2"; 13 variant = if withQt then "qt" else "cli"; ··· 37 NIX_CFLAGS_COMPILE = [ "-DQT_NO_DEBUG" ]; 38 39 nativeBuildInputs = [ asciidoctor bison cmake flex makeWrapper pkg-config python3 perl ] 40 + ++ lib.optionals withQt [ qt5.wrapQtAppsHook wrapGAppsHook ]; 41 42 depsBuildBuild = [ buildPackages.stdenv.cc ]; 43 44 buildInputs = [ 45 gettext pcre2 libpcap lua5 libssh nghttp2 openssl libgcrypt 46 libgpg-error gnutls geoip c-ares glib zlib 47 + ] ++ lib.optionals withQt (with qt5; [ qtbase qtmultimedia qtsvg qttools ]) 48 + ++ lib.optionals stdenv.isLinux [ libcap libnl ] 49 + ++ lib.optionals stdenv.isDarwin [ SystemConfiguration ApplicationServices gmp ] 50 + ++ lib.optionals (withQt && stdenv.isDarwin) (with qt5; [ qtmacextras ]); 51 52 strictDeps = true; 53 ··· 70 install_name_tool -change "$dylib" "$out/lib/$dylib" "$f" 71 done 72 done 73 + '' else lib.optionalString withQt '' 74 pwd 75 install -Dm644 -t $out/share/applications ../resources/freedesktop/org.wireshark.Wireshark.desktop 76
+8 -10
pkgs/applications/networking/znc/default.nix
··· 9 , withDebug ? false 10 }: 11 12 - with lib; 13 - 14 stdenv.mkDerivation rec { 15 pname = "znc"; 16 version = "1.8.2"; ··· 23 nativeBuildInputs = [ pkg-config ]; 24 25 buildInputs = [ openssl ] 26 - ++ optional withPerl perl 27 - ++ optional withPython python3 28 - ++ optional withTcl tcl 29 - ++ optional withCyrus cyrus_sasl 30 - ++ optional withUnicode icu 31 - ++ optional withZlib zlib; 32 33 configureFlags = [ 34 (lib.enableFeature withPerl "perl") ··· 36 (lib.enableFeature withTcl "tcl") 37 (lib.withFeatureAs withTcl "tcl" "${tcl}/lib") 38 (lib.enableFeature withCyrus "cyrus") 39 - ] ++ optionals (!withIPv6) [ "--disable-ipv6" ] 40 - ++ optionals withDebug [ "--enable-debug" ]; 41 42 enableParallelBuilding = true; 43
··· 9 , withDebug ? false 10 }: 11 12 stdenv.mkDerivation rec { 13 pname = "znc"; 14 version = "1.8.2"; ··· 21 nativeBuildInputs = [ pkg-config ]; 22 23 buildInputs = [ openssl ] 24 + ++ lib.optional withPerl perl 25 + ++ lib.optional withPython python3 26 + ++ lib.optional withTcl tcl 27 + ++ lib.optional withCyrus cyrus_sasl 28 + ++ lib.optional withUnicode icu 29 + ++ lib.optional withZlib zlib; 30 31 configureFlags = [ 32 (lib.enableFeature withPerl "perl") ··· 34 (lib.enableFeature withTcl "tcl") 35 (lib.withFeatureAs withTcl "tcl" "${tcl}/lib") 36 (lib.enableFeature withCyrus "cyrus") 37 + ] ++ lib.optionals (!withIPv6) [ "--disable-ipv6" ] 38 + ++ lib.optionals withDebug [ "--enable-debug" ]; 39 40 enableParallelBuilding = true; 41
+3 -3
pkgs/applications/science/misc/openmvg/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, pkg-config, cmake 2 , libjpeg ? null 3 , zlib ? null 4 , libpng ? null ··· 19 fetchSubmodules = true; 20 }; 21 22 - buildInputs = [ libjpeg zlib libpng eigen libtiff ]; 23 24 nativeBuildInputs = [ cmake pkg-config ]; 25 ··· 45 homepage = "https://openmvg.readthedocs.io/en/latest/"; 46 license = lib.licenses.mpl20; 47 platforms = lib.platforms.unix; 48 - maintainers = with lib.maintainers; [ mdaiter ]; 49 }; 50 }
··· 1 + { lib, stdenv, fetchFromGitHub, pkg-config, cmake, cereal, openmp 2 , libjpeg ? null 3 , zlib ? null 4 , libpng ? null ··· 19 fetchSubmodules = true; 20 }; 21 22 + buildInputs = [ libjpeg zlib libpng eigen libtiff cereal openmp ]; 23 24 nativeBuildInputs = [ cmake pkg-config ]; 25 ··· 45 homepage = "https://openmvg.readthedocs.io/en/latest/"; 46 license = lib.licenses.mpl20; 47 platforms = lib.platforms.unix; 48 + maintainers = with lib.maintainers; [ mdaiter bouk ]; 49 }; 50 }
+17 -12
pkgs/data/fonts/aileron/default.nix
··· 1 - { lib, fetchzip }: 2 3 let 4 majorVersion = "0"; 5 minorVersion = "102"; 6 pname = "aileron"; 7 - in 8 9 - fetchzip { 10 - name = "${pname}-font-${majorVersion}.${minorVersion}"; 11 12 - url = "http://dotcolon.net/DL/font/${pname}.zip"; 13 - sha256 = "04xnzdy9plzd2p02yq367h37m5ygx0w8cpkdv39cc3754ljlsxim"; 14 15 - postFetch = '' 16 - mkdir -p $out/share/fonts/opentype/${pname} 17 - unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype/${pname} 18 ''; 19 20 meta = with lib; { 21 - homepage = "http://dotcolon.net/font/${pname}/"; 22 description = "A helvetica font in nine weights"; 23 platforms = platforms.all; 24 - maintainers = with maintainers; [ leenaars ]; 25 license = licenses.cc0; 26 }; 27 - }
··· 1 + { lib, stdenvNoCC, fetchzip }: 2 3 let 4 majorVersion = "0"; 5 minorVersion = "102"; 6 + in 7 + stdenvNoCC.mkDerivation (self: { 8 pname = "aileron"; 9 + version = "${majorVersion}.${minorVersion}"; 10 + 11 + src = fetchzip { 12 + url = "https://dotcolon.net/download/fonts/${self.pname}_${majorVersion}${minorVersion}.zip"; 13 + hash = "sha256-Ht48gwJZrn0djo1yl6jHZ4+0b710FVwStiC1Zk5YXME="; 14 + stripRoot = false; 15 + }; 16 17 + installPhase = '' 18 + runHook preInstall 19 20 + install -D -m444 -t $out/share/fonts/opentype $src/*.otf 21 22 + runHook postInstall 23 ''; 24 25 meta = with lib; { 26 + homepage = "http://dotcolon.net/font/${self.pname}/"; 27 description = "A helvetica font in nine weights"; 28 platforms = platforms.all; 29 + maintainers = with maintainers; [ leenaars minijackson ]; 30 license = licenses.cc0; 31 }; 32 + })
+41 -20
pkgs/data/fonts/arphic/default.nix
··· 1 - { lib, fetchzip, mkfontscale, mkfontdir }: 2 3 let 4 version = "0.2.20080216.2"; 5 - in { 6 - arphic-ukai = fetchzip { 7 - name = "arphic-ukai-${version}"; 8 9 - url = "mirror://ubuntu/pool/main/f/fonts-arphic-ukai/fonts-arphic-ukai_${version}.orig.tar.bz2"; 10 11 - postFetch = '' 12 - tar -xjvf $downloadedFile --strip-components=1 13 install -D -v ukai.ttc $out/share/fonts/truetype/arphic-ukai.ttc 14 cd $out/share/fonts 15 - ${mkfontdir}/bin/mkfontdir 16 - ${mkfontscale}/bin/mkfontscale 17 ''; 18 19 - sha256 = "0xi5ycm7ydzpn7cqxv1kcj9vd70nr9wn8v27hmibyjc25y2qdmzl"; 20 - 21 meta = with lib; { 22 description = "CJK Unicode font Kai style"; 23 homepage = "https://www.freedesktop.org/wiki/Software/CJKUnifonts/"; ··· 28 }; 29 }; 30 31 - arphic-uming = fetchzip { 32 - name = "arphic-uming-${version}"; 33 34 - url = "mirror://ubuntu/pool/main/f/fonts-arphic-uming/fonts-arphic-uming_${version}.orig.tar.bz2"; 35 36 - postFetch = '' 37 - tar -xjvf $downloadedFile --strip-components=1 38 install -D -v uming.ttc $out/share/fonts/truetype/arphic-uming.ttc 39 cd $out/share/fonts 40 - ${mkfontdir}/bin/mkfontdir 41 - ${mkfontscale}/bin/mkfontscale 42 ''; 43 - 44 - sha256 = "16jybvj1cxamm682caj6nsm6l5c60x9mgchp1l2izrw2rvc8x38d"; 45 46 meta = with lib; { 47 description = "CJK Unicode font Ming style";
··· 1 + { lib, stdenvNoCC, fetchurl, mkfontdir, mkfontscale }: 2 3 let 4 version = "0.2.20080216.2"; 5 + in 6 + { 7 + arphic-ukai = stdenvNoCC.mkDerivation rec { 8 + pname = "arphic-ukai"; 9 + inherit version; 10 + 11 + src = fetchurl { 12 + url = "mirror://ubuntu/pool/main/f/fonts-${pname}/fonts-${pname}_${version}.orig.tar.bz2"; 13 + hash = "sha256-tJaNc1GfT4dH6FVI+4XSG2Zdob8bqQCnxJmXbmqK49I="; 14 + }; 15 + 16 + nativeBuildInputs = [ 17 + mkfontscale 18 + mkfontdir 19 + ]; 20 21 + installPhase = '' 22 + runHook preInstall 23 24 install -D -v ukai.ttc $out/share/fonts/truetype/arphic-ukai.ttc 25 cd $out/share/fonts 26 + mkfontdir 27 + mkfontscale 28 + 29 + runHook postInstall 30 ''; 31 32 meta = with lib; { 33 description = "CJK Unicode font Kai style"; 34 homepage = "https://www.freedesktop.org/wiki/Software/CJKUnifonts/"; ··· 39 }; 40 }; 41 42 + arphic-uming = stdenvNoCC.mkDerivation rec { 43 + pname = "arphic-uming"; 44 + inherit version; 45 46 + src = fetchurl { 47 + url = "mirror://ubuntu/pool/main/f/fonts-${pname}/fonts-${pname}_${version}.orig.tar.bz2"; 48 + hash = "sha256-48GeBOp6VltKz/bx5CSAhNLhB1LjBb991sdugIYNwds="; 49 + }; 50 51 + nativeBuildInputs = [ 52 + mkfontscale 53 + mkfontdir 54 + ]; 55 + 56 + installPhase = '' 57 + runHook preInstall 58 + 59 install -D -v uming.ttc $out/share/fonts/truetype/arphic-uming.ttc 60 cd $out/share/fonts 61 + mkfontdir 62 + mkfontscale 63 + 64 + runHook postInstall 65 ''; 66 67 meta = with lib; { 68 description = "CJK Unicode font Ming style";
+17 -9
pkgs/data/fonts/baekmuk-ttf/default.nix
··· 1 - { fetchzip }: 2 3 - fetchzip rec { 4 - name = "baekmuk-ttf-2.2"; 5 6 - url = "http://kldp.net/baekmuk/release/865-${name}.tar.gz"; 7 - postFetch = '' 8 - tar -xzvf $downloadedFile --strip-components=1 9 install -m444 -Dt $out/share/fonts ttf/*.ttf 10 - install -m444 -Dt $out/share/doc/${name} COPYRIGHT* 11 ''; 12 - sha256 = "1jgsvack1l14q8lbcv4qhgbswi30mf045k37rl772hzcmx0r206g"; 13 14 meta = { 15 description = "Korean font"; ··· 17 license = "BSD-like"; 18 }; 19 } 20 -
··· 1 + { lib, stdenvNoCC, fetchurl }: 2 3 + stdenvNoCC.mkDerivation rec { 4 + pname = "baekmuk-ttf"; 5 + version = "2.2"; 6 7 + src = fetchurl { 8 + url = "http://kldp.net/baekmuk/release/865-${pname}-${version}.tar.gz"; 9 + hash = "sha256-CKt9/7VdWIfMlCzjcPXjO3VqVfu06vC5DyRAcOjVGII="; 10 + }; 11 + 12 + dontBuild = true; 13 + 14 + installPhase = '' 15 + runHook preInstall 16 + 17 install -m444 -Dt $out/share/fonts ttf/*.ttf 18 + install -m444 -Dt $out/share/doc/${pname}-${version} COPYRIGHT* 19 + 20 + runHook postInstall 21 ''; 22 23 meta = { 24 description = "Korean font"; ··· 26 license = "BSD-like"; 27 }; 28 }
+16 -8
pkgs/data/fonts/bakoma-ttf/default.nix
··· 1 - { fetchzip }: 2 3 - fetchzip { 4 - name = "bakoma-ttf"; 5 6 - url = "http://tarballs.nixos.org/sha256/1j1y3cq6ys30m734axc0brdm2q9n2as4h32jws15r7w5fwr991km"; 7 8 - postFetch = '' 9 - tar xjvf $downloadedFile --strip-components=1 10 mkdir -p $out/share/fonts/truetype 11 cp ttf/*.ttf $out/share/fonts/truetype 12 - ''; 13 14 - sha256 = "0g7i723n00cqx2va05z1h6v3a2ar69gqw4hy6pjj7m0ml906rngc"; 15 16 meta = { 17 description = "TrueType versions of the Computer Modern and AMS TeX Fonts";
··· 1 + { lib, stdenvNoCC, fetchurl }: 2 3 + stdenvNoCC.mkDerivation rec { 4 + pname = "bakoma-ttf"; 5 + version = "2.2"; 6 7 + src = fetchurl { 8 + name = "${pname}.tar.bz2"; 9 + url = "http://tarballs.nixos.org/sha256/1j1y3cq6ys30m734axc0brdm2q9n2as4h32jws15r7w5fwr991km"; 10 + hash = "sha256-dYaUMneFn1yC5lIMSLQSNmFRW16AdUXGqWBobzAbPsg="; 11 + }; 12 13 + dontBuild = true; 14 + 15 + installPhase = '' 16 + runHook preInstall 17 + 18 mkdir -p $out/share/fonts/truetype 19 cp ttf/*.ttf $out/share/fonts/truetype 20 21 + runHook postInstall 22 + ''; 23 24 meta = { 25 description = "TrueType versions of the Computer Modern and AMS TeX Fonts";
+16 -9
pkgs/data/fonts/caladea/default.nix
··· 1 - { lib, fetchzip }: 2 3 - let 4 version = "20130214"; 5 - in fetchzip { 6 - name = "caladea-${version}"; 7 8 - url = "https://commondatastorage.googleapis.com/chromeos-localmirror/distfiles/crosextrafonts-${version}.tar.gz"; 9 - postFetch = '' 10 - tar -xzvf $downloadedFile --strip-components=1 11 mkdir -p $out/etc/fonts/conf.d 12 mkdir -p $out/share/fonts/truetype 13 cp -v *.ttf $out/share/fonts/truetype 14 cp -v ${./cambria-alias.conf} $out/etc/fonts/conf.d/30-cambria.conf 15 ''; 16 - sha256 = "0kwm42ggr8kvcn3554cpmv90xzam1sdncx7x3zs3bzp88mxrnv1z"; 17 18 meta = with lib; { 19 # This font doesn't appear to have any official web site but this ··· 27 ''; 28 license = licenses.asl20; 29 platforms = platforms.all; 30 - maintainers = [maintainers.rycee]; 31 32 # Reduce the priority of this package. The intent is that if you 33 # also install the `vista-fonts` package, then you probably will
··· 1 + { lib, stdenvNoCC, fetchurl }: 2 3 + stdenvNoCC.mkDerivation rec { 4 + pname = "caladea"; 5 version = "20130214"; 6 + 7 + src = fetchurl { 8 + url = "https://commondatastorage.googleapis.com/chromeos-localmirror/distfiles/crosextrafonts-${version}.tar.gz"; 9 + hash = "sha256-xI0cL9YTycBslZw02nuDiAWeJAjSuxmEXcPtNfduTQk="; 10 + }; 11 + 12 + dontBuild = true; 13 + 14 + installPhase = '' 15 + runHook preInstall 16 17 mkdir -p $out/etc/fonts/conf.d 18 mkdir -p $out/share/fonts/truetype 19 cp -v *.ttf $out/share/fonts/truetype 20 cp -v ${./cambria-alias.conf} $out/etc/fonts/conf.d/30-cambria.conf 21 + 22 + runHook postInstall 23 ''; 24 25 meta = with lib; { 26 # This font doesn't appear to have any official web site but this ··· 34 ''; 35 license = licenses.asl20; 36 platforms = platforms.all; 37 + maintainers = [ maintainers.rycee ]; 38 39 # Reduce the priority of this package. The intent is that if you 40 # also install the `vista-fonts` package, then you probably will
+5 -5
pkgs/data/fonts/carlito/default.nix
··· 1 - { lib, fetchzip, stdenvNoCC }: 2 3 stdenvNoCC.mkDerivation rec { 4 pname = "carlito"; 5 version = "20130920"; 6 7 - src = fetchzip { 8 url = "https://commondatastorage.googleapis.com/chromeos-localmirror/distfiles/crosextrafonts-carlito-${version}.tar.gz"; 9 - sha256 = "sha256-OGDO5WoF7OmiRdLRRrIXMzg276Pgeq1L3Offcl0W2jg="; 10 }; 11 12 installPhase = '' 13 mkdir -p $out/etc/fonts/conf.d 14 mkdir -p $out/share/fonts/truetype 15 - cp -v $src/*.ttf $out/share/fonts/truetype 16 cp -v ${./calibri-alias.conf} $out/etc/fonts/conf.d/30-calibri.conf 17 ''; 18 ··· 28 ''; 29 license = licenses.ofl; 30 platforms = platforms.all; 31 - maintainers = [maintainers.rycee]; 32 33 # Reduce the priority of this package. The intent is that if you 34 # also install the `vista-fonts` package, then you probably will
··· 1 + { lib, fetchurl, stdenvNoCC }: 2 3 stdenvNoCC.mkDerivation rec { 4 pname = "carlito"; 5 version = "20130920"; 6 7 + src = fetchurl { 8 url = "https://commondatastorage.googleapis.com/chromeos-localmirror/distfiles/crosextrafonts-carlito-${version}.tar.gz"; 9 + sha256 = "sha256-S9ErbLwyHBzxbaduLFhcklzpVqCAZ65vbGTv9sz9r1o="; 10 }; 11 12 installPhase = '' 13 mkdir -p $out/etc/fonts/conf.d 14 mkdir -p $out/share/fonts/truetype 15 + cp -v *.ttf $out/share/fonts/truetype 16 cp -v ${./calibri-alias.conf} $out/etc/fonts/conf.d/30-calibri.conf 17 ''; 18 ··· 28 ''; 29 license = licenses.ofl; 30 platforms = platforms.all; 31 + maintainers = [ maintainers.rycee ]; 32 33 # Reduce the priority of this package. The intent is that if you 34 # also install the `vista-fonts` package, then you probably will
+15 -10
pkgs/data/fonts/cm-unicode/default.nix
··· 1 - { lib, fetchzip }: 2 3 - let 4 version = "0.7.0"; 5 - in fetchzip rec { 6 - name = "cm-unicode-${version}"; 7 8 - url = "mirror://sourceforge/cm-unicode/cm-unicode/${version}/${name}-otf.tar.xz"; 9 10 - postFetch = '' 11 - tar -xJvf $downloadedFile --strip-components=1 12 install -m444 -Dt $out/share/fonts/opentype *.otf 13 - install -m444 -Dt $out/share/doc/${name} README FontLog.txt 14 - ''; 15 16 - sha256 = "1rzz7yhqq3lljyqxbg46jfzfd09qgpgx865lijr4sgc94riy1ypn"; 17 18 meta = with lib; { 19 homepage = "https://cm-unicode.sourceforge.io/";
··· 1 + { lib, stdenvNoCC, fetchurl }: 2 3 + stdenvNoCC.mkDerivation rec { 4 + pname = "cm-unicode"; 5 version = "0.7.0"; 6 + 7 + src = fetchurl { 8 + url = "mirror://sourceforge/cm-unicode/cm-unicode/${version}/${pname}-${version}-otf.tar.xz"; 9 + hash = "sha256-VIp+vk1IYbEHW15wMrfGVOPqg1zBZDpgFx+jlypOHCg="; 10 + }; 11 + 12 + dontBuild = true; 13 14 + installPhase = '' 15 + runHook preInstall 16 17 install -m444 -Dt $out/share/fonts/opentype *.otf 18 + install -m444 -Dt $out/share/doc/${pname}-${version} README FontLog.txt 19 20 + runHook postInstall 21 + ''; 22 23 meta = with lib; { 24 homepage = "https://cm-unicode.sourceforge.io/";
+18 -11
pkgs/data/fonts/crimson/default.nix
··· 1 - { lib, fetchzip }: 2 3 - let 4 version = "2014.10"; 5 - in fetchzip rec { 6 - name = "crimson-${version}"; 7 8 - url = "https://github.com/skosch/Crimson/archive/fonts-october2014.tar.gz"; 9 10 - postFetch = '' 11 - tar -xzvf $downloadedFile --strip-components=1 12 install -m444 -Dt $out/share/fonts/opentype "Desktop Fonts/OTF/"*.otf 13 - install -m444 -Dt $out/share/doc/${name} README.md 14 ''; 15 - 16 - sha256 = "0mg65f0ydyfmb43jqr1f34njpd10w8npw15cbb7z0nxmy4nkl842"; 17 18 meta = with lib; { 19 homepage = "https://github.com/skosch/Crimson"; 20 description = "A font family inspired by beautiful oldstyle typefaces"; 21 license = licenses.ofl; 22 platforms = platforms.all; 23 - maintainers = [maintainers.rycee]; 24 }; 25 }
··· 1 + { lib, stdenvNoCC, fetchFromGitHub }: 2 3 + stdenvNoCC.mkDerivation rec { 4 + pname = "crimson"; 5 version = "2014.10"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "skosch"; 9 + repo = "Crimson"; 10 + rev = "fonts-october2014"; 11 + hash = "sha256-Wp9L77q93TRmrAr0P4iH9gm0tqFY0X/xSsuFcd19aAE="; 12 + }; 13 + 14 + dontBuild = true; 15 16 + installPhase = '' 17 + runHook preInstall 18 19 install -m444 -Dt $out/share/fonts/opentype "Desktop Fonts/OTF/"*.otf 20 + install -m444 -Dt $out/share/doc/${pname}-${version} README.md 21 + 22 + runHook postInstall 23 ''; 24 25 meta = with lib; { 26 homepage = "https://github.com/skosch/Crimson"; 27 description = "A font family inspired by beautiful oldstyle typefaces"; 28 license = licenses.ofl; 29 platforms = platforms.all; 30 + maintainers = [ maintainers.rycee ]; 31 }; 32 }
+16 -8
pkgs/data/fonts/culmus/default.nix
··· 1 - { lib, fetchzip }: 2 3 - let 4 version = "0.133"; 5 - in fetchzip { 6 - name = "culmus-${version}"; 7 - url = "mirror://sourceforge/culmus/culmus/${version}/culmus-${version}.tar.gz"; 8 - postFetch = '' 9 - tar xf $downloadedFile --strip=1 10 mkdir -p $out/share/fonts/{truetype,type1} 11 cp -v *.pfa $out/share/fonts/type1/ 12 cp -v *.afm $out/share/fonts/type1/ ··· 14 cp -v *.ttf $out/share/fonts/truetype/ 15 cp -v *.otf $out/share/fonts/truetype/ 16 cp -v fonts.scale-ttf $out/share/fonts/truetype/fonts.scale 17 ''; 18 - sha256 = "0zqqjcrqmbd4389hqz2dwymkkcxjrq9ylyriiv3gbmzl6l1ffk3g"; 19 20 meta = { 21 description = "Culmus Hebrew fonts";
··· 1 + { lib, stdenvNoCC, fetchurl }: 2 3 + stdenvNoCC.mkDerivation rec { 4 + pname = "culmus"; 5 version = "0.133"; 6 + 7 + src = fetchurl { 8 + url = "mirror://sourceforge/${pname}/${pname}/${version}/${pname}-${version}.tar.gz"; 9 + hash = "sha256-wMaHN0LQdUT2us8q1S65yzkpdNVkJ5ONwd+8g5nGTQU="; 10 + }; 11 + 12 + dontBuild = true; 13 + 14 + installPhase = '' 15 + runHook preInstall 16 + 17 mkdir -p $out/share/fonts/{truetype,type1} 18 cp -v *.pfa $out/share/fonts/type1/ 19 cp -v *.afm $out/share/fonts/type1/ ··· 21 cp -v *.ttf $out/share/fonts/truetype/ 22 cp -v *.otf $out/share/fonts/truetype/ 23 cp -v fonts.scale-ttf $out/share/fonts/truetype/fonts.scale 24 + 25 + runHook postInstall 26 ''; 27 28 meta = { 29 description = "Culmus Hebrew fonts";
+49
pkgs/data/fonts/dotcolon-fonts/default.nix
···
··· 1 + { lib 2 + , symlinkJoin 3 + , aileron 4 + , vegur 5 + , f5_6 6 + , tenderness 7 + , medio 8 + , ferrum 9 + , seshat 10 + , penna 11 + , eunomia 12 + , route159 13 + , f1_8 14 + , nacelle 15 + , melete 16 + , fa_1 17 + }: 18 + 19 + symlinkJoin { 20 + name = "dotcolon-fonts"; 21 + 22 + paths = [ 23 + aileron 24 + vegur 25 + f5_6 26 + tenderness 27 + medio 28 + ferrum 29 + seshat 30 + penna 31 + eunomia 32 + route159 33 + f1_8 34 + nacelle 35 + melete 36 + fa_1 37 + ]; 38 + 39 + meta = { 40 + description = "Font Collection by Sora Sagano"; 41 + 42 + homepage = "https://dotcolon.net/"; 43 + 44 + license = with lib.licenses; [ cc0 ofl ]; 45 + 46 + platforms = lib.platforms.all; 47 + maintainers = with lib.maintainers; [ minijackson ]; 48 + }; 49 + }
+3 -3
pkgs/data/fonts/efont-unicode/default.nix
··· 1 - { lib, stdenv, fetchzip, libfaketime, xorg }: 2 3 stdenv.mkDerivation rec { 4 pname = "efont-unicode"; 5 version = "0.4.2"; 6 7 - src = fetchzip { 8 url = "http://openlab.ring.gr.jp/efont/dist/unicode-bdf/${pname}-bdf-${version}.tar.bz2"; 9 - sha256 = "0bib3jgikq8s1m96imw4mlgbl5cbq1bs5sqig74s2l2cdfx3jaqc"; 10 }; 11 12 nativeBuildInputs = with xorg;
··· 1 + { lib, stdenv, fetchurl, libfaketime, xorg }: 2 3 stdenv.mkDerivation rec { 4 pname = "efont-unicode"; 5 version = "0.4.2"; 6 7 + src = fetchurl { 8 url = "http://openlab.ring.gr.jp/efont/dist/unicode-bdf/${pname}-bdf-${version}.tar.bz2"; 9 + sha256 = "sha256-fT7SsYlV3dCQrf0IZfiNI1grj3ngDgr8IkWdg+f9m3M="; 10 }; 11 12 nativeBuildInputs = with xorg;
+16 -11
pkgs/data/fonts/eunomia/default.nix
··· 1 - { lib, fetchzip }: 2 3 let 4 majorVersion = "0"; 5 minorVersion = "200"; 6 pname = "eunomia"; 7 - in 8 9 - fetchzip { 10 - name = "${pname}-font-${majorVersion}.${minorVersion}"; 11 12 - url = "http://dotcolon.net/DL/font/${pname}_${majorVersion}${minorVersion}.zip"; 13 - sha256 = "0lpmczs1d4p9dy4s0dnvv7bl5cd0f6yzyasfrkxij5s86glps38b"; 14 15 - postFetch = '' 16 - mkdir -p $out/share/fonts/opentype/${pname} 17 - unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype/${pname} 18 ''; 19 20 meta = with lib; { 21 homepage = "http://dotcolon.net/font/eunomia/"; 22 description = "A futuristic decorative font"; 23 platforms = platforms.all; 24 - maintainers = with maintainers; [ leenaars ]; 25 license = licenses.ofl; 26 }; 27 - }
··· 1 + { lib, stdenvNoCC, fetchzip }: 2 3 let 4 majorVersion = "0"; 5 minorVersion = "200"; 6 + in 7 + stdenvNoCC.mkDerivation (self: { 8 pname = "eunomia"; 9 + version = "${majorVersion}.${minorVersion}"; 10 11 + src = fetchzip { 12 + url = "https://dotcolon.net/download/fonts/${self.pname}_${majorVersion}${minorVersion}.zip"; 13 + hash = "sha256-Rd2EakaTWjzoEV00tHTgg/bXgJUFfPjCyQUWi7QhFG4="; 14 + stripRoot = false; 15 + }; 16 + 17 + installPhase = '' 18 + runHook preInstall 19 20 + install -D -m444 -t $out/share/fonts/opentype $src/*.otf 21 22 + runHook postInstall 23 ''; 24 25 meta = with lib; { 26 homepage = "http://dotcolon.net/font/eunomia/"; 27 description = "A futuristic decorative font"; 28 platforms = platforms.all; 29 + maintainers = with maintainers; [ leenaars minijackson ]; 30 license = licenses.ofl; 31 }; 32 + })
+33
pkgs/data/fonts/f1_8/default.nix
···
··· 1 + { lib, stdenvNoCC, fetchzip }: 2 + 3 + let 4 + majorVersion = "1"; 5 + minorVersion = "101"; 6 + in 7 + stdenvNoCC.mkDerivation (self: { 8 + pname = "f1_8"; 9 + version = "${majorVersion}.${minorVersion}"; 10 + 11 + src = fetchzip { 12 + url = "https://note.com/api/v2/attachments/download/d83b2c4ec63d7826acaa76725d261ff4"; 13 + hash = "sha256-pe1G8WeFAo+KYjjsNwn0JmtXFn9QugE1SeGwaqnl1F0="; 14 + stripRoot = false; 15 + extension = "zip"; 16 + }; 17 + 18 + installPhase = '' 19 + runHook preInstall 20 + 21 + install -D -m444 -t $out/share/fonts/opentype $src/*.otf 22 + 23 + runHook postInstall 24 + ''; 25 + 26 + meta = with lib; { 27 + homepage = "http://dotcolon.net/font/${self.pname}/"; 28 + description = "A weighted decorative font"; 29 + platforms = platforms.all; 30 + maintainers = with maintainers; [ minijackson ]; 31 + license = licenses.ofl; 32 + }; 33 + })
+17 -12
pkgs/data/fonts/f5_6/default.nix
··· 1 - { lib, fetchzip }: 2 3 let 4 majorVersion = "0"; 5 minorVersion = "110"; 6 pname = "f5_6"; 7 - in 8 9 - fetchzip { 10 - name = "${pname}-font-${majorVersion}.${minorVersion}"; 11 12 - url = "http://dotcolon.net/DL/font/${pname}_${majorVersion}${minorVersion}.zip"; 13 - sha256 = "04p6lccd26rhjbpq3ddxi5vkk3lk8lqbpnk8lakjzixp3fgdqpp4"; 14 15 - postFetch = '' 16 - mkdir -p $out/share/fonts/opentype/${pname} 17 - unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype/${pname} 18 ''; 19 20 meta = with lib; { 21 - homepage = "http://dotcolon.net/font/${pname}/"; 22 description = "A weighted decorative font"; 23 platforms = platforms.all; 24 - maintainers = with maintainers; [ leenaars ]; 25 license = licenses.ofl; 26 }; 27 - }
··· 1 + { lib, stdenvNoCC, fetchzip }: 2 3 let 4 majorVersion = "0"; 5 minorVersion = "110"; 6 + in 7 + stdenvNoCC.mkDerivation (self: { 8 pname = "f5_6"; 9 + version = "${majorVersion}.${minorVersion}"; 10 + 11 + src = fetchzip { 12 + url = "https://dotcolon.net/download/fonts/${self.pname}_${majorVersion}${minorVersion}.zip"; 13 + hash = "sha256-FeCU+mzR0iO5tixI72XUnhvpGj+WRfKyT3mhBtud3uE="; 14 + stripRoot = false; 15 + }; 16 17 + installPhase = '' 18 + runHook preInstall 19 20 + install -D -m444 -t $out/share/fonts/opentype $src/*.otf 21 22 + runHook postInstall 23 ''; 24 25 meta = with lib; { 26 + homepage = "http://dotcolon.net/font/${self.pname}/"; 27 description = "A weighted decorative font"; 28 platforms = platforms.all; 29 + maintainers = with maintainers; [ leenaars minijackson ]; 30 license = licenses.ofl; 31 }; 32 + })
+32
pkgs/data/fonts/fa_1/default.nix
···
··· 1 + { lib, stdenvNoCC, fetchzip }: 2 + 3 + let 4 + majorVersion = "0"; 5 + minorVersion = "100"; 6 + in 7 + stdenvNoCC.mkDerivation (self: { 8 + pname = "fa_1"; 9 + version = "${majorVersion}.${minorVersion}"; 10 + 11 + src = fetchzip { 12 + url = "https://dotcolon.net/download/fonts/${self.pname}_${majorVersion}${minorVersion}.zip"; 13 + hash = "sha256-BPJ+wZMYXY/yg5oEgBc5YnswA6A7w6V0gdv+cac0qdc="; 14 + stripRoot = false; 15 + }; 16 + 17 + installPhase = '' 18 + runHook preInstall 19 + 20 + install -D -m444 -t $out/share/fonts/opentype $src/*.otf 21 + 22 + runHook postInstall 23 + ''; 24 + 25 + meta = with lib; { 26 + homepage = "http://dotcolon.net/font/${self.pname}/"; 27 + description = "A weighted decorative font"; 28 + platforms = platforms.all; 29 + maintainers = with maintainers; [ minijackson ]; 30 + license = licenses.ofl; 31 + }; 32 + })
+17 -12
pkgs/data/fonts/ferrum/default.nix
··· 1 - { lib, fetchzip }: 2 3 let 4 majorVersion = "0"; 5 minorVersion = "200"; 6 pname = "ferrum"; 7 - in 8 9 - fetchzip { 10 - name = "${pname}-font-${majorVersion}.${minorVersion}"; 11 12 - url = "http://dotcolon.net/DL/font/${pname}.zip"; 13 - sha256 = "1w1b3ch7ik4264f05lxms01ls0aargvlx770a9szm682dfmizn8w"; 14 15 - postFetch = '' 16 - mkdir -p $out/share/fonts/opentype/${pname} 17 - unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype/${pname} 18 ''; 19 20 meta = with lib; { 21 - homepage = "http://dotcolon.net/font/${pname}/"; 22 description = "A decorative font"; 23 platforms = platforms.all; 24 - maintainers = with maintainers; [ leenaars ]; 25 license = licenses.cc0; 26 }; 27 - }
··· 1 + { lib, stdenvNoCC, fetchzip }: 2 3 let 4 majorVersion = "0"; 5 minorVersion = "200"; 6 + in 7 + stdenvNoCC.mkDerivation (self: { 8 pname = "ferrum"; 9 + version = "${majorVersion}.${minorVersion}"; 10 + 11 + src = fetchzip { 12 + url = "https://dotcolon.net/download/fonts/${self.pname}_${majorVersion}${minorVersion}.zip"; 13 + hash = "sha256-NDJwgFWZgyhMkGRWlY55l2omEw6ju3e3dHCEsWNzQIc="; 14 + stripRoot = false; 15 + }; 16 17 + installPhase = '' 18 + runHook preInstall 19 20 + install -D -m444 -t $out/share/fonts/opentype $src/*.otf 21 22 + runHook postInstall 23 ''; 24 25 meta = with lib; { 26 + homepage = "http://dotcolon.net/font/${self.pname}/"; 27 description = "A decorative font"; 28 platforms = platforms.all; 29 + maintainers = with maintainers; [ leenaars minijackson ]; 30 license = licenses.cc0; 31 }; 32 + })
+18 -13
pkgs/data/fonts/go-font/default.nix
··· 1 - { lib, fetchzip }: 2 3 - let 4 version = "2.010"; 5 - rev = "41969df76e82aeec85fa3821b1e24955ea993001"; 6 - in (fetchzip { 7 - name = "go-font-${version}"; 8 - url = "https://go.googlesource.com/image/+archive/${rev}/font/gofont/ttfs.tar.gz"; 9 - stripRoot = false; 10 11 - postFetch = '' 12 mkdir -p $out/share/fonts/truetype 13 mkdir -p $out/share/doc/go-font 14 - mv $out/*.ttf $out/share/fonts/truetype 15 - mv $out/README $out/share/doc/go-font/LICENSE 16 ''; 17 18 - sha256 = "175jwq16qjnd2k923n9gcbjizchy7yv4n41dm691sjwrhbl0b13x"; 19 - }) // { 20 meta = with lib; { 21 homepage = "https://blog.golang.org/go-fonts"; 22 description = "The Go font family"; ··· 24 license = licenses.bsd3; 25 maintainers = with maintainers; [ sternenseemann ]; 26 platforms = lib.platforms.all; 27 - hydraPlatforms = []; 28 }; 29 }
··· 1 + { lib, stdenvNoCC, fetchzip }: 2 3 + stdenvNoCC.mkDerivation rec { 4 + pname = "go-font"; 5 version = "2.010"; 6 + 7 + src = fetchzip { 8 + url = "https://go.googlesource.com/image/+archive/41969df76e82aeec85fa3821b1e24955ea993001/font/gofont/ttfs.tar.gz"; 9 + stripRoot = false; 10 + hash = "sha256-rdzt51wY4b7HEr7W/0Ar/FB0zMyf+nKLsOT+CRSEP3o="; 11 + }; 12 + 13 + dontBuild = true; 14 + 15 + installPhase = '' 16 + runHook preInstall 17 18 mkdir -p $out/share/fonts/truetype 19 mkdir -p $out/share/doc/go-font 20 + mv *.ttf $out/share/fonts/truetype 21 + mv README $out/share/doc/go-font/LICENSE 22 + 23 + runHook postInstall 24 ''; 25 26 meta = with lib; { 27 homepage = "https://blog.golang.org/go-fonts"; 28 description = "The Go font family"; ··· 30 license = licenses.bsd3; 31 maintainers = with maintainers; [ sternenseemann ]; 32 platforms = lib.platforms.all; 33 }; 34 }
+19 -14
pkgs/data/fonts/gyre/default.nix
··· 1 - # when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation' 2 - { lib, fetchzip }: 3 4 - let 5 - baseName = "gyre-fonts"; 6 version = "2.005"; 7 - in (fetchzip { 8 - name="${baseName}-${version}"; 9 10 - url = "http://www.gust.org.pl/projects/e-foundry/tex-gyre/whole/tg-${version}otf.zip"; 11 12 - sha256 = "17amdpahs6kn7hk3dqxpff1s095cg1caxzij3mxjbbxp8zy0l111"; 13 14 meta = { 15 description = "OpenType fonts from the Gyre project, suitable for use with (La)TeX"; ··· 25 platforms = lib.platforms.all; 26 maintainers = with lib.maintainers; [ bergey ]; 27 }; 28 - }).overrideAttrs (_: { 29 - postFetch = '' 30 - mkdir -p $out/share/fonts 31 - unzip -j $downloadedFile \*.otf -d $out/share/fonts/truetype 32 - ''; 33 - })
··· 1 + { lib, stdenvNoCC, fetchzip }: 2 3 + stdenvNoCC.mkDerivation rec { 4 + pname = "gyre-fonts"; 5 version = "2.005"; 6 + 7 + src = fetchzip { 8 + url = "http://www.gust.org.pl/projects/e-foundry/tex-gyre/whole/tg-${version}otf.zip"; 9 + stripRoot = false; 10 + hash = "sha256-+6IufuFf+IoLXoZEPlfHUNgRhKrQNBEZ1OwPD9/uOjg="; 11 + }; 12 + 13 + dontBuild = true; 14 + 15 + installPhase = '' 16 + runHook preInstall 17 18 + mkdir -p $out/share/fonts/truetype 19 + cp *.otf $out/share/fonts/truetype 20 21 + runHook postInstall 22 + ''; 23 24 meta = { 25 description = "OpenType fonts from the Gyre project, suitable for use with (La)TeX"; ··· 35 platforms = lib.platforms.all; 36 maintainers = with lib.maintainers; [ bergey ]; 37 }; 38 + }
+15 -13
pkgs/data/fonts/hermit/default.nix
··· 1 - { lib, fetchzip }: 2 3 - let 4 pname = "hermit"; 5 version = "2.0"; 6 - in fetchzip rec { 7 - name = "${pname}-${version}"; 8 9 - url = "https://pcaro.es/d/otf-${name}.tar.gz"; 10 11 - stripRoot = false; 12 - postFetch = '' 13 - install -m444 -Dt $out/share/fonts/opentype $out/*.otf 14 - shopt -s extglob dotglob 15 - rm -rf $out/!(share) 16 - shopt -u extglob dotglob 17 ''; 18 - sha256 = "127hnpxicqya7v1wmzxxqafq3aj1n33i4j5ncflbw6gj5g3bizwl"; 19 20 meta = with lib; { 21 description = "monospace font designed to be clear, pragmatic and very readable"; ··· 25 platforms = platforms.all; 26 }; 27 } 28 -
··· 1 + { lib, stdenvNoCC, fetchzip }: 2 3 + stdenvNoCC.mkDerivation rec { 4 pname = "hermit"; 5 version = "2.0"; 6 7 + src = fetchzip { 8 + url = "https://pcaro.es/d/otf-${pname}-${version}.tar.gz"; 9 + stripRoot = false; 10 + hash = "sha256-RYXZ2yJ8BIxsgeEwhXz7g0NnWG3kMPZoJaOLMUQyWWQ="; 11 + }; 12 13 + dontBuild = true; 14 + 15 + installPhase = '' 16 + runHook preInstall 17 + 18 + install -m444 -Dt $out/share/fonts/opentype *.otf 19 + 20 + runHook postInstall 21 ''; 22 23 meta = with lib; { 24 description = "monospace font designed to be clear, pragmatic and very readable"; ··· 28 platforms = platforms.all; 29 }; 30 }
+15 -11
pkgs/data/fonts/julia-mono/default.nix
··· 1 - { lib, fetchzip }: 2 3 - let 4 version = "0.046"; 5 6 - in 7 - fetchzip { 8 - name = "JuliaMono-ttf-${version}"; 9 - url = "https://github.com/cormullion/juliamono/releases/download/v${version}/JuliaMono-ttf.tar.gz"; 10 - sha256 = "sha256-+Ro517m1unQskQFhsT6oiz19aov87/tT1jlP/XB7kFU="; 11 12 - stripRoot = false; 13 14 - postFetch = '' 15 mkdir -p $out/share/fonts/truetype 16 - mv $out/*.ttf $out/share/fonts/truetype 17 - rm $out/LICENSE 18 ''; 19 20 meta = with lib; {
··· 1 + { lib, stdenvNoCC, fetchzip }: 2 3 + stdenvNoCC.mkDerivation rec { 4 + pname = "JuliaMono-ttf"; 5 version = "0.046"; 6 7 + src = fetchzip { 8 + url = "https://github.com/cormullion/juliamono/releases/download/v${version}/${pname}.tar.gz"; 9 + stripRoot = false; 10 + hash = "sha256-mq37L3bhUhdjB8z3I9i8+wyLrMSsu/nZrZXOuqE3JlU="; 11 + }; 12 + 13 + dontBuild = true; 14 15 + installPhase = '' 16 + runHook preInstall 17 18 mkdir -p $out/share/fonts/truetype 19 + mv *.ttf $out/share/fonts/truetype 20 + 21 + runHook postInstall 22 ''; 23 24 meta = with lib; {
+16 -9
pkgs/data/fonts/kacst/default.nix
··· 1 - { fetchzip, lib }: 2 3 - let 4 version = "2.01"; 5 - in 6 - fetchzip { 7 - name = "kacst-${version}"; 8 - url = "mirror://debian/pool/main/f/fonts-kacst/fonts-kacst_${version}+mry.orig.tar.bz2"; 9 - sha256 = "sha256-pIO58CXfmKYRKYJ1oI+tjTwlKBRnkZ/CpIM2Xa0CDA4="; 10 11 - postFetch = '' 12 mkdir -p $out/share/fonts 13 - tar xjf $downloadedFile --strip-components=1 -C $out/share/fonts 14 ''; 15 16 meta = with lib; {
··· 1 + { lib, stdenvNoCC, fetchurl }: 2 3 + stdenvNoCC.mkDerivation rec { 4 + pname = "kacst"; 5 version = "2.01"; 6 + 7 + src = fetchurl { 8 + url = "mirror://debian/pool/main/f/fonts-${pname}/fonts-${pname}_${version}+mry.orig.tar.bz2"; 9 + hash = "sha256-byiZzpYiMU6kJs+NSISfHPFzAnJtc8toNIbV/fKiMzg="; 10 + }; 11 + 12 + dontBuild = true; 13 + 14 + installPhase = '' 15 + runHook preInstall 16 17 mkdir -p $out/share/fonts 18 + cp -R kacst $out/share/fonts 19 + 20 + runHook postInstall 21 ''; 22 23 meta = with lib; {
+15 -12
pkgs/data/fonts/khmeros/default.nix
··· 1 - { fetchzip, lib }: 2 3 - let 4 version = "5.0"; 5 - in 6 - fetchzip { 7 - name = "khmeros-${version}"; 8 - url = "mirror://debian/pool/main/f/fonts-khmeros/fonts-khmeros_${version}.orig.tar.xz"; 9 - sha256 = "sha256-pS+7RQbGwlBxdCfSVxHmARCAkZrZttwYNlV/CrxqI+w="; 10 11 - postFetch = '' 12 - unpackDir="$TMPDIR/unpack" 13 - mkdir "$unpackDir" 14 - cd "$unpackDir" 15 - tar xf "$downloadedFile" --strip-components=1 16 mkdir -p $out/share/fonts 17 cp *.ttf $out/share/fonts 18 ''; 19 20 meta = with lib; {
··· 1 + { lib, stdenvNoCC, fetchurl }: 2 3 + stdenvNoCC.mkDerivation rec { 4 + pname = "khmeros"; 5 version = "5.0"; 6 + 7 + src = fetchurl { 8 + url = "mirror://debian/pool/main/f/fonts-${pname}/fonts-${pname}_${version}.orig.tar.xz"; 9 + hash = "sha256-gBcM9YHSuhbxvwfQTvywH/5kN921GOyvGtkROcmcBiw="; 10 + }; 11 + 12 + dontBuild = true; 13 + 14 + installPhase = '' 15 + runHook preInstall 16 17 mkdir -p $out/share/fonts 18 cp *.ttf $out/share/fonts 19 + 20 + runHook postInstall 21 ''; 22 23 meta = with lib; {
+16 -9
pkgs/data/fonts/lao/default.nix
··· 1 - { fetchzip, lib }: 2 3 - let 4 version = "0.0.20060226"; 5 - in 6 - fetchzip { 7 - name = "lao-${version}"; 8 - url = "mirror://debian/pool/main/f/fonts-lao/fonts-lao_${version}.orig.tar.xz"; 9 - sha256 = "sha256-Ti3DNOgLR5VBJ1mSe8M+qs4UYbCR7qOPgqxRfmHa+jY="; 10 11 - postFetch = '' 12 mkdir -p $out/share/fonts 13 - tar xf $downloadedFile --strip-components=1 -C $out/share/fonts fonts-lao-${version}/Phetsarath_OT.ttf 14 ''; 15 16 meta = with lib; {
··· 1 + { lib, stdenvNoCC, fetchurl }: 2 3 + stdenvNoCC.mkDerivation rec { 4 + pname = "lao"; 5 version = "0.0.20060226"; 6 + 7 + src = fetchurl { 8 + url = "mirror://debian/pool/main/f/fonts-${pname}/fonts-${pname}_${version}.orig.tar.xz"; 9 + hash = "sha256-DlgdyfhxxzVkNIL+NGsQ+PRlNkCuG3v2OahkIEYx60o="; 10 + }; 11 + 12 + dontBuild = true; 13 + 14 + installPhase = '' 15 + runHook preInstall 16 17 mkdir -p $out/share/fonts 18 + cp Phetsarath_OT.ttf $out/share/fonts 19 + 20 + runHook postInstall 21 ''; 22 23 meta = with lib; {
+17 -10
pkgs/data/fonts/lklug-sinhala/default.nix
··· 1 - { fetchzip, lib }: 2 3 - let 4 version = "0.6"; 5 - in 6 - fetchzip { 7 - name = "lklug-sinhala-${version}"; 8 - url = "mirror://debian/pool/main/f/fonts-lklug-sinhala/fonts-lklug-sinhala_${version}.orig.tar.xz"; 9 - sha256 = "sha256-Fy+QnAajA4yLf/I1vOQll5pRd0ZLfLe8UXq4XMC9qNc="; 10 11 - postFetch = '' 12 - mkdir -p $out/share/fonts 13 - tar xf $downloadedFile --strip-components=1 -C $out/share/fonts fonts-lklug-sinhala-${version}/lklug.ttf 14 ''; 15 16 meta = with lib; {
··· 1 + { lib, stdenvNoCC, fetchurl }: 2 3 + stdenvNoCC.mkDerivation rec { 4 + pname = "lklug-sinhala"; 5 version = "0.6"; 6 + 7 + src = fetchurl { 8 + url = "mirror://debian/pool/main/f/fonts-${pname}/fonts-${pname}_${version}.orig.tar.xz"; 9 + hash = "sha256-oPCCa01PMQcCK5fEILgXjrGzoDg+UvxkqK6AgeQaKio="; 10 + }; 11 + 12 + dontBuild = true; 13 + 14 + installPhase = '' 15 + runHook preInstall 16 + 17 + mkdir -p $out/share/fonts/truetype 18 + cp *.ttf $out/share/fonts/truetype 19 20 + runHook postInstall 21 ''; 22 23 meta = with lib; {
+15 -12
pkgs/data/fonts/lmodern/default.nix
··· 1 - { fetchzip }: 2 3 - fetchzip { 4 - name = "lmodern-2.005"; 5 6 - url = "mirror://debian/pool/main/l/lmodern/lmodern_2.005.orig.tar.gz"; 7 8 - postFetch = '' 9 - tar xzvf $downloadedFile 10 11 mkdir -p $out/texmf-dist/ 12 mkdir -p $out/share/fonts/ 13 14 - cp -r lmodern-2.005/* $out/texmf-dist/ 15 - cp -r lmodern-2.005/fonts/{opentype,type1} $out/share/fonts/ 16 17 - ln -s -r $out/texmf* $out/share/ 18 ''; 19 20 - sha256 = "sha256-ySdKUt8o5FqmpdnYSzbGJ1f9t8VmKYXqPt53e1/E/FA="; 21 - 22 meta = { 23 description = "Latin Modern font"; 24 }; 25 } 26 -
··· 1 + { lib, stdenvNoCC, fetchurl }: 2 3 + stdenvNoCC.mkDerivation rec { 4 + pname = "lmodern"; 5 + version = "2.005"; 6 7 + src = fetchurl { 8 + url = "mirror://debian/pool/main/l/${pname}/${pname}_${version}.orig.tar.gz"; 9 + hash = "sha256-xlUuZt6rjW0pX4t6PKWAHkkv3PisGCj7ZwatZPAUNxk="; 10 + }; 11 + 12 + dontBuild = true; 13 14 + installPhase = '' 15 + runHook preInstall 16 17 mkdir -p $out/texmf-dist/ 18 mkdir -p $out/share/fonts/ 19 20 + cp -r * $out/texmf-dist/ 21 + cp -r fonts/{opentype,type1} $out/share/fonts/ 22 23 + runHook postInstall 24 ''; 25 26 meta = { 27 description = "Latin Modern font"; 28 }; 29 }
+16 -9
pkgs/data/fonts/luculent/default.nix
··· 1 - { lib, fetchzip }: 2 3 - let version = "2.0.0"; in 4 - fetchzip { 5 - name = "luculent-${version}"; 6 - url = "http://www.eastfarthing.com/luculent/luculent.tar.xz"; 7 8 - postFetch = '' 9 - tar -xJf $downloadedFile --strip-components=1 10 mkdir -p $out/share/fonts/truetype 11 cp *.ttf $out/share/fonts/truetype 12 - ''; 13 14 - sha256 = "1m3g64galwna1xjxb1fczmfplm6c1fn3ra1ln7f0vkm0ah5m4lbv"; 15 16 meta = with lib; { 17 description = "luculent font";
··· 1 + { lib, stdenvNoCC, fetchurl }: 2 + 3 + stdenvNoCC.mkDerivation rec { 4 + pname = "luculent"; 5 + version = "2.0.0"; 6 + 7 + src = fetchurl { 8 + url = "http://www.eastfarthing.com/${pname}/${pname}.tar.xz"; 9 + hash = "sha256-6NxLnTBnvHmTUTFa2wW0AuKPEbCqzaWQyiFVnF0sBqU="; 10 + }; 11 + 12 + dontBuild = true; 13 14 + installPhase = '' 15 + runHook preInstall 16 17 mkdir -p $out/share/fonts/truetype 18 cp *.ttf $out/share/fonts/truetype 19 20 + runHook postInstall 21 + ''; 22 23 meta = with lib; { 24 description = "luculent font";
+14 -11
pkgs/data/fonts/lxgw-wenkai/default.nix
··· 1 - { lib, fetchzip }: 2 3 - fetchzip rec { 4 pname = "lxgw-wenkai"; 5 - version = "1.245.1"; 6 7 - url = "https://github.com/lxgw/LxgwWenKai/releases/download/v${version}/lxgw-wenkai-v${version}.tar.gz"; 8 9 - postFetch = '' 10 mkdir -p $out/share/fonts/truetype 11 - mv $out/*.ttf $out/share/fonts/truetype 12 13 - shopt -s extglob dotglob 14 - rm -rf $out/!(share) 15 - shopt -u extglob dotglob 16 ''; 17 - 18 - hash = "sha256-4RQ+aqAZPQH3t6v2KvrNWgYT3J3uMuY34XTuvyLEOeI="; 19 20 meta = with lib; { 21 homepage = "https://lxgw.github.io/";
··· 1 + { lib, stdenvNoCC, fetchurl }: 2 3 + stdenvNoCC.mkDerivation rec { 4 pname = "lxgw-wenkai"; 5 + version = "1.250"; 6 + 7 + src = fetchurl { 8 + url = "https://github.com/lxgw/LxgwWenKai/releases/download/v${version}/${pname}-v${version}.tar.gz"; 9 + hash = "sha256-Nkd0xXYCnR0NZAk/JCxy+zOlxIxD52Px4F9o2L9mgRE="; 10 + }; 11 + 12 + dontBuild = true; 13 14 + installPhase = '' 15 + runHook preInstall 16 17 mkdir -p $out/share/fonts/truetype 18 + mv *.ttf $out/share/fonts/truetype 19 20 + runHook postInstall 21 ''; 22 23 meta = with lib; { 24 homepage = "https://lxgw.github.io/";
+15 -10
pkgs/data/fonts/marathi-cursive/default.nix
··· 1 - { lib, fetchzip }: 2 3 - let 4 version = "2.0"; 5 - in fetchzip rec { 6 - name = "marathi-cursive-${version}"; 7 8 - url = "https://github.com/MihailJP/MarathiCursive/releases/download/v${version}/MarathiCursive-${version}.tar.xz"; 9 10 - postFetch = '' 11 - tar -xJf $downloadedFile --strip-components=1 12 install -m444 -Dt $out/share/fonts/marathi-cursive *.otf *.ttf 13 - install -m444 -Dt $out/share/doc/${name} README *.txt 14 - ''; 15 16 - sha256 = "17pj60ajnjghxhxka8a046mz6vfwr79wnby7xd6pg5hgncin2hgg"; 17 18 meta = with lib; { 19 homepage = "https://github.com/MihailJP/MarathiCursive";
··· 1 + { lib, stdenvNoCC, fetchurl }: 2 3 + stdenvNoCC.mkDerivation rec { 4 + pname = "marathi-cursive"; 5 version = "2.0"; 6 + 7 + src = fetchurl { 8 + url = "https://github.com/MihailJP/MarathiCursive/releases/download/v${version}/MarathiCursive-${version}.tar.xz"; 9 + hash = "sha256-JE9T3UMSYn/JfEWuWHikDJIlt4nZl6GzY98v3vG6di4="; 10 + }; 11 + 12 + dontBuild = true; 13 14 + installPhase = '' 15 + runHook preInstall 16 17 install -m444 -Dt $out/share/fonts/marathi-cursive *.otf *.ttf 18 + install -m444 -Dt $out/share/doc/${pname}-${version} README *.txt 19 20 + runHook postInstall 21 + ''; 22 23 meta = with lib; { 24 homepage = "https://github.com/MihailJP/MarathiCursive";
+17 -12
pkgs/data/fonts/medio/default.nix
··· 1 - { lib, fetchzip }: 2 3 let 4 majorVersion = "0"; 5 minorVersion = "200"; 6 pname = "medio"; 7 - in 8 9 - fetchzip { 10 - name = "${pname}-font-${majorVersion}.${minorVersion}"; 11 12 - url = "http://dotcolon.net/DL/font/${pname}.zip"; 13 - sha256 = "0gxcmhjlsh2pzsmj78vw4v935ax7hfk533ddlhfhfma52zyxyh7x"; 14 15 - postFetch = '' 16 - mkdir -p $out/share/fonts/opentype/${pname} 17 - unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype/${pname} 18 ''; 19 20 meta = with lib; { 21 - homepage = "http://dotcolon.net/font/${pname}/"; 22 description = "Serif font designed by Sora Sagano"; 23 longDescription = '' 24 Medio is a serif font designed by Sora Sagano, based roughly ··· 26 but with hairline serifs in the style of a Didone. 27 ''; 28 platforms = platforms.all; 29 - maintainers = with maintainers; [ leenaars ]; 30 license = licenses.cc0; 31 }; 32 - }
··· 1 + { lib, stdenvNoCC, fetchzip }: 2 3 let 4 majorVersion = "0"; 5 minorVersion = "200"; 6 + in 7 + stdenvNoCC.mkDerivation (self: { 8 pname = "medio"; 9 + version = "${majorVersion}.${minorVersion}"; 10 + 11 + src = fetchzip { 12 + url = "https://dotcolon.net/download/fonts/${self.pname}_${majorVersion}${minorVersion}.zip"; 13 + hash = "sha256-S+CcwD4zGVk7cIFD6K4NnpE/0mrJq4RnDJC576rhcLQ="; 14 + stripRoot = false; 15 + }; 16 17 + installPhase = '' 18 + runHook preInstall 19 20 + install -D -m444 -t $out/share/fonts/opentype $src/*.otf 21 22 + runHook postInstall 23 ''; 24 25 meta = with lib; { 26 + homepage = "http://dotcolon.net/font/${self.pname}/"; 27 description = "Serif font designed by Sora Sagano"; 28 longDescription = '' 29 Medio is a serif font designed by Sora Sagano, based roughly ··· 31 but with hairline serifs in the style of a Didone. 32 ''; 33 platforms = platforms.all; 34 + maintainers = with maintainers; [ leenaars minijackson ]; 35 license = licenses.cc0; 36 }; 37 + })
+32
pkgs/data/fonts/melete/default.nix
···
··· 1 + { lib, stdenvNoCC, fetchzip }: 2 + 3 + let 4 + majorVersion = "0"; 5 + minorVersion = "200"; 6 + in 7 + stdenvNoCC.mkDerivation (self: { 8 + pname = "melete"; 9 + version = "${majorVersion}.${minorVersion}"; 10 + 11 + src = fetchzip { 12 + url = "https://dotcolon.net/download/fonts/${self.pname}_${majorVersion}${minorVersion}.zip"; 13 + hash = "sha256-y1xtNM1Oy92gOvbr9J71XNxb1JeTzOgxKms3G2YHK00="; 14 + stripRoot = false; 15 + }; 16 + 17 + installPhase = '' 18 + runHook preInstall 19 + 20 + install -D -m444 -t $out/share/fonts/opentype $src/*.otf 21 + 22 + runHook postInstall 23 + ''; 24 + 25 + meta = with lib; { 26 + homepage = "http://dotcolon.net/font/${self.pname}/"; 27 + description = "A headline typeface that could be used as a movie title"; 28 + platforms = platforms.all; 29 + maintainers = with maintainers; [ minijackson ]; 30 + license = licenses.ofl; 31 + }; 32 + })
+32
pkgs/data/fonts/nacelle/default.nix
···
··· 1 + { lib, stdenvNoCC, fetchzip }: 2 + 3 + let 4 + majorVersion = "1"; 5 + minorVersion = "00"; 6 + in 7 + stdenvNoCC.mkDerivation (self: { 8 + pname = "nacelle"; 9 + version = "${majorVersion}.${minorVersion}"; 10 + 11 + src = fetchzip { 12 + url = "https://dotcolon.net/download/fonts/${self.pname}_${majorVersion}${minorVersion}.zip"; 13 + hash = "sha256-e4QsPiyfWEAYHWdwR3CkGc2UzuA3hZPYYlWtIubY0Oo="; 14 + stripRoot = false; 15 + }; 16 + 17 + installPhase = '' 18 + runHook preInstall 19 + 20 + install -D -m444 -t $out/share/fonts/opentype $src/*.otf 21 + 22 + runHook postInstall 23 + ''; 24 + 25 + meta = with lib; { 26 + homepage = "http://dotcolon.net/font/${self.pname}/"; 27 + description = "A improved version of the Aileron font"; 28 + platforms = platforms.all; 29 + maintainers = with maintainers; [ minijackson ]; 30 + license = licenses.ofl; 31 + }; 32 + })
+15 -12
pkgs/data/fonts/nanum/default.nix
··· 1 - { fetchzip, lib }: 2 3 - let 4 version = "20170925"; 5 - in 6 - fetchzip { 7 - name = "nanum-${version}"; 8 - url = "mirror://ubuntu/pool/universe/f/fonts-nanum/fonts-nanum_${version}.orig.tar.xz"; 9 - sha256 = "sha256-lSTeQEuMmlQxiQqrx9tNScifE8nMOUDJF3lCfoAFIJk="; 10 11 - postFetch = '' 12 - unpackDir="$TMPDIR/unpack" 13 - mkdir "$unpackDir" 14 - cd "$unpackDir" 15 - tar xf "$downloadedFile" --strip-components=1 16 mkdir -p $out/share/fonts 17 cp *.ttf $out/share/fonts 18 ''; 19 20 meta = with lib; {
··· 1 + { lib, stdenvNoCC, fetchurl }: 2 3 + stdenvNoCC.mkDerivation rec { 4 + pname = "nanum"; 5 version = "20170925"; 6 + 7 + src = fetchurl { 8 + url = "mirror://ubuntu/pool/universe/f/fonts-${pname}/fonts-${pname}_${version}.orig.tar.xz"; 9 + hash = "sha256-GlVXH9YUU3wHMkNoz5miBv7N2oUEbwUXlcVoElQ9++4="; 10 + }; 11 + 12 + dontBuild = true; 13 + 14 + installPhase = '' 15 + runHook preInstall 16 17 mkdir -p $out/share/fonts 18 cp *.ttf $out/share/fonts 19 + 20 + runHook postInstall 21 ''; 22 23 meta = with lib; {
+16 -11
pkgs/data/fonts/oldsindhi/default.nix
··· 1 - { lib, fetchzip }: 2 3 - let 4 version = "1.0"; 5 - in fetchzip rec { 6 - name = "oldsindhi-${version}"; 7 8 - url = "https://github.com/MihailJP/oldsindhi/releases/download/v${version}/OldSindhi-${version}.tar.xz"; 9 10 - postFetch = '' 11 - tar -xJf $downloadedFile --strip-components=1 12 install -m444 -Dt $out/share/fonts/truetype *.ttf 13 - install -m444 -Dt $out/share/doc/${name} README *.txt 14 ''; 15 - 16 - sha256 = "03c483vbrwz2fpdfbys42fmik9788zxfmjmc4fgq4s2d0mraa0j1"; 17 18 meta = with lib; { 19 homepage = "https://github.com/MihailJP/oldsindhi"; 20 description = "Free Sindhi Khudabadi font"; 21 maintainers = with maintainers; [ mathnerd314 ]; 22 - license = with licenses; [mit ofl]; 23 platforms = platforms.all; 24 }; 25 }
··· 1 + { lib, stdenvNoCC, fetchurl }: 2 3 + stdenvNoCC.mkDerivation rec { 4 + pname = "oldsindhi"; 5 version = "1.0"; 6 + 7 + src = fetchurl { 8 + url = "https://github.com/MihailJP/${pname}/releases/download/v${version}/OldSindhi-${version}.tar.xz"; 9 + hash = "sha256-jOcl+mo6CJ9Lnn3nAUiXXHCJssovVgLoPrbGxj4uzQs="; 10 + }; 11 + 12 + dontBuild = true; 13 14 + installPhase = '' 15 + runHook preInstall 16 17 install -m444 -Dt $out/share/fonts/truetype *.ttf 18 + install -m444 -Dt $out/share/doc/${pname}-${version} README *.txt 19 + 20 + runHook postInstall 21 ''; 22 23 meta = with lib; { 24 homepage = "https://github.com/MihailJP/oldsindhi"; 25 description = "Free Sindhi Khudabadi font"; 26 maintainers = with maintainers; [ mathnerd314 ]; 27 + license = with licenses; [ mit ofl ]; 28 platforms = platforms.all; 29 }; 30 }
+18 -13
pkgs/data/fonts/penna/default.nix
··· 1 - { lib, fetchzip }: 2 3 let 4 majorVersion = "0"; 5 - minorVersion = "10"; 6 - pname = "penna"; 7 in 8 9 - fetchzip { 10 - name = "${pname}-font-${majorVersion}.${minorVersion}"; 11 12 - url = "http://dotcolon.net/DL/font/${pname}.zip"; 13 - sha256 = "0hk15yndm56l6rbdykpkry2flffx0567mgjcqcnsx1iyzwwla5km"; 14 15 - postFetch = '' 16 - mkdir -p $out/share/fonts/opentype/${pname} 17 - unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype/${pname} 18 ''; 19 20 meta = with lib; { 21 - homepage = "http://dotcolon.net/font/${pname}/"; 22 description = "Geometric sans serif designed by Sora Sagano"; 23 longDescription = '' 24 Penna is a geometric sans serif designed by Sora Sagano, ··· 26 with a small x-height. 27 ''; 28 platforms = platforms.all; 29 - maintainers = with maintainers; [ leenaars ]; 30 license = licenses.cc0; 31 }; 32 - }
··· 1 + { lib, stdenvNoCC, fetchzip }: 2 3 let 4 majorVersion = "0"; 5 + minorVersion = "100"; 6 in 7 + stdenvNoCC.mkDerivation (self: { 8 + pname = "penna"; 9 + version = "${majorVersion}.${minorVersion}"; 10 11 + src = fetchzip { 12 + url = "https://dotcolon.net/download/fonts/${self.pname}_${majorVersion}${minorVersion}.zip"; 13 + hash = "sha256-fmCJnEaoUGdW9JK3J7JSm5D4qOMRW7qVKPgVE7uCH5w="; 14 + stripRoot = false; 15 + }; 16 + 17 + installPhase = '' 18 + runHook preInstall 19 20 + install -D -m444 -t $out/share/fonts/opentype $src/*.otf 21 22 + runHook postInstall 23 ''; 24 25 meta = with lib; { 26 + homepage = "http://dotcolon.net/font/${self.pname}/"; 27 description = "Geometric sans serif designed by Sora Sagano"; 28 longDescription = '' 29 Penna is a geometric sans serif designed by Sora Sagano, ··· 31 with a small x-height. 32 ''; 33 platforms = platforms.all; 34 + maintainers = with maintainers; [ leenaars minijackson ]; 35 license = licenses.cc0; 36 }; 37 + })
+17 -12
pkgs/data/fonts/route159/default.nix
··· 1 - { lib, fetchzip }: 2 3 let 4 majorVersion = "1"; 5 minorVersion = "10"; 6 pname = "route159"; 7 - in 8 9 - fetchzip { 10 - name = "${pname}-font-${majorVersion}.${minorVersion}"; 11 12 - url = "http://dotcolon.net/DL/font/${pname}_${majorVersion}${minorVersion}.zip"; 13 - sha256 = "1nv5csg73arvvwpac7ylh4j9n0s3qp79rbv2s4jvs2bf6gqhsq7h"; 14 15 - postFetch = '' 16 - mkdir -p $out/share/fonts/opentype/${pname} 17 - unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype/${pname} 18 ''; 19 20 meta = with lib; { 21 - homepage = "http://dotcolon.net/font/${pname}/"; 22 description = "A weighted sans serif font"; 23 platforms = platforms.all; 24 - maintainers = with maintainers; [ leenaars ]; 25 license = licenses.ofl; 26 }; 27 - }
··· 1 + { lib, stdenvNoCC, fetchzip }: 2 3 let 4 majorVersion = "1"; 5 minorVersion = "10"; 6 + in 7 + stdenvNoCC.mkDerivation (self: { 8 pname = "route159"; 9 + version = "${majorVersion}.${minorVersion}"; 10 + 11 + src = fetchzip { 12 + url = "https://dotcolon.net/download/fonts/${self.pname}_${majorVersion}${minorVersion}.zip"; 13 + hash = "sha256-1InyBW1LGbp/IU/ql9mvT14W3MTxJdWThFwRH6VHpTU="; 14 + stripRoot = false; 15 + }; 16 17 + installPhase = '' 18 + runHook preInstall 19 20 + install -D -m444 -t $out/share/fonts/opentype $src/*.otf 21 22 + runHook postInstall 23 ''; 24 25 meta = with lib; { 26 + homepage = "http://dotcolon.net/font/${self.pname}/"; 27 description = "A weighted sans serif font"; 28 platforms = platforms.all; 29 + maintainers = with maintainers; [ leenaars minijackson ]; 30 license = licenses.ofl; 31 }; 32 + })
+17 -12
pkgs/data/fonts/seshat/default.nix
··· 1 - { lib, fetchzip }: 2 3 let 4 majorVersion = "0"; 5 minorVersion = "100"; 6 pname = "seshat"; 7 - in 8 9 - fetchzip { 10 - name = "${pname}-font-${majorVersion}.${minorVersion}"; 11 12 - url = "http://dotcolon.net/DL/font/${pname}.zip"; 13 - sha256 = "1zzgc2d0jrris92p3irmxjhdq8aj99alz0z7dlz25qf37lcilrir"; 14 15 - postFetch = '' 16 - mkdir -p $out/share/fonts/opentype/${pname} 17 - unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype/${pname} 18 ''; 19 20 meta = with lib; { 21 - homepage = "http://dotcolon.net/font/${pname}/"; 22 description = "Roman body font designed for main text by Sora Sagano"; 23 longDescription = '' 24 Seshat is a Roman body font designed for the main text. By ··· 31 It incorporates symbols and ligatures used in the European region. 32 ''; 33 platforms = platforms.all; 34 - maintainers = with maintainers; [ leenaars ]; 35 license = licenses.cc0; 36 }; 37 - }
··· 1 + { lib, stdenvNoCC, fetchzip }: 2 3 let 4 majorVersion = "0"; 5 minorVersion = "100"; 6 + in 7 + stdenvNoCC.mkDerivation (self: { 8 pname = "seshat"; 9 + version = "${majorVersion}.${minorVersion}"; 10 + 11 + src = fetchzip { 12 + url = "https://dotcolon.net/download/fonts/${self.pname}_${majorVersion}${minorVersion}.zip"; 13 + hash = "sha256-XgprDhzAbcTzZw2QOwpCnzusYheYmSlM+ApU+Y0wO2Q="; 14 + stripRoot = false; 15 + }; 16 17 + installPhase = '' 18 + runHook preInstall 19 20 + install -D -m444 -t $out/share/fonts/opentype $src/*.otf 21 22 + runHook postInstall 23 ''; 24 25 meta = with lib; { 26 + homepage = "http://dotcolon.net/font/${self.pname}/"; 27 description = "Roman body font designed for main text by Sora Sagano"; 28 longDescription = '' 29 Seshat is a Roman body font designed for the main text. By ··· 36 It incorporates symbols and ligatures used in the European region. 37 ''; 38 platforms = platforms.all; 39 + maintainers = with maintainers; [ leenaars minijackson ]; 40 license = licenses.cc0; 41 }; 42 + })
+15 -12
pkgs/data/fonts/takao/default.nix
··· 1 - { fetchzip, lib }: 2 3 - let 4 version = "00303.01"; 5 - in 6 - fetchzip { 7 - name = "takao-${version}"; 8 - url = "mirror://ubuntu/pool/universe/f/fonts-takao/fonts-takao_${version}.orig.tar.gz"; 9 - sha256 = "sha256-TlPq3iIv8vHlxYu5dkX/Lf6ediYKQaQ5uMbFvypQM/w="; 10 11 - postFetch = '' 12 - unpackDir="$TMPDIR/unpack" 13 - mkdir "$unpackDir" 14 - cd "$unpackDir" 15 - tar xf "$downloadedFile" --strip-components=1 16 mkdir -p $out/share/fonts 17 cp *.ttf $out/share/fonts 18 ''; 19 20 meta = with lib; {
··· 1 + { lib, stdenvNoCC, fetchurl }: 2 3 + stdenvNoCC.mkDerivation rec { 4 + pname = "takao"; 5 version = "00303.01"; 6 + 7 + src = fetchurl { 8 + url = "mirror://ubuntu/pool/universe/f/fonts-${pname}/fonts-${pname}_${version}.orig.tar.gz"; 9 + hash = "sha256-0wjHNv1yStp0q9D0WfwjgUYoUKcCrXA5jFO8PEVgq5k="; 10 + }; 11 + 12 + dontBuild = true; 13 + 14 + installPhase = '' 15 + runHook preInstall 16 17 mkdir -p $out/share/fonts 18 cp *.ttf $out/share/fonts 19 + 20 + runHook postInstall 21 ''; 22 23 meta = with lib; {
+17 -12
pkgs/data/fonts/tenderness/default.nix
··· 1 - { lib, fetchzip }: 2 3 let 4 majorVersion = "0"; 5 minorVersion = "601"; 6 pname = "tenderness"; 7 - in 8 9 - fetchzip { 10 - name = "${pname}-font-${majorVersion}.${minorVersion}"; 11 12 - url = "http://dotcolon.net/DL/font/${pname}_${majorVersion}${minorVersion}.zip"; 13 - sha256 = "0d88l5mzq0k63zsmb8d5w3hfqxy04vpv4j0j8nmj1xv6kikhhybh"; 14 15 - postFetch = '' 16 - mkdir -p $out/share/fonts/opentype/${pname} 17 - unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype/${pname} 18 ''; 19 20 meta = with lib; { 21 - homepage = "http://dotcolon.net/font/${pname}/"; 22 description = "Serif font designed by Sora Sagano with old-style figures"; 23 platforms = platforms.all; 24 - maintainers = with maintainers; [ leenaars ]; 25 license = licenses.ofl; 26 }; 27 - }
··· 1 + { lib, stdenvNoCC, fetchzip }: 2 3 let 4 majorVersion = "0"; 5 minorVersion = "601"; 6 + in 7 + stdenvNoCC.mkDerivation (self: { 8 pname = "tenderness"; 9 + version = "${majorVersion}.${minorVersion}"; 10 + 11 + src = fetchzip { 12 + url = "https://dotcolon.net/download/fonts/${self.pname}_${majorVersion}${minorVersion}.zip"; 13 + hash = "sha256-bwJKW+rY7/r2pBCSA6HYlaRMsI/U8UdW2vV4tmYuJww="; 14 + stripRoot = false; 15 + }; 16 17 + installPhase = '' 18 + runHook preInstall 19 20 + install -D -m444 -t $out/share/fonts/opentype $src/*.otf 21 22 + runHook postInstall 23 ''; 24 25 meta = with lib; { 26 + homepage = "http://dotcolon.net/font/${self.pname}/"; 27 description = "Serif font designed by Sora Sagano with old-style figures"; 28 platforms = platforms.all; 29 + maintainers = with maintainers; [ leenaars minijackson ]; 30 license = licenses.ofl; 31 }; 32 + })
+16 -9
pkgs/data/fonts/tibetan-machine/default.nix
··· 1 - { fetchzip, lib }: 2 3 - let 4 version = "1.901b"; 5 - in 6 - fetchzip { 7 - name = "tibetan-machine-${version}"; 8 - url = "mirror://debian/pool/main/f/fonts-tibetan-machine/fonts-tibetan-machine_${version}.orig.tar.bz2"; 9 - sha256 = "sha256-A+RgpFLsP4iTzl0PMRHaNzWGbDR5Qa38lRegNJ96ULo="; 10 11 - postFetch = '' 12 mkdir -p $out/share/fonts 13 - tar xf $downloadedFile --strip-components=1 -C $out/share/fonts ttf-tmuni-${version}/TibMachUni-${version}.ttf 14 ''; 15 16 meta = with lib; {
··· 1 + { lib, stdenvNoCC, fetchurl }: 2 3 + stdenvNoCC.mkDerivation rec { 4 + pname = "tibetan-machine"; 5 version = "1.901b"; 6 + 7 + src = fetchurl { 8 + url = "mirror://debian/pool/main/f/fonts-${pname}/fonts-${pname}_${version}.orig.tar.bz2"; 9 + hash = "sha256-c/1Sgv7xKHpsJGjY9ZY2qOJHShGHL1robvphFNJOt5w="; 10 + }; 11 + 12 + dontBuild = true; 13 + 14 + installPhase = '' 15 + runHook preInstall 16 17 mkdir -p $out/share/fonts 18 + cp *.ttf $out/share/fonts 19 + 20 + runHook postInstall 21 ''; 22 23 meta = with lib; {
+15 -12
pkgs/data/fonts/ttf-bitstream-vera/default.nix
··· 1 - { lib, fetchzip }: 2 - let 3 pname = "ttf-bitstream-vera"; 4 version = "1.10"; 5 - in 6 - fetchzip rec { 7 - name = "${pname}-${version}"; 8 9 - url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${name}.tar.bz2"; 10 11 - postFetch = '' 12 - tar -xjf $downloadedFile --strip-components=1 13 install -m444 -Dt $out/share/fonts/truetype *.ttf 14 ''; 15 16 - sha256 = "179hal4yi3367jg8rsvqx6h2w4s0kn9zzrv8c47sslyg28g39s4m"; 17 - 18 - meta = { 19 - }; 20 }
··· 1 + { lib, stdenvNoCC, fetchurl }: 2 + 3 + stdenvNoCC.mkDerivation rec { 4 pname = "ttf-bitstream-vera"; 5 version = "1.10"; 6 + 7 + src = fetchurl { 8 + url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2"; 9 + hash = "sha256-21sn33u7MYA269t1rNPpjxvW62YI+3CmfUeM0kPReNw="; 10 + }; 11 + 12 + dontBuild = true; 13 14 + installPhase = '' 15 + runHook preInstall 16 17 install -m444 -Dt $out/share/fonts/truetype *.ttf 18 + 19 + runHook postInstall 20 ''; 21 22 + meta = { }; 23 }
+15 -9
pkgs/data/fonts/unfonts-core/default.nix
··· 1 - { lib, fetchzip }: 2 3 - let 4 pname = "unfonts-core"; 5 version = "1.0.2-080608"; 6 - in fetchzip { 7 - name = "${pname}-${version}"; 8 - url = "https://kldp.net/unfonts/release/2607-un-fonts-core-${version}.tar.gz"; 9 - hash = "sha256-k9C7d/SbVLWFzRnDWpOIMtY6cAEIcaLcbxQAqjwuWds="; 10 11 - postFetch = '' 12 - tar -xzf $downloadedFile --strip-components=1 13 install -m444 -Dt $out/share/fonts/truetype *.ttf 14 ''; 15 16 meta = with lib; { ··· 20 The Un-fonts come from the HLaTeX as type1 fonts in 1998 by Koaunghi Un, he made type1 fonts to use with Korean TeX (HLaTeX) in the late 1990's and released it under the GPL license. 21 22 They were converted to TrueType with the FontForge (PfaEdit) by Won-kyu Park in 2003. 23 - ''; 24 license = licenses.gpl2; 25 platforms = platforms.all; 26 maintainers = [ maintainers.ehmry ];
··· 1 + { lib, stdenvNoCC, fetchurl }: 2 3 + stdenvNoCC.mkDerivation rec { 4 pname = "unfonts-core"; 5 version = "1.0.2-080608"; 6 7 + src = fetchurl { 8 + url = "https://kldp.net/unfonts/release/2607-un-fonts-core-${version}.tar.gz"; 9 + hash = "sha256-OwpydPmqt+jw8ZOMAacOFYF2bVG0lLoUVoPzesVXkY4="; 10 + }; 11 + 12 + dontBuild = true; 13 + 14 + installPhase = '' 15 + runHook preInstall 16 + 17 install -m444 -Dt $out/share/fonts/truetype *.ttf 18 + 19 + runHook postInstall 20 ''; 21 22 meta = with lib; { ··· 26 The Un-fonts come from the HLaTeX as type1 fonts in 1998 by Koaunghi Un, he made type1 fonts to use with Korean TeX (HLaTeX) in the late 1990's and released it under the GPL license. 27 28 They were converted to TrueType with the FontForge (PfaEdit) by Won-kyu Park in 2003. 29 + ''; 30 license = licenses.gpl2; 31 platforms = platforms.all; 32 maintainers = [ maintainers.ehmry ];
+15 -8
pkgs/data/fonts/vdrsymbols/default.nix
··· 1 - { lib, fetchzip }: 2 3 - fetchzip { 4 - name = "vdrsymbols-20100612"; 5 6 - url = "http://andreas.vdr-developer.org/fonts/download/vdrsymbols-ttf-20100612.tgz"; 7 8 - sha256 = "0wpxns8zqic98c84j18dr4zmj092v07yq07vwwgzblr0rw9n6gzr"; 9 10 - postFetch = '' 11 - tar xvzf "$downloadedFile" 12 - install -Dm444 -t "$out/share/fonts/truetype" */*.ttf 13 ''; 14 15 meta = with lib; {
··· 1 + { lib, stdenvNoCC, fetchurl }: 2 + 3 + stdenvNoCC.mkDerivation rec { 4 + pname = "vdrsymbols"; 5 + version = "20100612"; 6 7 + src = fetchurl { 8 + url = "http://andreas.vdr-developer.org/fonts/download/${pname}-ttf-${version}.tgz"; 9 + hash = "sha256-YxB+JcDkta5are+OQyP/WKDL0vllgn0m26bU9mQ3C/Q="; 10 + }; 11 + 12 + dontBuild = true; 13 14 + installPhase = '' 15 + runHook preInstall 16 17 + install -Dm444 -t "$out/share/fonts/truetype" *.ttf 18 19 + runHook postInstall 20 ''; 21 22 meta = with lib; {
+20 -14
pkgs/data/fonts/vegur/default.nix
··· 1 - { lib, buildPackages, fetchzip }: 2 3 let 4 - version = "0.701"; 5 - in fetchzip { 6 - name = "vegur-font-${version}"; 7 8 - # Upstream doesn't version their URLs. 9 - # http://dotcolon.net/font/vegur/ → http://dotcolon.net/DL/font/vegur.zip 10 - url = "http://download.opensuse.org/repositories/M17N:/fonts/SLE_12_SP3/src/dotcolon-vegur-fonts-0.701-1.4.src.rpm"; 11 12 - postFetch = '' 13 - ${buildPackages.rpmextract}/bin/rpmextract $downloadedFile 14 - unzip vegur.zip 15 - install -m444 -Dt $out/share/fonts/Vegur *.otf 16 ''; 17 - sha256 = "0iisi2scq72lyj7pc1f36fhfjnm676n5byl4zaavhbxpdrbc6d1v"; 18 19 meta = with lib; { 20 homepage = "http://dotcolon.net/font/vegur/"; 21 description = "A humanist sans serif font"; 22 platforms = platforms.all; 23 - maintainers = [ maintainers.samueldr ]; 24 license = licenses.cc0; 25 }; 26 - }
··· 1 + { lib, stdenvNoCC, fetchzip }: 2 3 let 4 + majorVersion = "0"; 5 + minorVersion = "701"; 6 + in 7 + stdenvNoCC.mkDerivation (self: { 8 + pname = "vegur"; 9 + version = "${majorVersion}.${minorVersion}"; 10 11 + src = fetchzip { 12 + url = "https://dotcolon.net/download/fonts/${self.pname}_${majorVersion}${minorVersion}.zip"; 13 + hash = "sha256-sGb3mEb3g15ZiVCxEfAanly8zMUopLOOjw8W4qbXLPA="; 14 + stripRoot = false; 15 + }; 16 + 17 + installPhase = '' 18 + runHook preInstall 19 20 + install -D -m444 -t $out/share/fonts/opentype $src/*.otf 21 + 22 + runHook postInstall 23 ''; 24 25 meta = with lib; { 26 homepage = "http://dotcolon.net/font/vegur/"; 27 description = "A humanist sans serif font"; 28 platforms = platforms.all; 29 + maintainers = with maintainers; [ minijackson samueldr ]; 30 license = licenses.cc0; 31 }; 32 + })
+15 -9
pkgs/data/fonts/wqy-microhei/default.nix
··· 1 - { lib, fetchzip }: 2 3 - fetchzip rec { 4 - name = "wqy-microhei-0.2.0-beta"; 5 6 - url = "mirror://sourceforge/wqy/${name}.tar.gz"; 7 8 - postFetch = '' 9 - tar -xzf $downloadedFile --strip-components=1 10 install -Dm644 wqy-microhei.ttc $out/share/fonts/wqy-microhei.ttc 11 ''; 12 - 13 - sha256 = "0i5jh7mkp371fxqmsvn7say075r641yl4hq26isjyrqvb8cv92a9"; 14 15 meta = { 16 description = "A (mainly) Chinese Unicode font"; ··· 20 platforms = lib.platforms.all; 21 }; 22 } 23 -
··· 1 + { lib, stdenvNoCC, fetchurl }: 2 3 + stdenvNoCC.mkDerivation rec { 4 + pname = "wqy-microhei"; 5 + version = "0.2.0"; 6 7 + src = fetchurl { 8 + url = "mirror://sourceforge/wqy/${pname}-${version}-beta.tar.gz"; 9 + hash = "sha256-KAKsgCOqNqZupudEWFTjoHjTd///QhaTQb0jeHH3IT4="; 10 + }; 11 12 + dontBuild = true; 13 + 14 + installPhase = '' 15 + runHook preInstall 16 + 17 install -Dm644 wqy-microhei.ttc $out/share/fonts/wqy-microhei.ttc 18 + 19 + runHook postInstall 20 ''; 21 22 meta = { 23 description = "A (mainly) Chinese Unicode font"; ··· 27 platforms = lib.platforms.all; 28 }; 29 }
+14 -9
pkgs/data/fonts/wqy-zenhei/default.nix
··· 1 - { lib, fetchzip }: 2 3 - let 4 version = "0.9.45"; 5 - in fetchzip rec { 6 - name = "wqy-zenhei-${version}"; 7 8 - url = "mirror://sourceforge/wqy/${name}.tar.gz"; 9 10 - postFetch = '' 11 - tar -xzf $downloadedFile --strip-components=1 12 mkdir -p $out/share/fonts 13 install -m644 *.ttc $out/share/fonts/ 14 ''; 15 - 16 - sha256 = "0hbjq6afcd63nsyjzrjf8fmm7pn70jcly7fjzjw23v36ffi0g255"; 17 18 meta = { 19 description = "A (mainly) Chinese Unicode font";
··· 1 + { lib, stdenvNoCC, fetchurl }: 2 3 + stdenvNoCC.mkDerivation rec { 4 + pname = "wqy-zenhei"; 5 version = "0.9.45"; 6 + 7 + src = fetchurl { 8 + url = "mirror://sourceforge/wqy/${pname}-${version}.tar.gz"; 9 + hash = "sha256-5LfjBkdb+UJ9F1dXjw5FKJMMhMROqj8WfUxC8RDuddY="; 10 + }; 11 + 12 + dontBuild = true; 13 14 + installPhase = '' 15 + runHook preInstall 16 17 mkdir -p $out/share/fonts 18 install -m644 *.ttc $out/share/fonts/ 19 + 20 + runHook postInstall 21 ''; 22 23 meta = { 24 description = "A (mainly) Chinese Unicode font";
+1 -1
pkgs/development/compilers/go-jsonnet/default.nix
··· 11 hash = "sha256-FgQYnas0qkIedRAA8ApZXLzEylg6PS6+8zzl7j+yOeI="; 12 }; 13 14 - vendorSha256 = "sha256-j1fTOUpLx34TgzW94A/BctLrg9XoTtb3cBizhVJoEEI="; 15 16 patches = [ 17 # See https://github.com/google/go-jsonnet/issues/653.
··· 11 hash = "sha256-FgQYnas0qkIedRAA8ApZXLzEylg6PS6+8zzl7j+yOeI="; 12 }; 13 14 + vendorHash = "sha256-j1fTOUpLx34TgzW94A/BctLrg9XoTtb3cBizhVJoEEI="; 15 16 patches = [ 17 # See https://github.com/google/go-jsonnet/issues/653.
+2 -2
pkgs/development/libraries/mdds/default.nix
··· 8 9 stdenv.mkDerivation (finalAttrs: { 10 pname = "mdds"; 11 - version = "2.0.3"; 12 13 src = fetchFromGitLab { 14 owner = "mdds"; 15 repo = "mdds"; 16 rev = finalAttrs.version; 17 - hash = "sha256-Y9uBJKM34UTEj/3c1w69QHhvwFcMNlAohEco0O0B+xI="; 18 }; 19 20 nativeBuildInputs = [ autoreconfHook ];
··· 8 9 stdenv.mkDerivation (finalAttrs: { 10 pname = "mdds"; 11 + version = "2.1.0"; 12 13 src = fetchFromGitLab { 14 owner = "mdds"; 15 repo = "mdds"; 16 rev = finalAttrs.version; 17 + hash = "sha256-RZ2wGwle4raWlogc5X+VEeriPGS0Nqs7CWGENFEotvs="; 18 }; 19 20 nativeBuildInputs = [ autoreconfHook ];
+11 -11
pkgs/development/libraries/raft-canonical/default.nix
··· 2 3 stdenv.mkDerivation rec { 4 pname = "raft-canonical"; 5 - version = "0.11.2"; 6 7 src = fetchFromGitHub { 8 owner = "canonical"; 9 repo = "raft"; 10 - rev = "v${version}"; 11 - sha256 = "050dwy34jh8dihfwfm0r1by2i3sy9crapipp9idw32idm79y4izb"; 12 }; 13 14 nativeBuildInputs = [ autoreconfHook file pkg-config ]; ··· 16 17 enableParallelBuilding = true; 18 19 - # Ignore broken test, likely not causing huge breakage 20 - # (https://github.com/canonical/raft/issues/292) 21 - postPatch = '' 22 - substituteInPlace test/integration/test_uv_tcp_connect.c --replace \ 23 - "TEST(tcp_connect, closeDuringHandshake, setUp, tearDownDeps, 0, NULL)" \ 24 - "TEST(tcp_connect, closeDuringHandshake, setUp, tearDownDeps, MUNIT_TEST_OPTION_TODO, NULL)" 25 - ''; 26 27 preConfigure = '' 28 substituteInPlace configure --replace /usr/bin/ " " ··· 46 homepage = "https://github.com/canonical/raft"; 47 license = licenses.asl20; 48 platforms = platforms.linux; 49 - maintainers = with maintainers; [ wucke13 ]; 50 }; 51 }
··· 2 3 stdenv.mkDerivation rec { 4 pname = "raft-canonical"; 5 + version = "0.16.0"; 6 7 src = fetchFromGitHub { 8 owner = "canonical"; 9 repo = "raft"; 10 + rev = "refs/tags/v${version}"; 11 + hash = "sha256-qDLAEhknY+BB83OC6tfi7w/ZY/K492J5ZglLNUoBwbc="; 12 }; 13 14 nativeBuildInputs = [ autoreconfHook file pkg-config ]; ··· 16 17 enableParallelBuilding = true; 18 19 + patches = [ 20 + # network tests either hang indefinitely, or fail outright 21 + ./disable-net-tests.patch 22 + 23 + # missing dir check is flaky 24 + ./disable-missing-dir-test.patch 25 + ]; 26 27 preConfigure = '' 28 substituteInPlace configure --replace /usr/bin/ " " ··· 46 homepage = "https://github.com/canonical/raft"; 47 license = licenses.asl20; 48 platforms = platforms.linux; 49 + maintainers = with maintainers; [ wucke13 adamcstephens ]; 50 }; 51 }
+23
pkgs/development/libraries/raft-canonical/disable-missing-dir-test.patch
···
··· 1 + diff --git a/test/unit/test_uv_fs.c b/test/unit/test_uv_fs.c 2 + index 638c39c..c8758d2 100644 3 + --- a/test/unit/test_uv_fs.c 4 + +++ b/test/unit/test_uv_fs.c 5 + @@ -40,18 +40,6 @@ TEST(UvFsCheckDir, exists, DirSetUp, DirTearDown, 0, NULL) 6 + return MUNIT_OK; 7 + } 8 + 9 + -/* If the directory doesn't exist, it an error is returned. */ 10 + -TEST(UvFsCheckDir, doesNotExist, DirSetUp, DirTearDown, 0, NULL) 11 + -{ 12 + - const char *parent = data; 13 + - char errmsg[RAFT_ERRMSG_BUF_SIZE]; 14 + - char dir[128]; 15 + - sprintf(errmsg, "%s/sub", parent); 16 + - sprintf(errmsg, "directory '%s' does not exist", dir); 17 + - CHECK_DIR_ERROR(dir, RAFT_NOTFOUND, errmsg); 18 + - return MUNIT_OK; 19 + -} 20 + - 21 + /* If the process can't access the directory, an error is returned. */ 22 + TEST(UvFsCheckDir, permissionDenied, NULL, NULL, 0, NULL) 23 + {
+16
pkgs/development/libraries/raft-canonical/disable-net-tests.patch
···
··· 1 + diff --git a/Makefile.am b/Makefile.am 2 + index 2137932..93abdb6 100644 3 + --- a/Makefile.am 4 + +++ b/Makefile.am 5 + @@ -198,11 +198,7 @@ test_integration_uv_SOURCES = \ 6 + test/integration/test_uv_bootstrap.c \ 7 + test/integration/test_uv_load.c \ 8 + test/integration/test_uv_recover.c \ 9 + - test/integration/test_uv_recv.c \ 10 + - test/integration/test_uv_send.c \ 11 + test/integration/test_uv_set_term.c \ 12 + - test/integration/test_uv_tcp_connect.c \ 13 + - test/integration/test_uv_tcp_listen.c \ 14 + test/integration/test_uv_snapshot_put.c \ 15 + test/integration/test_uv_truncate.c \ 16 + test/integration/test_uv_work.c
+2 -12
pkgs/development/python-modules/aio-geojson-client/default.nix
··· 3 , aresponses 4 , buildPythonPackage 5 , fetchFromGitHub 6 - , fetchpatch 7 , geojson 8 , haversine 9 , mock ··· 14 15 buildPythonPackage rec { 16 pname = "aio-geojson-client"; 17 - version = "0.17"; 18 format = "setuptools"; 19 20 disabled = pythonOlder "3.7"; ··· 23 owner = "exxamalte"; 24 repo = "python-aio-geojson-client"; 25 rev = "refs/tags/v${version}"; 26 - hash = "sha256-5GiQgtbvYeleovFbXO2vlr2XPsDIWZiElM64O+urMcY="; 27 }; 28 - 29 - patches = [ 30 - # Remove asynctest, https://github.com/exxamalte/python-aio-geojson-client/pull/35 31 - (fetchpatch { 32 - name = "remove-asynctest.patch"; 33 - url = "https://github.com/exxamalte/python-aio-geojson-client/commit/bf617d9898a99b026b43b28bd87bb6479f518c0a.patch"; 34 - hash = "sha256-uomH3LCaklfGURDs8SsnvNyHkubbe+5dleLEjW+I+M4="; 35 - }) 36 - ]; 37 38 propagatedBuildInputs = [ 39 aiohttp
··· 3 , aresponses 4 , buildPythonPackage 5 , fetchFromGitHub 6 , geojson 7 , haversine 8 , mock ··· 13 14 buildPythonPackage rec { 15 pname = "aio-geojson-client"; 16 + version = "0.18"; 17 format = "setuptools"; 18 19 disabled = pythonOlder "3.7"; ··· 22 owner = "exxamalte"; 23 repo = "python-aio-geojson-client"; 24 rev = "refs/tags/v${version}"; 25 + hash = "sha256-nvfy1XLiMjyCiQo/YuzRbDtxGmAUAiq8UJwS/SkN3oM="; 26 }; 27 28 propagatedBuildInputs = [ 29 aiohttp
+2 -1
pkgs/development/python-modules/aio-geojson-generic-client/default.nix
··· 21 src = fetchFromGitHub { 22 owner = "exxamalte"; 23 repo = "python-aio-geojson-generic-client"; 24 - rev = "v${version}"; 25 hash = "sha256-6Gc3SRRQiISBZnCg7a+rCQHR4NQipBHmG5gWZZXIsxY="; 26 }; 27 ··· 45 meta = with lib; { 46 description = "Python library for accessing GeoJSON feeds"; 47 homepage = "https://github.com/exxamalte/python-aio-geojson-generic-client"; 48 license = with licenses; [ asl20 ]; 49 maintainers = with maintainers; [ fab ]; 50 };
··· 21 src = fetchFromGitHub { 22 owner = "exxamalte"; 23 repo = "python-aio-geojson-generic-client"; 24 + rev = "refs/tags/v${version}"; 25 hash = "sha256-6Gc3SRRQiISBZnCg7a+rCQHR4NQipBHmG5gWZZXIsxY="; 26 }; 27 ··· 45 meta = with lib; { 46 description = "Python library for accessing GeoJSON feeds"; 47 homepage = "https://github.com/exxamalte/python-aio-geojson-generic-client"; 48 + changelog = "https://github.com/exxamalte/python-aio-geojson-generic-client/blob/v${version}/CHANGELOG.md"; 49 license = with licenses; [ asl20 ]; 50 maintainers = with maintainers; [ fab ]; 51 };
+5 -4
pkgs/development/python-modules/aio-geojson-geonetnz-quakes/default.nix
··· 12 13 buildPythonPackage rec { 14 pname = "aio-geojson-geonetnz-quakes"; 15 - version = "0.14"; 16 format = "setuptools"; 17 18 disabled = pythonOlder "3.7"; ··· 20 src = fetchFromGitHub { 21 owner = "exxamalte"; 22 repo = "python-aio-geojson-geonetnz-quakes"; 23 - rev = "v${version}"; 24 - hash = "sha256-T3vQodb0/3YEjsyHLSI8DBKK75J8hvsaBqyQI7GkT3U="; 25 }; 26 27 propagatedBuildInputs = [ ··· 42 43 meta = with lib; { 44 description = "Python module for accessing the GeoNet NZ Quakes GeoJSON feeds"; 45 - homepage = "https://github.com/exxamalte/pythonaio-geojson-geonetnz-quakes"; 46 license = with licenses; [ asl20 ]; 47 maintainers = with maintainers; [ fab ]; 48 };
··· 12 13 buildPythonPackage rec { 14 pname = "aio-geojson-geonetnz-quakes"; 15 + version = "0.15"; 16 format = "setuptools"; 17 18 disabled = pythonOlder "3.7"; ··· 20 src = fetchFromGitHub { 21 owner = "exxamalte"; 22 repo = "python-aio-geojson-geonetnz-quakes"; 23 + rev = "refs/tags/v${version}"; 24 + hash = "sha256-/EPPEGLtiZBorZMnVg0NqwnHCbCXyZzz4449MzAYQx8="; 25 }; 26 27 propagatedBuildInputs = [ ··· 42 43 meta = with lib; { 44 description = "Python module for accessing the GeoNet NZ Quakes GeoJSON feeds"; 45 + homepage = "https://github.com/exxamalte/python-aio-geojson-geonetnz-quakes"; 46 + changelog = "https://github.com/exxamalte/python-aio-geojson-geonetnz-quakes/blob/v${version}/CHANGELOG.md"; 47 license = with licenses; [ asl20 ]; 48 maintainers = with maintainers; [ fab ]; 49 };
+2 -12
pkgs/development/python-modules/aio-geojson-geonetnz-volcano/default.nix
··· 5 , mock 6 , buildPythonPackage 7 , fetchFromGitHub 8 - , fetchpatch 9 , pytest-asyncio 10 , pytestCheckHook 11 , pytz ··· 14 15 buildPythonPackage rec { 16 pname = "aio-geojson-geonetnz-volcano"; 17 - version = "0.7"; 18 format = "setuptools"; 19 20 disabled = pythonOlder "3.7"; ··· 23 owner = "exxamalte"; 24 repo = "python-aio-geojson-geonetnz-volcano"; 25 rev = "refs/tags/v${version}"; 26 - sha256 = "sha256-2iVUHMk4ydmGmmGS6lJV5pvxJHyP9bRSeh/dOXbquE0="; 27 }; 28 - 29 - patches = [ 30 - # Remove asynctest, https://github.com/exxamalte/python-aio-geojson-geonetnz-volcano/pull/18 31 - (fetchpatch { 32 - name = "remove-asynctest.patch"; 33 - url = "https://github.com/exxamalte/python-aio-geojson-geonetnz-volcano/commit/d04a488130375c78efa541fd63a5d88bd6b0fd49.patch"; 34 - hash = "sha256-ArG8CovJckzzNebd03WeU5i/jPqy2HRVBL3ICk5nZ5Y="; 35 - }) 36 - ]; 37 38 propagatedBuildInputs = [ 39 aio-geojson-client
··· 5 , mock 6 , buildPythonPackage 7 , fetchFromGitHub 8 , pytest-asyncio 9 , pytestCheckHook 10 , pytz ··· 13 14 buildPythonPackage rec { 15 pname = "aio-geojson-geonetnz-volcano"; 16 + version = "0.8"; 17 format = "setuptools"; 18 19 disabled = pythonOlder "3.7"; ··· 22 owner = "exxamalte"; 23 repo = "python-aio-geojson-geonetnz-volcano"; 24 rev = "refs/tags/v${version}"; 25 + sha256 = "sha256-wJVFjy6QgYb6GX9pZTylYFvCRWmD2lAFZKnodsa8Yqo="; 26 }; 27 28 propagatedBuildInputs = [ 29 aio-geojson-client
+4 -5
pkgs/development/python-modules/aio-geojson-nsw-rfs-incidents/default.nix
··· 2 , aio-geojson-client 3 , aiohttp 4 , aresponses 5 - , asynctest 6 , buildPythonPackage 7 , fetchFromGitHub 8 , pytest-asyncio ··· 13 14 buildPythonPackage rec { 15 pname = "aio-geojson-nsw-rfs-incidents"; 16 - version = "0.5"; 17 format = "setuptools"; 18 19 disabled = pythonOlder "3.7"; ··· 21 src = fetchFromGitHub { 22 owner = "exxamalte"; 23 repo = "python-aio-geojson-nsw-rfs-incidents"; 24 - rev = "v${version}"; 25 - sha256 = "sha256-rWlt4MYnuY+CzszFVDniWBnqpQW3WldSEl00ns3ko3U="; 26 }; 27 28 propagatedBuildInputs = [ ··· 33 34 nativeCheckInputs = [ 35 aresponses 36 - asynctest 37 pytest-asyncio 38 pytestCheckHook 39 ]; ··· 45 meta = with lib; { 46 description = "Python module for accessing the NSW Rural Fire Service incidents feeds"; 47 homepage = "https://github.com/exxamalte/python-aio-geojson-nsw-rfs-incidents"; 48 license = with licenses; [ asl20 ]; 49 maintainers = with maintainers; [ fab ]; 50 };
··· 2 , aio-geojson-client 3 , aiohttp 4 , aresponses 5 , buildPythonPackage 6 , fetchFromGitHub 7 , pytest-asyncio ··· 12 13 buildPythonPackage rec { 14 pname = "aio-geojson-nsw-rfs-incidents"; 15 + version = "0.6"; 16 format = "setuptools"; 17 18 disabled = pythonOlder "3.7"; ··· 20 src = fetchFromGitHub { 21 owner = "exxamalte"; 22 repo = "python-aio-geojson-nsw-rfs-incidents"; 23 + rev = "refs/tags/v${version}"; 24 + hash = "sha256-pn0r5iLpNnK3xmAhq/oX90hdiHgFDuwDQqfAzkp5jmw="; 25 }; 26 27 propagatedBuildInputs = [ ··· 32 33 nativeCheckInputs = [ 34 aresponses 35 pytest-asyncio 36 pytestCheckHook 37 ]; ··· 43 meta = with lib; { 44 description = "Python module for accessing the NSW Rural Fire Service incidents feeds"; 45 homepage = "https://github.com/exxamalte/python-aio-geojson-nsw-rfs-incidents"; 46 + changelog = "https://github.com/exxamalte/python-aio-geojson-geonetnz-quakes/blob/v${version}/CHANGELOG.md"; 47 license = with licenses; [ asl20 ]; 48 maintainers = with maintainers; [ fab ]; 49 };
+2 -1
pkgs/development/python-modules/aio-geojson-usgs-earthquakes/default.nix
··· 21 src = fetchFromGitHub { 22 owner = "exxamalte"; 23 repo = "python-aio-geojson-usgs-earthquakes"; 24 - rev = "v${version}"; 25 hash = "sha256-Hb0/BdK/jjxlPl9WJJpFdOCzZpZDCguXoGreGIyN8oo="; 26 }; 27 ··· 45 meta = with lib; { 46 description = "Python module for accessing the U.S. Geological Survey Earthquake Hazards Program feeds"; 47 homepage = "https://github.com/exxamalte/python-aio-geojson-usgs-earthquakes"; 48 license = with licenses; [ asl20 ]; 49 maintainers = with maintainers; [ fab ]; 50 };
··· 21 src = fetchFromGitHub { 22 owner = "exxamalte"; 23 repo = "python-aio-geojson-usgs-earthquakes"; 24 + rev = "refs/tags/v${version}"; 25 hash = "sha256-Hb0/BdK/jjxlPl9WJJpFdOCzZpZDCguXoGreGIyN8oo="; 26 }; 27 ··· 45 meta = with lib; { 46 description = "Python module for accessing the U.S. Geological Survey Earthquake Hazards Program feeds"; 47 homepage = "https://github.com/exxamalte/python-aio-geojson-usgs-earthquakes"; 48 + changelog = "https://github.com/exxamalte/python-aio-geojson-usgs-earthquakes/blob/v${version}/CHANGELOG.md"; 49 license = with licenses; [ asl20 ]; 50 maintainers = with maintainers; [ fab ]; 51 };
+2 -2
pkgs/development/python-modules/aioecowitt/default.nix
··· 10 11 buildPythonPackage rec { 12 pname = "aioecowitt"; 13 - version = "2022.11.0"; 14 format = "setuptools"; 15 16 disabled = pythonOlder "3.9"; ··· 19 owner = "home-assistant-libs"; 20 repo = pname; 21 rev = "refs/tags/${version}"; 22 - hash = "sha256-v+O4J3GZZelF3H3BbL7LVRZEIH01WrDNnmOOWG4rVT0="; 23 }; 24 25 propagatedBuildInputs = [
··· 10 11 buildPythonPackage rec { 12 pname = "aioecowitt"; 13 + version = "2023.01.0"; 14 format = "setuptools"; 15 16 disabled = pythonOlder "3.9"; ··· 19 owner = "home-assistant-libs"; 20 repo = pname; 21 rev = "refs/tags/${version}"; 22 + hash = "sha256-xOoKrGBkMEdpeiU1r27xlZp5s5sGJzvD7Ats+w6KR/o="; 23 }; 24 25 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/aioshelly/default.nix
··· 9 10 buildPythonPackage rec { 11 pname = "aioshelly"; 12 - version = "5.2.1"; 13 format = "setuptools"; 14 15 disabled = pythonOlder "3.9"; ··· 18 owner = "home-assistant-libs"; 19 repo = pname; 20 rev = "refs/tags/${version}"; 21 - hash = "sha256-rz8r+FieBQAZKxZR741CffuEyGcLe6ghdEKFGfeD6vg="; 22 }; 23 24 propagatedBuildInputs = [
··· 9 10 buildPythonPackage rec { 11 pname = "aioshelly"; 12 + version = "5.3.0"; 13 format = "setuptools"; 14 15 disabled = pythonOlder "3.9"; ··· 18 owner = "home-assistant-libs"; 19 repo = pname; 20 rev = "refs/tags/${version}"; 21 + hash = "sha256-tsjHs1v5Yth5XToznCdAWoe70Lhxqh6Mq/MHKSYYg14="; 22 }; 23 24 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/boschshcpy/default.nix
··· 10 11 buildPythonPackage rec { 12 pname = "boschshcpy"; 13 - version = "0.2.43"; 14 format = "setuptools"; 15 16 disabled = pythonOlder "3.7"; ··· 19 owner = "tschamm"; 20 repo = pname; 21 rev = version; 22 - sha256 = "sha256-qxJ1yt8KI3ekza1KNfRRBtpPLNC/X0q7ITPhZkS1hPM="; 23 }; 24 25 propagatedBuildInputs = [
··· 10 11 buildPythonPackage rec { 12 pname = "boschshcpy"; 13 + version = "0.2.48"; 14 format = "setuptools"; 15 16 disabled = pythonOlder "3.7"; ··· 19 owner = "tschamm"; 20 repo = pname; 21 rev = version; 22 + sha256 = "sha256-EPS9kqlognIoMnpgmFl32FVT1ahyliizLzGfgE3N24Y="; 23 }; 24 25 propagatedBuildInputs = [
+3 -3
pkgs/development/python-modules/cometblue-lite/default.nix
··· 8 9 buildPythonPackage rec { 10 pname = "cometblue-lite"; 11 - version = "0.5.3"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.8"; ··· 16 src = fetchFromGitHub { 17 owner = "neffs"; 18 repo = "python-cometblue_lite"; 19 - rev = version; 20 - hash = "sha256-KRWS2nqMFlF+IcBSmnQH3ptp6yxRQjAFY6aY0D7eZBs="; 21 }; 22 23 propagatedBuildInputs = [
··· 8 9 buildPythonPackage rec { 10 pname = "cometblue-lite"; 11 + version = "0.7.0"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.8"; ··· 16 src = fetchFromGitHub { 17 owner = "neffs"; 18 repo = "python-cometblue_lite"; 19 + rev = "refs/tags/${version}"; 20 + hash = "sha256-Cjd7PdZ2/neRr1jStDY5iJaGMJ/srnFmCea8aLNan6g="; 21 }; 22 23 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/dbus-fast/default.nix
··· 11 12 buildPythonPackage rec { 13 pname = "dbus-fast"; 14 - version = "1.83.1"; 15 format = "pyproject"; 16 17 disabled = pythonOlder "3.7"; ··· 20 owner = "Bluetooth-Devices"; 21 repo = pname; 22 rev = "refs/tags/v${version}"; 23 - hash = "sha256-hfO4dbMA6efQPwP0Bp/5IDb7mLHf1NuTuiJjhHivG6I="; 24 }; 25 26 nativeBuildInputs = [
··· 11 12 buildPythonPackage rec { 13 pname = "dbus-fast"; 14 + version = "1.84.0"; 15 format = "pyproject"; 16 17 disabled = pythonOlder "3.7"; ··· 20 owner = "Bluetooth-Devices"; 21 repo = pname; 22 rev = "refs/tags/v${version}"; 23 + hash = "sha256-AdfrzN7ufvy77tKjnHPNo+jHoHRw9fXtdUdYvdnMAjs="; 24 }; 25 26 nativeBuildInputs = [
+3 -2
pkgs/development/python-modules/django_silk/default.nix
··· 26 27 buildPythonPackage rec { 28 pname = "django-silk"; 29 - version = "5.0.2"; 30 format = "setuptools"; 31 32 disabled = pythonOlder "3.7"; ··· 35 owner = "jazzband"; 36 repo = "django-silk"; 37 rev = "refs/tags/${version}"; 38 - hash = "sha256-LzcbRZ9NLTkDTZ2eW+uXYqPbWDSdLZAJcYdD8JLuiDc="; 39 }; 40 41 # "test_time_taken" tests aren't suitable for reproducible execution, but Django's ··· 95 meta = with lib; { 96 description = "Silky smooth profiling for the Django Framework"; 97 homepage = "https://github.com/jazzband/django-silk"; 98 license = licenses.mit; 99 maintainers = with maintainers; [ ris ]; 100 };
··· 26 27 buildPythonPackage rec { 28 pname = "django-silk"; 29 + version = "5.0.3"; 30 format = "setuptools"; 31 32 disabled = pythonOlder "3.7"; ··· 35 owner = "jazzband"; 36 repo = "django-silk"; 37 rev = "refs/tags/${version}"; 38 + hash = "sha256-91FcOqAYZK7/RCKgXjbQEPUQ2cZRFi7NzVLQF+MMDRI="; 39 }; 40 41 # "test_time_taken" tests aren't suitable for reproducible execution, but Django's ··· 95 meta = with lib; { 96 description = "Silky smooth profiling for the Django Framework"; 97 homepage = "https://github.com/jazzband/django-silk"; 98 + changelog = "https://github.com/jazzband/django-silk/blob/${version}/CHANGELOG.md"; 99 license = licenses.mit; 100 maintainers = with maintainers; [ ris ]; 101 };
+2 -2
pkgs/development/python-modules/garminconnect/default.nix
··· 8 9 buildPythonPackage rec { 10 pname = "garminconnect"; 11 - version = "0.1.50"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.7"; ··· 17 owner = "cyberjunky"; 18 repo = "python-garminconnect"; 19 rev = "refs/tags/${version}"; 20 - hash = "sha256-M9FH8xbNo5NF2PktiG4SpZl4tjH7H937Rbqhe6VV+Bk="; 21 }; 22 23 propagatedBuildInputs = [
··· 8 9 buildPythonPackage rec { 10 pname = "garminconnect"; 11 + version = "0.1.51"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.7"; ··· 17 owner = "cyberjunky"; 18 repo = "python-garminconnect"; 19 rev = "refs/tags/${version}"; 20 + hash = "sha256-SEolk0bbq3vNNMFz5B/qELaiCFCZFXJD4zTH8hBUX+Y="; 21 }; 22 23 propagatedBuildInputs = [
+3 -2
pkgs/development/python-modules/gehomesdk/default.nix
··· 13 14 buildPythonPackage rec { 15 pname = "gehomesdk"; 16 - version = "0.5.7"; 17 format = "setuptools"; 18 19 disabled = pythonOlder "3.7"; 20 21 src = fetchPypi { 22 inherit pname version; 23 - sha256 = "sha256-FmCoryNX1DnqMlGalad5iWO2ZRZwXgWgARQMYlJ6yVo="; 24 }; 25 26 propagatedBuildInputs = [ ··· 44 meta = with lib; { 45 description = "Python SDK for GE smart appliances"; 46 homepage = "https://github.com/simbaja/gehome"; 47 license = licenses.mit; 48 maintainers = with maintainers; [ fab ]; 49 };
··· 13 14 buildPythonPackage rec { 15 pname = "gehomesdk"; 16 + version = "0.5.8"; 17 format = "setuptools"; 18 19 disabled = pythonOlder "3.7"; 20 21 src = fetchPypi { 22 inherit pname version; 23 + hash = "sha256-x83CmOAZFaIDv4bzO01YZxVPVM/cwUpJtKdCWOxH/O4="; 24 }; 25 26 propagatedBuildInputs = [ ··· 44 meta = with lib; { 45 description = "Python SDK for GE smart appliances"; 46 homepage = "https://github.com/simbaja/gehome"; 47 + changelog = "https://github.com/simbaja/gehome/blob/master/CHANGELOG.md"; 48 license = licenses.mit; 49 maintainers = with maintainers; [ fab ]; 50 };
+3 -2
pkgs/development/python-modules/geojson-client/default.nix
··· 19 src = fetchFromGitHub { 20 owner = "exxamalte"; 21 repo = "python-geojson-client"; 22 - rev = "v${version}"; 23 - sha256 = "sha256-nzM5P1ww6yWM3e2v3hRw0ECoYmRPhTs0Q7Wwicl+IpU="; 24 }; 25 26 propagatedBuildInputs = [ ··· 41 meta = with lib; { 42 description = "Python module for convenient access to GeoJSON feeds"; 43 homepage = "https://github.com/exxamalte/python-geojson-client"; 44 license = with licenses; [ asl20 ]; 45 maintainers = with maintainers; [ fab ]; 46 };
··· 19 src = fetchFromGitHub { 20 owner = "exxamalte"; 21 repo = "python-geojson-client"; 22 + rev = "refs/tags/v${version}"; 23 + hash = "sha256-nzM5P1ww6yWM3e2v3hRw0ECoYmRPhTs0Q7Wwicl+IpU="; 24 }; 25 26 propagatedBuildInputs = [ ··· 41 meta = with lib; { 42 description = "Python module for convenient access to GeoJSON feeds"; 43 homepage = "https://github.com/exxamalte/python-geojson-client"; 44 + changelog = "https://github.com/exxamalte/python-geojson-client/blob/v${version}/CHANGELOG.md"; 45 license = with licenses; [ asl20 ]; 46 maintainers = with maintainers; [ fab ]; 47 };
+2 -2
pkgs/development/python-modules/google-cloud-pubsub/default.nix
··· 16 17 buildPythonPackage rec { 18 pname = "google-cloud-pubsub"; 19 - version = "2.13.12"; 20 format = "setuptools"; 21 22 disabled = pythonOlder "3.7"; 23 24 src = fetchPypi { 25 inherit pname version; 26 - hash = "sha256-/qa/3RKWC0SDgDeax/CwiZtSc9Nxm1cHJAKT6si2ecw="; 27 }; 28 29 propagatedBuildInputs = [
··· 16 17 buildPythonPackage rec { 18 pname = "google-cloud-pubsub"; 19 + version = "2.14.0"; 20 format = "setuptools"; 21 22 disabled = pythonOlder "3.7"; 23 24 src = fetchPypi { 25 inherit pname version; 26 + hash = "sha256-4nFPB7dQRYvq9bB7Zw6ntgWO4VXAIcmH0LjmpAvzRG8="; 27 }; 28 29 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/google-cloud-texttospeech/default.nix
··· 12 13 buildPythonPackage rec { 14 pname = "google-cloud-texttospeech"; 15 - version = "2.14.0"; 16 format = "setuptools"; 17 18 disabled = pythonOlder "3.8"; 19 20 src = fetchPypi { 21 inherit pname version; 22 - hash = "sha256-q4OD37ryZqg40L89BNZdLCNeC1QPwVhUaT4S5tO88Jk="; 23 }; 24 25 propagatedBuildInputs = [
··· 12 13 buildPythonPackage rec { 14 pname = "google-cloud-texttospeech"; 15 + version = "2.14.1"; 16 format = "setuptools"; 17 18 disabled = pythonOlder "3.8"; 19 20 src = fetchPypi { 21 inherit pname version; 22 + hash = "sha256-3XFvKnaK1nUCz9mbmSXFH/1uFr6TtBCr7v/arBkL/oE="; 23 }; 24 25 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/griffe/default.nix
··· 12 13 buildPythonPackage rec { 14 pname = "griffe"; 15 - version = "0.25.3"; 16 format = "pyproject"; 17 18 disabled = pythonOlder "3.7"; ··· 21 owner = "mkdocstrings"; 22 repo = pname; 23 rev = "refs/tags/${version}"; 24 - hash = "sha256-t36uWIREn01/+dIYP5HYlkSPPjgoZoYbJYnFo3Y6qSw="; 25 }; 26 27 postPatch = ''
··· 12 13 buildPythonPackage rec { 14 pname = "griffe"; 15 + version = "0.25.4"; 16 format = "pyproject"; 17 18 disabled = pythonOlder "3.7"; ··· 21 owner = "mkdocstrings"; 22 repo = pname; 23 rev = "refs/tags/${version}"; 24 + hash = "sha256-AZZhwHtVhdHkztzr/Hdi63VC5CjK2Vz8h8zizmSUdNY="; 25 }; 26 27 postPatch = ''
+14 -9
pkgs/development/python-modules/mkdocstrings/default.nix
··· 14 15 buildPythonPackage rec { 16 pname = "mkdocstrings"; 17 - version = "0.19.1"; 18 format = "pyproject"; 19 20 disabled = pythonOlder "3.7"; ··· 22 src = fetchFromGitHub { 23 owner = "mkdocstrings"; 24 repo = pname; 25 - rev = version; 26 - sha256 = "sha256-VCWUV+3vXmKbAXImAqY/K4vsA64gHBg83VkxbJua/ao="; 27 }; 28 29 nativeBuildInputs = [ 30 pdm-pep517 ··· 43 pytestCheckHook 44 ]; 45 46 - postPatch = '' 47 - substituteInPlace pyproject.toml \ 48 - --replace 'dynamic = ["version"]' 'version = "${version}"' \ 49 - --replace 'license = "ISC"' 'license = {text = "ISC"}' 50 - ''; 51 - 52 pythonImportsCheck = [ 53 "mkdocstrings" 54 ]; ··· 56 disabledTestPaths = [ 57 # Circular dependencies 58 "tests/test_extension.py" 59 ]; 60 61 meta = with lib; {
··· 14 15 buildPythonPackage rec { 16 pname = "mkdocstrings"; 17 + version = "0.20.0"; 18 format = "pyproject"; 19 20 disabled = pythonOlder "3.7"; ··· 22 src = fetchFromGitHub { 23 owner = "mkdocstrings"; 24 repo = pname; 25 + rev = "refs/tags/${version}"; 26 + hash = "sha256-eFHcwbYEIwVWvDJWlmeUvEdqp3NYAF8SgdHJGw6bEMc="; 27 }; 28 + 29 + postPatch = '' 30 + substituteInPlace pyproject.toml \ 31 + --replace 'dynamic = ["version"]' 'version = "${version}"' \ 32 + --replace 'license = "ISC"' 'license = {text = "ISC"}' 33 + ''; 34 35 nativeBuildInputs = [ 36 pdm-pep517 ··· 49 pytestCheckHook 50 ]; 51 52 pythonImportsCheck = [ 53 "mkdocstrings" 54 ]; ··· 56 disabledTestPaths = [ 57 # Circular dependencies 58 "tests/test_extension.py" 59 + ]; 60 + 61 + disabledTests = [ 62 + # Not all requirements are available 63 + "test_disabling_plugin" 64 ]; 65 66 meta = with lib; {
+21 -10
pkgs/development/python-modules/openai/default.nix
··· 1 { lib 2 , buildPythonPackage 3 , fetchFromGitHub 4 , matplotlib 5 , numpy 6 , openpyxl 7 , pandas 8 , pandas-stubs 9 , plotly 10 , pytest-mock 11 , pytestCheckHook 12 , pythonOlder ··· 16 , tqdm 17 , typing-extensions 18 , wandb 19 }: 20 21 buildPythonPackage rec { 22 pname = "openai"; 23 - version = "0.25.0"; 24 format = "setuptools"; 25 26 disabled = pythonOlder "3.7.1"; ··· 29 owner = "openai"; 30 repo = "openai-python"; 31 rev = "v${version}"; 32 - hash = "sha256-bwv7lpdDYlk+y3KBjv7cSvaGr3v02riNCUfPFh6yv1I="; 33 }; 34 35 propagatedBuildInputs = [ 36 - numpy 37 - openpyxl 38 - pandas 39 - pandas-stubs 40 requests 41 tqdm 42 typing-extensions 43 - ]; 44 45 passthru.optional-dependencies = { 46 - wandb = [ 47 - wandb 48 ]; 49 embeddings = [ 50 matplotlib 51 plotly 52 scikit-learn 53 tenacity 54 - ]; 55 }; 56 57 pythonImportsCheck = [ ··· 60 61 nativeCheckInputs = [ 62 pytestCheckHook 63 pytest-mock 64 ]; 65 ··· 72 disabledTestPaths = [ 73 # Requires a real API key 74 "openai/tests/test_endpoints.py" 75 # openai: command not found 76 "openai/tests/test_file_cli.py" 77 "openai/tests/test_long_examples_validator.py"
··· 1 { lib 2 , buildPythonPackage 3 , fetchFromGitHub 4 + , aiohttp 5 , matplotlib 6 , numpy 7 , openpyxl 8 , pandas 9 , pandas-stubs 10 , plotly 11 + , pytest-asyncio 12 , pytest-mock 13 , pytestCheckHook 14 , pythonOlder ··· 18 , tqdm 19 , typing-extensions 20 , wandb 21 + , withOptionalDependencies ? false 22 }: 23 24 buildPythonPackage rec { 25 pname = "openai"; 26 + version = "0.26.1"; 27 format = "setuptools"; 28 29 disabled = pythonOlder "3.7.1"; ··· 32 owner = "openai"; 33 repo = "openai-python"; 34 rev = "v${version}"; 35 + hash = "sha256-M6ZaYTOBAwLogWPafSnBYw3rUry+sS9VwQWAM9tDfr8="; 36 }; 37 38 propagatedBuildInputs = [ 39 + aiohttp 40 requests 41 tqdm 42 + ] ++ lib.optionals (pythonOlder "3.8") [ 43 typing-extensions 44 + ] ++ lib.optionals withOptionalDependencies (builtins.attrValues { 45 + inherit (passthru.optional-dependencies) embeddings wandb; 46 + }); 47 48 passthru.optional-dependencies = { 49 + datalib = [ 50 + numpy 51 + openpyxl 52 + pandas 53 + pandas-stubs 54 ]; 55 embeddings = [ 56 matplotlib 57 plotly 58 scikit-learn 59 tenacity 60 + ] ++ passthru.optional-dependencies.datalib; 61 + wandb = [ 62 + wandb 63 + ] ++ passthru.optional-dependencies.datalib; 64 }; 65 66 pythonImportsCheck = [ ··· 69 70 nativeCheckInputs = [ 71 pytestCheckHook 72 + pytest-asyncio 73 pytest-mock 74 ]; 75 ··· 82 disabledTestPaths = [ 83 # Requires a real API key 84 "openai/tests/test_endpoints.py" 85 + "openai/tests/asyncio/test_endpoints.py" 86 # openai: command not found 87 "openai/tests/test_file_cli.py" 88 "openai/tests/test_long_examples_validator.py"
+2 -2
pkgs/development/python-modules/peaqevcore/default.nix
··· 6 7 buildPythonPackage rec { 8 pname = "peaqevcore"; 9 - version = "10.2.6"; 10 format = "setuptools"; 11 12 disabled = pythonOlder "3.7"; 13 14 src = fetchPypi { 15 inherit pname version; 16 - hash = "sha256-uQPz7IB14dFrupZIA87jG5P7USaGKs0WWlgbaLAEPp4="; 17 }; 18 19 postPatch = ''
··· 6 7 buildPythonPackage rec { 8 pname = "peaqevcore"; 9 + version = "10.2.8"; 10 format = "setuptools"; 11 12 disabled = pythonOlder "3.7"; 13 14 src = fetchPypi { 15 inherit pname version; 16 + hash = "sha256-wMC5SnC0KJ6pauvAKq+jTJiFoD0dlYBtxU8cag/JmnM="; 17 }; 18 19 postPatch = ''
+2 -2
pkgs/development/python-modules/pyvicare/default.nix
··· 10 11 buildPythonPackage rec { 12 pname = "pyvicare"; 13 - version = "2.23.0"; 14 format = "setuptools"; 15 16 disabled = pythonOlder "3.7"; ··· 19 owner = "somm15"; 20 repo = "PyViCare"; 21 rev = version; 22 - sha256 = "sha256-EBDk0XuE8zVFoGYbK2LIWeDfsj3iUZUUERNKARKwuKU="; 23 }; 24 25 SETUPTOOLS_SCM_PRETEND_VERSION = version;
··· 10 11 buildPythonPackage rec { 12 pname = "pyvicare"; 13 + version = "2.24.0"; 14 format = "setuptools"; 15 16 disabled = pythonOlder "3.7"; ··· 19 owner = "somm15"; 20 repo = "PyViCare"; 21 rev = version; 22 + sha256 = "sha256-D0N7kRTzfKCxLNtRJML+xykvsv3Mv0WHdlA05eLHl3M="; 23 }; 24 25 SETUPTOOLS_SCM_PRETEND_VERSION = version;
+2 -2
pkgs/development/python-modules/reikna/default.nix
··· 13 14 buildPythonPackage rec { 15 pname = "reikna"; 16 - version = "0.7.6"; 17 18 src = fetchPypi { 19 inherit pname version; 20 - sha256 = "722fefbd253d0bbcbf5250b7b9c4aca5722cde4ca38bfbf863a551a5fc26edfa"; 21 }; 22 23 nativeCheckInputs = [ sphinx pytest-cov pytest ];
··· 13 14 buildPythonPackage rec { 15 pname = "reikna"; 16 + version = "0.8.0"; 17 18 src = fetchPypi { 19 inherit pname version; 20 + sha256 = "sha256-fpa1Pfo5EAafg7Pgha17G6k5G13fdErjclv0On/uYyI="; 21 }; 22 23 nativeCheckInputs = [ sphinx pytest-cov pytest ];
+2 -2
pkgs/development/python-modules/rich-click/default.nix
··· 9 10 buildPythonPackage rec { 11 pname = "rich-click"; 12 - version = "1.6.0"; 13 format = "setuptools"; 14 15 disabled = pythonOlder "3.8"; ··· 18 owner = "ewels"; 19 repo = pname; 20 rev = "refs/tags/v${version}"; 21 - hash = "sha256-l8tMyxSkh4eckD21NofK9FBgeGKAqZB0J3B98HpWZ0s="; 22 }; 23 24 propagatedBuildInputs = [
··· 9 10 buildPythonPackage rec { 11 pname = "rich-click"; 12 + version = "1.6.1"; 13 format = "setuptools"; 14 15 disabled = pythonOlder "3.8"; ··· 18 owner = "ewels"; 19 repo = pname; 20 rev = "refs/tags/v${version}"; 21 + hash = "sha256-Be6okg3zmbdbdlB4/uwioUxn6CZUay/istiIoiFrsJk="; 22 }; 23 24 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/sentry-sdk/default.nix
··· 40 41 buildPythonPackage rec { 42 pname = "sentry-sdk"; 43 - version = "1.12.1"; 44 format = "setuptools"; 45 46 disabled = pythonOlder "3.7"; ··· 49 owner = "getsentry"; 50 repo = "sentry-python"; 51 rev = "refs/tags/${version}"; 52 - hash = "sha256-ugCbjhOZTJ1+DeTKDTQJMIO6wjkqVL5tvPGoRrZKwGI="; 53 }; 54 55 propagatedBuildInputs = [
··· 40 41 buildPythonPackage rec { 42 pname = "sentry-sdk"; 43 + version = "1.14.0"; 44 format = "setuptools"; 45 46 disabled = pythonOlder "3.7"; ··· 49 owner = "getsentry"; 50 repo = "sentry-python"; 51 rev = "refs/tags/${version}"; 52 + hash = "sha256-2STQKIAoaGLreGGkqOSrNrByu7j+7oxZihwp9COhuGM="; 53 }; 54 55 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/yalexs-ble/default.nix
··· 13 14 buildPythonPackage rec { 15 pname = "yalexs-ble"; 16 - version = "1.12.7"; 17 format = "pyproject"; 18 19 disabled = pythonOlder "3.9"; ··· 22 owner = "bdraco"; 23 repo = pname; 24 rev = "refs/tags/v${version}"; 25 - hash = "sha256-f2JrUzgSPbko/H7n6IYiw3nLU9SkIH8BgSEyMlGppok="; 26 }; 27 28 nativeBuildInputs = [
··· 13 14 buildPythonPackage rec { 15 pname = "yalexs-ble"; 16 + version = "1.12.8"; 17 format = "pyproject"; 18 19 disabled = pythonOlder "3.9"; ··· 22 owner = "bdraco"; 23 repo = pname; 24 rev = "refs/tags/v${version}"; 25 + hash = "sha256-04Xl2TBs9RL+KWmJgUY+PDoYN4AAvrcWP7TJBEu5lNU="; 26 }; 27 28 nativeBuildInputs = [
+2 -2
pkgs/development/tools/bingo/default.nix
··· 8 owner = "bwplotka"; 9 repo = "bingo"; 10 rev = "v${version}"; 11 - sha256 = "sha256-s+vdtMzeHUtUlmMlvgnK83RYoMqS3GqrTnu7LssIK6A="; 12 }; 13 14 - vendorSha256 = "sha256-28p1g+p+guJ0x4/5QDGsGN6gDnZkE4AKF/2cFgNjPDM="; 15 16 postPatch = '' 17 rm get_e2e_test.go get_e2e_utils_test.go
··· 8 owner = "bwplotka"; 9 repo = "bingo"; 10 rev = "v${version}"; 11 + hash = "sha256-s+vdtMzeHUtUlmMlvgnK83RYoMqS3GqrTnu7LssIK6A="; 12 }; 13 14 + vendorHash = "sha256-28p1g+p+guJ0x4/5QDGsGN6gDnZkE4AKF/2cFgNjPDM="; 15 16 postPatch = '' 17 rm get_e2e_test.go get_e2e_utils_test.go
+3 -3
pkgs/development/tools/cocogitto/default.nix
··· 2 3 rustPlatform.buildRustPackage rec { 4 pname = "cocogitto"; 5 - version = "5.2.0"; 6 7 src = fetchFromGitHub { 8 owner = "oknozor"; 9 repo = pname; 10 rev = version; 11 - sha256 = "sha256-ZjDZMI84z8riRtidZVeCktwJUMkZU28E23MveJSD7xY="; 12 }; 13 14 - cargoSha256 = "sha256-oaWWAVTKxrshfvqE+HMQ1WeeEz8lOE7qc6RrgSjDtdU="; 15 16 # Test depend on git configuration that would likly exist in a normal user enviroment 17 # and might be failing to create the test repository it works in.
··· 2 3 rustPlatform.buildRustPackage rec { 4 pname = "cocogitto"; 5 + version = "5.3.0"; 6 7 src = fetchFromGitHub { 8 owner = "oknozor"; 9 repo = pname; 10 rev = version; 11 + sha256 = "sha256-BqyV4hJw7H9yN5Kj/XwhYS6hElXdKUJEUi5M/PNlPO0="; 12 }; 13 14 + cargoHash = "sha256-MA3XW2tPn0qVx7ve+UqCoG4nQ7UyuvXEebrPuLKqS4g="; 15 16 # Test depend on git configuration that would likly exist in a normal user enviroment 17 # and might be failing to create the test repository it works in.
+2 -2
pkgs/development/tools/cue/default.nix
··· 8 owner = "cue-lang"; 9 repo = "cue"; 10 rev = "v${version}"; 11 - sha256 = "sha256-v9MYrijnbtJpTgRZ4hmkaekisOyujldGewCRNbkVzWw="; 12 }; 13 14 postPatch = '' ··· 16 rm -f cmd/cue/cmd/script_test.go 17 ''; 18 19 - vendorSha256 = "sha256-jTfV8DJlr5LxS3HjOEBkVzBvZKiySrmINumXSUIq2mI="; 20 21 excludedPackages = [ "internal/ci/updatetxtar" "internal/cmd/embedpkg" "internal/cmd/qgo" "pkg/gen" ]; 22
··· 8 owner = "cue-lang"; 9 repo = "cue"; 10 rev = "v${version}"; 11 + hash = "sha256-v9MYrijnbtJpTgRZ4hmkaekisOyujldGewCRNbkVzWw="; 12 }; 13 14 postPatch = '' ··· 16 rm -f cmd/cue/cmd/script_test.go 17 ''; 18 19 + vendorHash = "sha256-jTfV8DJlr5LxS3HjOEBkVzBvZKiySrmINumXSUIq2mI="; 20 21 excludedPackages = [ "internal/ci/updatetxtar" "internal/cmd/embedpkg" "internal/cmd/qgo" "pkg/gen" ]; 22
+2 -2
pkgs/development/tools/gojq/default.nix
··· 8 owner = "itchyny"; 9 repo = pname; 10 rev = "v${version}"; 11 - sha256 = "sha256-xJx3ge+8cIGL1j5vnU4JhCcwmXIRhJ66PYnEG223Fbc="; 12 }; 13 14 - vendorSha256 = "sha256-BnDtHqqU/kFJyeG1g4UZ51eSnUlbQ6eRKTFoz6kxl0s="; 15 16 ldflags = [ "-s" "-w" ]; 17
··· 8 owner = "itchyny"; 9 repo = pname; 10 rev = "v${version}"; 11 + hash = "sha256-xJx3ge+8cIGL1j5vnU4JhCcwmXIRhJ66PYnEG223Fbc="; 12 }; 13 14 + vendorHash = "sha256-BnDtHqqU/kFJyeG1g4UZ51eSnUlbQ6eRKTFoz6kxl0s="; 15 16 ldflags = [ "-s" "-w" ]; 17
+3 -3
pkgs/development/tools/kube-linter/default.nix
··· 2 3 buildGoModule rec { 4 pname = "kube-linter"; 5 - version = "0.5.1"; 6 7 src = fetchFromGitHub { 8 owner = "stackrox"; 9 repo = pname; 10 rev = version; 11 - sha256 = "sha256-FEiUnJFmrHj97aSjfJtsjS9Qy4A6mzXicIrJZdgZbag="; 12 }; 13 14 - vendorSha256 = "sha256-5dsM5jfD/apRs5NT/XqM8eHEgiyGQHHG3MG6cOFQKr8="; 15 16 ldflags = [ 17 "-s" "-w" "-X golang.stackrox.io/kube-linter/internal/version.version=${version}"
··· 2 3 buildGoModule rec { 4 pname = "kube-linter"; 5 + version = "0.6.0"; 6 7 src = fetchFromGitHub { 8 owner = "stackrox"; 9 repo = pname; 10 rev = version; 11 + sha256 = "sha256-/iwNyThgdXAXu1ulf68+X7nA9wE9jEqN7F5wuT5GMwk="; 12 }; 13 14 + vendorHash = "sha256-jWXR7tHYT15h7QSxinYyPaBs5utUmdeWWm+GPpfwiA4="; 15 16 ldflags = [ 17 "-s" "-w" "-X golang.stackrox.io/kube-linter/internal/version.version=${version}"
+2 -2
pkgs/development/tools/language-servers/sumneko-lua-language-server/default.nix
··· 4 in 5 stdenv.mkDerivation rec { 6 pname = "sumneko-lua-language-server"; 7 - version = "3.6.5"; 8 9 src = fetchFromGitHub { 10 owner = "sumneko"; 11 repo = "lua-language-server"; 12 rev = version; 13 - sha256 = "sha256-4/RRE9IB/qy8YszPzEvrBVLi1X0XCNh+lJYwMXTTD1I="; 14 fetchSubmodules = true; 15 }; 16
··· 4 in 5 stdenv.mkDerivation rec { 6 pname = "sumneko-lua-language-server"; 7 + version = "3.6.7"; 8 9 src = fetchFromGitHub { 10 owner = "sumneko"; 11 repo = "lua-language-server"; 12 rev = version; 13 + sha256 = "sha256-x7/yO1rJ+VBG4EFpISYblRECLW2lsLz5wcqLR14UV/g="; 14 fetchSubmodules = true; 15 }; 16
+4 -4
pkgs/development/tools/open-policy-agent/default.nix
··· 11 12 buildGoModule rec { 13 pname = "open-policy-agent"; 14 - version = "0.47.4"; 15 16 src = fetchFromGitHub { 17 owner = "open-policy-agent"; 18 repo = "opa"; 19 rev = "v${version}"; 20 - sha256 = "sha256-EHDSil077g/K8XCWQ9Pry/oyh0Bs3ckS/5Co1z/+Yes="; 21 }; 22 - vendorSha256 = null; 23 24 nativeBuildInputs = [ installShellFiles ]; 25 ··· 42 getGoDirs() { 43 go list ./... | grep -v -e e2e ${lib.optionalString stdenv.isDarwin "-e wasm"} 44 } 45 - '' + lib.optionalString stdenv.isDarwin '' 46 # remove tests that have "too many open files"/"no space left on device" issues on darwin in hydra 47 rm server/server_test.go 48 '';
··· 11 12 buildGoModule rec { 13 pname = "open-policy-agent"; 14 + version = "0.48.0"; 15 16 src = fetchFromGitHub { 17 owner = "open-policy-agent"; 18 repo = "opa"; 19 rev = "v${version}"; 20 + hash = "sha256-//xwk5T477Ae61MqZCrj8VcG23mqrP04/VVuUwtxyio="; 21 }; 22 + vendorHash = null; 23 24 nativeBuildInputs = [ installShellFiles ]; 25 ··· 42 getGoDirs() { 43 go list ./... | grep -v -e e2e ${lib.optionalString stdenv.isDarwin "-e wasm"} 44 } 45 + '' + lib.optionalString stdenv.isDarwin '' 46 # remove tests that have "too many open files"/"no space left on device" issues on darwin in hydra 47 rm server/server_test.go 48 '';
+2 -2
pkgs/development/tools/pulumictl/default.nix
··· 2 3 buildGoModule rec { 4 pname = "pulumictl"; 5 - version = "0.0.39"; 6 7 src = fetchFromGitHub { 8 owner = "pulumi"; 9 repo = "pulumictl"; 10 rev = "v${version}"; 11 - sha256 = "sha256-85a0qW4Fy+ojAhdlRU/m7mkHX91GoZAHlEGPljLAj4c="; 12 }; 13 14 vendorHash = "sha256-WzfTS68YIpoZYbm6i0USxXyEyR4px+hrNRbsCTXdJsk=";
··· 2 3 buildGoModule rec { 4 pname = "pulumictl"; 5 + version = "0.0.41"; 6 7 src = fetchFromGitHub { 8 owner = "pulumi"; 9 repo = "pulumictl"; 10 rev = "v${version}"; 11 + sha256 = "sha256-6QBE6+wJ9MQXey9nXaJn69uVUhIVlWMdH9ROiMi7bZk="; 12 }; 13 14 vendorHash = "sha256-WzfTS68YIpoZYbm6i0USxXyEyR4px+hrNRbsCTXdJsk=";
+3 -3
pkgs/development/tools/rust/cargo-zigbuild/default.nix
··· 2 3 rustPlatform.buildRustPackage rec { 4 pname = "cargo-zigbuild"; 5 - version = "0.14.3"; 6 7 src = fetchFromGitHub { 8 owner = "messense"; 9 repo = pname; 10 rev = "v${version}"; 11 - sha256 = "sha256-OHr+VCYt+w1VWv6XAfMZv0I7IZJ1m0UtErgMonGytns="; 12 }; 13 14 - cargoSha256 = "sha256-tOJNQLPWpCqHCFRk85PW91axUTljo8YoeWUpPrl8P4c="; 15 16 nativeBuildInputs = [ makeWrapper ]; 17
··· 2 3 rustPlatform.buildRustPackage rec { 4 pname = "cargo-zigbuild"; 5 + version = "0.14.5"; 6 7 src = fetchFromGitHub { 8 owner = "messense"; 9 repo = pname; 10 rev = "v${version}"; 11 + sha256 = "sha256-+H+T/PEpJyRySTJlVGbAevLzAEZs5J8BNqwZjiXhuuU="; 12 }; 13 14 + cargoSha256 = "sha256-IOR/G+SPGl3MgOMjmsVPpvoode8U7K52vqs7yu0BdQk="; 15 16 nativeBuildInputs = [ makeWrapper ]; 17
+3 -3
pkgs/development/tools/typos/default.nix
··· 2 3 rustPlatform.buildRustPackage rec { 4 pname = "typos"; 5 - version = "1.13.7"; 6 7 src = fetchFromGitHub { 8 owner = "crate-ci"; 9 repo = pname; 10 rev = "v${version}"; 11 - hash = "sha256-9adccECtWty9GURjzUd6sPYn8qojGWzCrDIpUxswx4k="; 12 }; 13 14 - cargoHash = "sha256-5hg+w2IZOI6d06H7sAokO0v4b6ofxvak64v3he5n4LI="; 15 16 meta = with lib; { 17 description = "Source code spell checker";
··· 2 3 rustPlatform.buildRustPackage rec { 4 pname = "typos"; 5 + version = "1.13.8"; 6 7 src = fetchFromGitHub { 8 owner = "crate-ci"; 9 repo = pname; 10 rev = "v${version}"; 11 + hash = "sha256-ROMO6IkfpzFvB5Y4RRqrX5NnYzdHT1tsJBdCc1lDu7k="; 12 }; 13 14 + cargoHash = "sha256-VAVlzciWVKcgl/QKiF3Hfzx11jUi/0J9b6EmaZzG9qE="; 15 16 meta = with lib; { 17 description = "Source code spell checker";
+2 -2
pkgs/os-specific/linux/virtio_vmmci/default.nix
··· 2 3 stdenv.mkDerivation rec { 4 name = "virtio_vmmci"; 5 - version = "0.4.0"; 6 7 src = fetchFromGitHub { 8 owner = "voutilad"; 9 repo = "virtio_vmmci"; 10 rev = "${version}"; 11 - sha256 = "104xnpcy5kb4y7ipy1fx1v6byddzs63bv2dqjy3yl23n764fsy43"; 12 }; 13 14 hardeningDisable = [ "pic" "format" ];
··· 2 3 stdenv.mkDerivation rec { 4 name = "virtio_vmmci"; 5 + version = "0.5.0"; 6 7 src = fetchFromGitHub { 8 owner = "voutilad"; 9 repo = "virtio_vmmci"; 10 rev = "${version}"; 11 + hash = "sha256-ZHslYYZFjM3wp0W5J3/WwCtQ2wDzT1jNc26Z/giTC8g="; 12 }; 13 14 hardeningDisable = [ "pic" "format" ];
+2 -2
pkgs/servers/bird/default.nix
··· 2 3 stdenv.mkDerivation rec { 4 pname = "bird"; 5 - version = "2.0.11"; 6 7 src = fetchurl { 8 url = "ftp://bird.network.cz/pub/bird/${pname}-${version}.tar.gz"; 9 - hash = "sha256-YKe4O2e50InSp0WhH93RJGH2MavHtkW2wIWt+Qs/VdY="; 10 }; 11 12 nativeBuildInputs = [ flex bison ];
··· 2 3 stdenv.mkDerivation rec { 4 pname = "bird"; 5 + version = "2.0.12"; 6 7 src = fetchurl { 8 url = "ftp://bird.network.cz/pub/bird/${pname}-${version}.tar.gz"; 9 + hash = "sha256-PsRiojfQbR9EVdbsAKQvCxaGBh/JiOXImoQdAd11O1M="; 10 }; 11 12 nativeBuildInputs = [ flex bison ];
+2 -12
pkgs/servers/hylafaxplus/default.nix
··· 32 let 33 34 pname = "hylafaxplus"; 35 - version = "7.0.6"; 36 - hash = "sha512-0faeEwF/XQE/85zwUMOnrGzvGanuWRDr53SnrgbX0i/SHjHelzSEd2TK6plVOfV4w8RY7Ox7lSO1gjqEEzfZyw=="; 37 38 configSite = substituteAll { 39 name = "${pname}-config.site"; ··· 72 patches = [ 73 # adjust configure check to work with libtiff > 4.1 74 ./libtiff-4.patch 75 - # fix missing exports in libtiff 4.5+ 76 - # https://gitlab.com/libtiff/libtiff/-/issues/504 77 - # can probably be dropped with next hylafaxplus release 78 - (fetchurl { 79 - name = "hylafaxplus-7.0.6-tiff-4.5.0.patch"; 80 - url = "https://dev.gentoo.org/~sam/distfiles/net-misc/hylafaxplus/hylafaxplus-7.0.6-tiff-4.5.0.patch.xz"; 81 - downloadToTemp = true; 82 - postFetch = ''xz -d < $downloadedFile > $out''; 83 - hash = "sha256-koZvvzlgZHcANVaYdewnuLARz2TTeyDZRjm0EYWzsmk="; 84 - }) 85 ]; 86 # Note that `configure` (and maybe `faxsetup`) are looking 87 # for a couple of standard binaries in the `PATH` and
··· 32 let 33 34 pname = "hylafaxplus"; 35 + version = "7.0.7"; 36 + hash = "sha512-nUvt+M0HBYN+MsGskuuDt1j0nI5Dk8MbfK/OVxP2FCDby3eiDg0eDtcpIxlOe4o0klko07zDRIb06zqh8ABuKA=="; 37 38 configSite = substituteAll { 39 name = "${pname}-config.site"; ··· 72 patches = [ 73 # adjust configure check to work with libtiff > 4.1 74 ./libtiff-4.patch 75 ]; 76 # Note that `configure` (and maybe `faxsetup`) are looking 77 # for a couple of standard binaries in the `PATH` and
+1 -1
pkgs/servers/hylafaxplus/libtiff-4.patch
··· 5 echo '#define TIFFSTRIPBYTECOUNTS uint32_t' 6 echo '#define TIFFVERSION TIFF_VERSION' 7 echo '#define TIFFHEADER TIFFHeader';; 8 - - 4.[01234]) tiff_runlen_t="uint32_t" 9 + 4.[0-9]) tiff_runlen_t="uint32_t" 10 tiff_offset_t="uint64_t" 11 echo '#define TIFFSTRIPBYTECOUNTS uint64_t'
··· 5 echo '#define TIFFSTRIPBYTECOUNTS uint32_t' 6 echo '#define TIFFVERSION TIFF_VERSION' 7 echo '#define TIFFHEADER TIFFHeader';; 8 + - 4.[012345]) tiff_runlen_t="uint32_t" 9 + 4.[0-9]) tiff_runlen_t="uint32_t" 10 tiff_offset_t="uint64_t" 11 echo '#define TIFFSTRIPBYTECOUNTS uint64_t'
+1 -1
pkgs/servers/matrix-synapse/default.nix
··· 1 { lib, stdenv, fetchFromGitHub, python3, openssl, rustPlatform 2 - , enableSystemd ? lib.meta.availableOn stdenv.hostPlatform systemd, systemd 3 , nixosTests 4 , enableRedis ? true 5 , callPackage
··· 1 { lib, stdenv, fetchFromGitHub, python3, openssl, rustPlatform 2 + , enableSystemd ? lib.meta.availableOn stdenv.hostPlatform python3.pkgs.systemd 3 , nixosTests 4 , enableRedis ? true 5 , callPackage
+1 -2
pkgs/servers/mautrix-facebook/default.nix
··· 1 { lib 2 , stdenv 3 - , systemd 4 - , enableSystemd ? lib.meta.availableOn stdenv.hostPlatform systemd 5 , fetchFromGitHub 6 , fetchpatch 7 , python3 8 }: 9 10 python3.pkgs.buildPythonPackage rec {
··· 1 { lib 2 , stdenv 3 , fetchFromGitHub 4 , fetchpatch 5 , python3 6 + , enableSystemd ? lib.meta.availableOn stdenv.hostPlatform python3.pkgs.systemd 7 }: 8 9 python3.pkgs.buildPythonPackage rec {
+2 -2
pkgs/servers/sql/postgresql/ext/timescaledb.nix
··· 8 9 stdenv.mkDerivation rec { 10 pname = "timescaledb"; 11 - version = "2.9.1"; 12 13 nativeBuildInputs = [ cmake ]; 14 buildInputs = [ postgresql openssl libkrb5 ]; ··· 17 owner = "timescale"; 18 repo = "timescaledb"; 19 rev = version; 20 - sha256 = "sha256-fvVSxDiGZAewyuQ2vZDb0I6tmlDXl6trjZp8+qDBtb8="; 21 }; 22 23 cmakeFlags = [ "-DSEND_TELEMETRY_DEFAULT=OFF" "-DREGRESS_CHECKS=OFF" "-DTAP_CHECKS=OFF" ]
··· 8 9 stdenv.mkDerivation rec { 10 pname = "timescaledb"; 11 + version = "2.9.2"; 12 13 nativeBuildInputs = [ cmake ]; 14 buildInputs = [ postgresql openssl libkrb5 ]; ··· 17 owner = "timescale"; 18 repo = "timescaledb"; 19 rev = version; 20 + sha256 = "sha256-3n3nqAVow8nIocXPsgCZcNkV+jr/G5/CmnSUfj2WMWo="; 21 }; 22 23 cmakeFlags = [ "-DSEND_TELEMETRY_DEFAULT=OFF" "-DREGRESS_CHECKS=OFF" "-DTAP_CHECKS=OFF" ]
+1 -3
pkgs/tools/X11/xpra/default.nix
··· 36 , xorgserver 37 }: 38 39 - with lib; 40 - 41 let 42 inherit (python3.pkgs) cython buildPythonApplication; 43 ··· 206 updateScript = ./update.sh; 207 }; 208 209 - meta = { 210 homepage = "https://xpra.org/"; 211 downloadPage = "https://xpra.org/src/"; 212 description = "Persistent remote applications for X";
··· 36 , xorgserver 37 }: 38 39 let 40 inherit (python3.pkgs) cython buildPythonApplication; 41 ··· 204 updateScript = ./update.sh; 205 }; 206 207 + meta = with lib; { 208 homepage = "https://xpra.org/"; 209 downloadPage = "https://xpra.org/src/"; 210 description = "Persistent remote applications for X";
+3 -5
pkgs/tools/admin/pulumi-bin/default.nix
··· 1 { lib, stdenv, fetchurl, autoPatchelfHook, makeWrapper, installShellFiles }: 2 3 - with lib; 4 - 5 let 6 data = import ./data.nix {}; 7 in stdenv.mkDerivation { ··· 16 17 installPhase = '' 18 install -D -t $out/bin/ * 19 - '' + optionalString stdenv.isLinux '' 20 wrapProgram $out/bin/pulumi --set LD_LIBRARY_PATH "${stdenv.cc.cc.lib}/lib" 21 '' + '' 22 installShellCompletion --cmd pulumi \ ··· 25 --zsh <($out/bin/pulumi completion zsh) 26 ''; 27 28 - nativeBuildInputs = [ installShellFiles ] ++ optionals stdenv.isLinux [ autoPatchelfHook makeWrapper ]; 29 30 - meta = { 31 homepage = "https://pulumi.io/"; 32 description = "Pulumi is a cloud development platform that makes creating cloud programs easy and productive"; 33 sourceProvenance = with sourceTypes; [ binaryNativeCode ];
··· 1 { lib, stdenv, fetchurl, autoPatchelfHook, makeWrapper, installShellFiles }: 2 3 let 4 data = import ./data.nix {}; 5 in stdenv.mkDerivation { ··· 14 15 installPhase = '' 16 install -D -t $out/bin/ * 17 + '' + lib.optionalString stdenv.isLinux '' 18 wrapProgram $out/bin/pulumi --set LD_LIBRARY_PATH "${stdenv.cc.cc.lib}/lib" 19 '' + '' 20 installShellCompletion --cmd pulumi \ ··· 23 --zsh <($out/bin/pulumi completion zsh) 24 ''; 25 26 + nativeBuildInputs = [ installShellFiles ] ++ lib.optionals stdenv.isLinux [ autoPatchelfHook makeWrapper ]; 27 28 + meta = with lib; { 29 homepage = "https://pulumi.io/"; 30 description = "Pulumi is a cloud development platform that makes creating cloud programs easy and productive"; 31 sourceProvenance = with sourceTypes; [ binaryNativeCode ];
-2
pkgs/tools/admin/tigervnc/default.nix
··· 23 , nixosTests 24 }: 25 26 - with lib; 27 - 28 stdenv.mkDerivation rec { 29 version = "1.12.0"; 30 pname = "tigervnc";
··· 23 , nixosTests 24 }: 25 26 stdenv.mkDerivation rec { 27 version = "1.12.0"; 28 pname = "tigervnc";
+1 -1
pkgs/tools/audio/dsp/default.nix
··· 23 owner = "bmc0"; 24 repo = "dsp"; 25 rev = "v${version}"; 26 - sha256 = "sha256-S1pzVQ/ceNsx0vGmzdDWw2TjPVLiRgzR4edFblWsekY="; 27 }; 28 29 nativeBuildInputs = [ pkg-config ];
··· 23 owner = "bmc0"; 24 repo = "dsp"; 25 rev = "v${version}"; 26 + hash = "sha256-S1pzVQ/ceNsx0vGmzdDWw2TjPVLiRgzR4edFblWsekY="; 27 }; 28 29 nativeBuildInputs = [ pkg-config ];
+2 -4
pkgs/tools/backup/bup/default.nix
··· 7 8 let version = "0.32"; in 9 10 - with lib; 11 - 12 stdenv.mkDerivation { 13 pname = "bup"; 14 inherit version; ··· 31 postPatch = '' 32 patchShebangs . 33 substituteInPlace Makefile --replace "-Werror" "" 34 - '' + optionalString par2Support '' 35 substituteInPlace cmd/fsck-cmd.py --replace "'par2'" "'${par2cmdline}/bin/par2'" 36 ''; 37 ··· 49 --prefix PATH : ${git}/bin 50 ''; 51 52 - meta = { 53 homepage = "https://github.com/bup/bup"; 54 description = "Efficient file backup system based on the git packfile format"; 55 license = licenses.gpl2Plus;
··· 7 8 let version = "0.32"; in 9 10 stdenv.mkDerivation { 11 pname = "bup"; 12 inherit version; ··· 29 postPatch = '' 30 patchShebangs . 31 substituteInPlace Makefile --replace "-Werror" "" 32 + '' + lib.optionalString par2Support '' 33 substituteInPlace cmd/fsck-cmd.py --replace "'par2'" "'${par2cmdline}/bin/par2'" 34 ''; 35 ··· 47 --prefix PATH : ${git}/bin 48 ''; 49 50 + meta = with lib; { 51 homepage = "https://github.com/bup/bup"; 52 description = "Efficient file backup system based on the git packfile format"; 53 license = licenses.gpl2Plus;
+1 -2
pkgs/tools/backup/luckybackup/default.nix
··· 3 , rsync, ssh 4 }: 5 6 - with lib; 7 mkDerivation rec { 8 pname = "luckybackup"; 9 version = "0.5.0"; ··· 26 done 27 ''; 28 29 - meta = { 30 description = "A powerful, fast and reliable backup & sync tool"; 31 longDescription = '' 32 luckyBackup is an application for data back-up and synchronization
··· 3 , rsync, ssh 4 }: 5 6 mkDerivation rec { 7 pname = "luckybackup"; 8 version = "0.5.0"; ··· 25 done 26 ''; 27 28 + meta = with lib; { 29 description = "A powerful, fast and reliable backup & sync tool"; 30 longDescription = '' 31 luckyBackup is an application for data back-up and synchronization
+3 -5
pkgs/tools/bluetooth/bluez-alsa/default.nix
··· 9 # TODO: aptxSupport 10 }: 11 12 - with lib; 13 - 14 stdenv.mkDerivation rec { 15 pname = "bluez-alsa"; 16 version = "4.0.0"; ··· 28 alsa-lib bluez glib sbc dbus 29 readline libbsd ncurses 30 ] 31 - ++ optional aacSupport fdk_aac; 32 33 configureFlags = [ 34 "--with-alsaplugindir=${placeholder "out"}/lib/alsa-lib" ··· 36 "--enable-rfcomm" 37 "--enable-hcitop" 38 ] 39 - ++ optional aacSupport "--enable-aac"; 40 41 - meta = { 42 description = "Bluez 5 Bluetooth Audio ALSA Backend"; 43 longDescription = '' 44 Bluez-ALSA (BlueALSA) is an ALSA backend for Bluez 5 audio interface.
··· 9 # TODO: aptxSupport 10 }: 11 12 stdenv.mkDerivation rec { 13 pname = "bluez-alsa"; 14 version = "4.0.0"; ··· 26 alsa-lib bluez glib sbc dbus 27 readline libbsd ncurses 28 ] 29 + ++ lib.optional aacSupport fdk_aac; 30 31 configureFlags = [ 32 "--with-alsaplugindir=${placeholder "out"}/lib/alsa-lib" ··· 34 "--enable-rfcomm" 35 "--enable-hcitop" 36 ] 37 + ++ lib.optional aacSupport "--enable-aac"; 38 39 + meta = with lib; { 40 description = "Bluez 5 Bluetooth Audio ALSA Backend"; 41 longDescription = '' 42 Bluez-ALSA (BlueALSA) is an ALSA backend for Bluez 5 audio interface.
+2 -2
pkgs/tools/filesystems/go-mtpfs/default.nix
··· 8 owner = "hanwen"; 9 repo = "go-mtpfs"; 10 rev = "v${version}"; 11 - sha256 = "sha256-HVfB8/MImgZZLx4tcrlYOfQjpAdHMHshEaSsd+n758w="; 12 }; 13 14 - vendorSha256 = "sha256-OrAEvD2rF0Y0bvCD9TUv/E429lASsvC3uK3qNvbg734="; 15 16 ldflags = [ "-s" "-w" ]; 17
··· 8 owner = "hanwen"; 9 repo = "go-mtpfs"; 10 rev = "v${version}"; 11 + hash = "sha256-HVfB8/MImgZZLx4tcrlYOfQjpAdHMHshEaSsd+n758w="; 12 }; 13 14 + vendorHash = "sha256-OrAEvD2rF0Y0bvCD9TUv/E429lASsvC3uK3qNvbg734="; 15 16 ldflags = [ "-s" "-w" ]; 17
+1 -3
pkgs/tools/filesystems/squashfuse/default.nix
··· 1 { lib, stdenv, fetchFromGitHub, autoreconfHook, libtool, fuse, 2 pkg-config, lz4, xz, zlib, lzo, zstd }: 3 4 - with lib; 5 - 6 stdenv.mkDerivation rec { 7 8 pname = "squashfuse"; ··· 22 description = "FUSE filesystem to mount squashfs archives"; 23 homepage = "https://github.com/vasi/squashfuse"; 24 maintainers = [ ]; 25 - platforms = platforms.unix; 26 license = "BSD-2-Clause"; 27 }; 28 }
··· 1 { lib, stdenv, fetchFromGitHub, autoreconfHook, libtool, fuse, 2 pkg-config, lz4, xz, zlib, lzo, zstd }: 3 4 stdenv.mkDerivation rec { 5 6 pname = "squashfuse"; ··· 20 description = "FUSE filesystem to mount squashfs archives"; 21 homepage = "https://github.com/vasi/squashfuse"; 22 maintainers = [ ]; 23 + platforms = lib.platforms.unix; 24 license = "BSD-2-Clause"; 25 }; 26 }
+4 -6
pkgs/tools/graphics/gifsicle/default.nix
··· 3 , static ? stdenv.hostPlatform.isStatic 4 }: 5 6 - with lib; 7 - 8 stdenv.mkDerivation rec { 9 pname = "gifsicle"; 10 version = "1.93"; ··· 14 sha256 = "sha256-kvZweXMr9MHaCH5q4JBSBYRuWsd3ulyqZtEqc6qUNEc="; 15 }; 16 17 - buildInputs = optionals gifview [ xorgproto libXt libX11 ]; 18 19 - configureFlags = optional (!gifview) "--disable-gifview"; 20 21 - LDFLAGS = optionalString static "-static"; 22 23 doCheck = true; 24 checkPhase = '' ··· 29 description = "Command-line tool for creating, editing, and getting information about GIF images and animations"; 30 homepage = "https://www.lcdf.org/gifsicle/"; 31 license = lib.licenses.gpl2; 32 - platforms = platforms.all; 33 maintainers = with lib.maintainers; [ zimbatm ]; 34 }; 35 }
··· 3 , static ? stdenv.hostPlatform.isStatic 4 }: 5 6 stdenv.mkDerivation rec { 7 pname = "gifsicle"; 8 version = "1.93"; ··· 12 sha256 = "sha256-kvZweXMr9MHaCH5q4JBSBYRuWsd3ulyqZtEqc6qUNEc="; 13 }; 14 15 + buildInputs = lib.optionals gifview [ xorgproto libXt libX11 ]; 16 17 + configureFlags = lib.optional (!gifview) "--disable-gifview"; 18 19 + LDFLAGS = lib.optionalString static "-static"; 20 21 doCheck = true; 22 checkPhase = '' ··· 27 description = "Command-line tool for creating, editing, and getting information about GIF images and animations"; 28 homepage = "https://www.lcdf.org/gifsicle/"; 29 license = lib.licenses.gpl2; 30 + platforms = lib.platforms.all; 31 maintainers = with lib.maintainers; [ zimbatm ]; 32 }; 33 }
+2 -4
pkgs/tools/graphics/ldgallery/viewer/default.nix
··· 1 { lib, stdenv, fetchFromGitHub, pkgs, pandoc, CoreServices }: 2 3 - with lib; 4 - 5 let 6 # Note for maintainers: 7 # * keep version in sync with the ldgallery compiler ··· 21 nodePkg = nodePackages.package.override { 22 src = "${sourcePkg}/viewer"; 23 postInstall = "npm run build"; 24 - buildInputs = optionals stdenv.isDarwin [ CoreServices ]; 25 }; 26 27 in 28 29 # making sure that the source and the node package are in sync 30 - assert versions.majorMinor nodePkg.version == removePrefix "v" sourcePkg.rev; 31 32 stdenv.mkDerivation { 33 pname = nodePkg.packageName;
··· 1 { lib, stdenv, fetchFromGitHub, pkgs, pandoc, CoreServices }: 2 3 let 4 # Note for maintainers: 5 # * keep version in sync with the ldgallery compiler ··· 19 nodePkg = nodePackages.package.override { 20 src = "${sourcePkg}/viewer"; 21 postInstall = "npm run build"; 22 + buildInputs = lib.optionals stdenv.isDarwin [ CoreServices ]; 23 }; 24 25 in 26 27 # making sure that the source and the node package are in sync 28 + assert lib.versions.majorMinor nodePkg.version == lib.removePrefix "v" sourcePkg.rev; 29 30 stdenv.mkDerivation { 31 pname = nodePkg.packageName;
+1 -3
pkgs/tools/graphics/optipng/default.nix
··· 4 5 # This package comes with its own copy of zlib, libpng and pngxtern 6 7 - with lib; 8 - 9 stdenv.mkDerivation rec { 10 pname = "optipng"; 11 version = "0.7.7"; ··· 17 18 buildInputs = [ libpng ]; 19 20 - LDFLAGS = optional static "-static"; 21 # Workaround for crash in cexcept.h. See 22 # https://github.com/NixOS/nixpkgs/issues/28106 23 preConfigure = ''
··· 4 5 # This package comes with its own copy of zlib, libpng and pngxtern 6 7 stdenv.mkDerivation rec { 8 pname = "optipng"; 9 version = "0.7.7"; ··· 15 16 buildInputs = [ libpng ]; 17 18 + LDFLAGS = lib.optional static "-static"; 19 # Workaround for crash in cexcept.h. See 20 # https://github.com/NixOS/nixpkgs/issues/28106 21 preConfigure = ''
-1
pkgs/tools/graphics/pgf/default.nix
··· 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";
··· 1 { lib, stdenv, fetchurl, autoconf, automake, libtool, dos2unix, libpgf, freeimage, doxygen }: 2 3 stdenv.mkDerivation rec { 4 pname = "pgf"; 5 version = "6.14.12";
+6 -8
pkgs/tools/inputmethods/ibus/default.nix
··· 34 , nixosTests 35 }: 36 37 - with lib; 38 - 39 let 40 python3Runtime = python3.withPackages (ps: with ps; [ pygobject3 ]); 41 python3BuildEnv = python3.buildEnv.override { ··· 88 89 configureFlags = [ 90 "--disable-memconf" 91 - (enableFeature (dconf != null) "dconf") 92 - (enableFeature (libnotify != null) "libnotify") 93 - (enableFeature withWayland "wayland") 94 - (enableFeature enableUI "ui") 95 "--enable-gtk4" 96 "--enable-install-tests" 97 "--with-unicode-emoji-dir=${unicode-emoji}/share/unicode/emoji" ··· 133 isocodes 134 json-glib 135 libnotify 136 - ] ++ optionals withWayland [ 137 libxkbcommon 138 wayland 139 ]; ··· 165 }; 166 }; 167 168 - meta = { 169 homepage = "https://github.com/ibus/ibus"; 170 description = "Intelligent Input Bus, input method framework"; 171 license = licenses.lgpl21Plus;
··· 34 , nixosTests 35 }: 36 37 let 38 python3Runtime = python3.withPackages (ps: with ps; [ pygobject3 ]); 39 python3BuildEnv = python3.buildEnv.override { ··· 86 87 configureFlags = [ 88 "--disable-memconf" 89 + (lib.enableFeature (dconf != null) "dconf") 90 + (lib.enableFeature (libnotify != null) "libnotify") 91 + (lib.enableFeature withWayland "wayland") 92 + (lib.enableFeature enableUI "ui") 93 "--enable-gtk4" 94 "--enable-install-tests" 95 "--with-unicode-emoji-dir=${unicode-emoji}/share/unicode/emoji" ··· 131 isocodes 132 json-glib 133 libnotify 134 + ] ++ lib.optionals withWayland [ 135 libxkbcommon 136 wayland 137 ]; ··· 163 }; 164 }; 165 166 + meta = with lib; { 167 homepage = "https://github.com/ibus/ibus"; 168 description = "Intelligent Input Bus, input method framework"; 169 license = licenses.lgpl21Plus;
+20 -22
pkgs/tools/inputmethods/uim/default.nix
··· 18 , withMisc ? false, libeb ? null 19 }: 20 21 - with lib; 22 - 23 assert withGtk2 -> gtk2 != null; 24 assert withGtk3 -> gtk3 != null; 25 ··· 59 buildInputs = [ 60 ncurses m17n_lib m17n_db expat 61 ] 62 - ++ optional withAnthy anthy 63 - ++ optional withGtk2 gtk2 64 - ++ optional withGtk3 gtk3 65 - ++ optional withQt4 qt4 66 - ++ optionals withQt5 [ qt5.qtbase.bin qt5.qtbase.dev ] 67 - ++ optional withLibnotify libnotify 68 - ++ optional withSqlite sqlite 69 - ++ optionals withNetworking [ 70 curl openssl 71 ] 72 - ++ optional withFFI libffi 73 - ++ optional withMisc libeb; 74 75 prePatch = '' 76 patchShebangs *.sh */*.sh */*/*.sh ··· 113 "--with-xft" 114 "--with-expat=${expat.dev}" 115 ] 116 - ++ optional withAnthy "--with-anthy-utf8" 117 - ++ optional withGtk2 "--with-gtk2" 118 - ++ optional withGtk3 "--with-gtk3" 119 - ++ optionals withQt4 [ 120 "--with-qt4" 121 "--with-qt4-immodule" 122 ] 123 - ++ optionals withQt5 [ 124 "--with-qt5" 125 "--with-qt5-immodule" 126 ] 127 - ++ optional withLibnotify "--enable-notify=libnotify" 128 - ++ optional withSqlite "--with-sqlite3" 129 - ++ optionals withNetworking [ 130 "--with-curl" 131 "--with-openssl-dir=${openssl.dev}" 132 ] 133 - ++ optional withFFI "--with-ffi" 134 - ++ optional withMisc "--with-eb"; 135 136 # TODO: things in `./configure --help`, but not in nixpkgs 137 #--with-canna Use Canna [default=no]
··· 18 , withMisc ? false, libeb ? null 19 }: 20 21 assert withGtk2 -> gtk2 != null; 22 assert withGtk3 -> gtk3 != null; 23 ··· 57 buildInputs = [ 58 ncurses m17n_lib m17n_db expat 59 ] 60 + ++ lib.optional withAnthy anthy 61 + ++ lib.optional withGtk2 gtk2 62 + ++ lib.optional withGtk3 gtk3 63 + ++ lib.optional withQt4 qt4 64 + ++ lib.optionals withQt5 [ qt5.qtbase.bin qt5.qtbase.dev ] 65 + ++ lib.optional withLibnotify libnotify 66 + ++ lib.optional withSqlite sqlite 67 + ++ lib.optionals withNetworking [ 68 curl openssl 69 ] 70 + ++ lib.optional withFFI libffi 71 + ++ lib.optional withMisc libeb; 72 73 prePatch = '' 74 patchShebangs *.sh */*.sh */*/*.sh ··· 111 "--with-xft" 112 "--with-expat=${expat.dev}" 113 ] 114 + ++ lib.optional withAnthy "--with-anthy-utf8" 115 + ++ lib.optional withGtk2 "--with-gtk2" 116 + ++ lib.optional withGtk3 "--with-gtk3" 117 + ++ lib.optionals withQt4 [ 118 "--with-qt4" 119 "--with-qt4-immodule" 120 ] 121 + ++ lib.optionals withQt5 [ 122 "--with-qt5" 123 "--with-qt5-immodule" 124 ] 125 + ++ lib.optional withLibnotify "--enable-notify=libnotify" 126 + ++ lib.optional withSqlite "--with-sqlite3" 127 + ++ lib.optionals withNetworking [ 128 "--with-curl" 129 "--with-openssl-dir=${openssl.dev}" 130 ] 131 + ++ lib.optional withFFI "--with-ffi" 132 + ++ lib.optional withMisc "--with-eb"; 133 134 # TODO: things in `./configure --help`, but not in nixpkgs 135 #--with-canna Use Canna [default=no]
+1 -3
pkgs/tools/misc/catimg/default.nix
··· 1 { lib, stdenv, fetchFromGitHub, cmake } : 2 3 - with lib; 4 - 5 stdenv.mkDerivation rec { 6 pname = "catimg"; 7 version = "2.7.0"; ··· 15 16 nativeBuildInputs = [ cmake ]; 17 18 - meta = { 19 license = licenses.mit; 20 homepage = "https://github.com/posva/catimg"; 21 description = "Insanely fast image printing in your terminal";
··· 1 { lib, stdenv, fetchFromGitHub, cmake } : 2 3 stdenv.mkDerivation rec { 4 pname = "catimg"; 5 version = "2.7.0"; ··· 13 14 nativeBuildInputs = [ cmake ]; 15 16 + meta = with lib; { 17 license = licenses.mit; 18 homepage = "https://github.com/posva/catimg"; 19 description = "Insanely fast image printing in your terminal";
+2 -2
pkgs/tools/misc/claws/default.nix
··· 8 rev = version; 9 owner = "thehowl"; 10 repo = pname; 11 - sha256 = "sha256-3zzUBeYfu9x3vRGX1DionLnAs1e44tFj8Z1dpVwjdCg="; 12 }; 13 14 - vendorSha256 = "sha256-FP+3Rw5IdCahhx9giQrpepMMtF1pWcyjNglrlu9ju0Q="; 15 16 ldflags = [ "-s" "-w" ]; 17
··· 8 rev = version; 9 owner = "thehowl"; 10 repo = pname; 11 + hash = "sha256-3zzUBeYfu9x3vRGX1DionLnAs1e44tFj8Z1dpVwjdCg="; 12 }; 13 14 + vendorHash = "sha256-FP+3Rw5IdCahhx9giQrpepMMtF1pWcyjNglrlu9ju0Q="; 15 16 ldflags = [ "-s" "-w" ]; 17
+1 -3
pkgs/tools/misc/desktop-file-utils/default.nix
··· 1 { lib, stdenv, fetchurl, pkg-config, meson, ninja, glib, libintl }: 2 3 - with lib; 4 - 5 stdenv.mkDerivation rec { 6 pname = "desktop-file-utils"; 7 version = "0.26"; ··· 21 22 setupHook = ./setup-hook.sh; 23 24 - meta = { 25 homepage = "http://www.freedesktop.org/wiki/Software/desktop-file-utils"; 26 description = "Command line utilities for working with .desktop files"; 27 platforms = platforms.linux ++ platforms.darwin;
··· 1 { lib, stdenv, fetchurl, pkg-config, meson, ninja, glib, libintl }: 2 3 stdenv.mkDerivation rec { 4 pname = "desktop-file-utils"; 5 version = "0.26"; ··· 19 20 setupHook = ./setup-hook.sh; 21 22 + meta = with lib; { 23 homepage = "http://www.freedesktop.org/wiki/Software/desktop-file-utils"; 24 description = "Command line utilities for working with .desktop files"; 25 platforms = platforms.linux ++ platforms.darwin;
+8 -9
pkgs/tools/misc/grub/2.0x.nix
··· 13 , kbdcompSupport ? false, ckbcomp 14 }: 15 16 - with lib; 17 let 18 pcSystems = { 19 i686-linux.target = "i386"; ··· 40 riscv64-linux.target = "riscv64"; 41 }; 42 43 - canEfi = any (system: stdenv.hostPlatform.system == system) (mapAttrsToList (name: _: name) efiSystemsBuild); 44 - inPCSystems = any (system: stdenv.hostPlatform.system == system) (mapAttrsToList (name: _: name) pcSystems); 45 46 version = "2.06"; 47 ··· 330 depsBuildBuild = [ buildPackages.stdenv.cc ]; 331 nativeBuildInputs = [ bison flex python3 pkg-config gettext freetype autoreconfHook ]; 332 buildInputs = [ ncurses libusb-compat-0_1 freetype lvm2 fuse libtool bash ] 333 - ++ optional doCheck qemu 334 - ++ optional zfsSupport zfs; 335 336 strictDeps = true; 337 ··· 369 370 configureFlags = [ 371 "--enable-grub-mount" # dep of os-prober 372 - ] ++ optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ 373 # grub doesn't do cross-compilation as usual and tries to use unprefixed 374 # tools to target the host. Provide toolchain information explicitly for 375 # cross builds. ··· 380 "TARGET_OBJCOPY=${stdenv.cc.targetPrefix}objcopy" 381 "TARGET_RANLIB=${stdenv.cc.targetPrefix}ranlib" 382 "TARGET_STRIP=${stdenv.cc.targetPrefix}strip" 383 - ] ++ optional zfsSupport "--enable-libzfs" 384 - ++ optionals efiSupport [ "--with-platform=efi" "--target=${efiSystemsBuild.${stdenv.hostPlatform.system}.target}" "--program-prefix=" ] 385 - ++ optionals xenSupport [ "--with-platform=xen" "--target=${efiSystemsBuild.${stdenv.hostPlatform.system}.target}"]; 386 387 # save target that grub is compiled for 388 grubTarget = if efiSupport
··· 13 , kbdcompSupport ? false, ckbcomp 14 }: 15 16 let 17 pcSystems = { 18 i686-linux.target = "i386"; ··· 39 riscv64-linux.target = "riscv64"; 40 }; 41 42 + canEfi = lib.any (system: stdenv.hostPlatform.system == system) (lib.mapAttrsToList (name: _: name) efiSystemsBuild); 43 + inPCSystems = lib.any (system: stdenv.hostPlatform.system == system) (lib.mapAttrsToList (name: _: name) pcSystems); 44 45 version = "2.06"; 46 ··· 329 depsBuildBuild = [ buildPackages.stdenv.cc ]; 330 nativeBuildInputs = [ bison flex python3 pkg-config gettext freetype autoreconfHook ]; 331 buildInputs = [ ncurses libusb-compat-0_1 freetype lvm2 fuse libtool bash ] 332 + ++ lib.optional doCheck qemu 333 + ++ lib.optional zfsSupport zfs; 334 335 strictDeps = true; 336 ··· 368 369 configureFlags = [ 370 "--enable-grub-mount" # dep of os-prober 371 + ] ++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ 372 # grub doesn't do cross-compilation as usual and tries to use unprefixed 373 # tools to target the host. Provide toolchain information explicitly for 374 # cross builds. ··· 379 "TARGET_OBJCOPY=${stdenv.cc.targetPrefix}objcopy" 380 "TARGET_RANLIB=${stdenv.cc.targetPrefix}ranlib" 381 "TARGET_STRIP=${stdenv.cc.targetPrefix}strip" 382 + ] ++ lib.optional zfsSupport "--enable-libzfs" 383 + ++ lib.optionals efiSupport [ "--with-platform=efi" "--target=${efiSystemsBuild.${stdenv.hostPlatform.system}.target}" "--program-prefix=" ] 384 + ++ lib.optionals xenSupport [ "--with-platform=xen" "--target=${efiSystemsBuild.${stdenv.hostPlatform.system}.target}"]; 385 386 # save target that grub is compiled for 387 grubTarget = if efiSupport
-1
pkgs/tools/misc/grub/pvgrub_image/default.nix
··· 1 { lib, stdenv, grub2_xen }: 2 3 - with lib; 4 let 5 efiSystemsBuild = { 6 i686-linux.target = "i386";
··· 1 { lib, stdenv, grub2_xen }: 2 3 let 4 efiSystemsBuild = { 5 i686-linux.target = "i386";
+2 -3
pkgs/tools/misc/grub/trusted.nix
··· 18 , for_HP_laptop ? false 19 }: 20 21 - with lib; 22 let 23 pcSystems = { 24 i686-linux.target = "i386"; 25 x86_64-linux.target = "i386"; 26 }; 27 28 - inPCSystems = any (system: stdenv.hostPlatform.system == system) (mapAttrsToList (name: _: name) pcSystems); 29 30 version = if for_HP_laptop then "1.2.1" else "1.2.0"; 31 ··· 59 60 nativeBuildInputs = [ autogen flex bison python2 autoconf automake ]; 61 buildInputs = [ ncurses libusb-compat-0_1 freetype gettext lvm2 ] 62 - ++ optional doCheck qemu; 63 64 hardeningDisable = [ "stackprotector" "pic" ]; 65
··· 18 , for_HP_laptop ? false 19 }: 20 21 let 22 pcSystems = { 23 i686-linux.target = "i386"; 24 x86_64-linux.target = "i386"; 25 }; 26 27 + inPCSystems = lib.any (system: stdenv.hostPlatform.system == system) (lib.mapAttrsToList (name: _: name) pcSystems); 28 29 version = if for_HP_laptop then "1.2.1" else "1.2.0"; 30 ··· 58 59 nativeBuildInputs = [ autogen flex bison python2 autoconf automake ]; 60 buildInputs = [ ncurses libusb-compat-0_1 freetype gettext lvm2 ] 61 + ++ lib.optional doCheck qemu; 62 63 hardeningDisable = [ "stackprotector" "pic" ]; 64
+1 -3
pkgs/tools/misc/hexd/default.nix
··· 1 { lib, stdenv, fetchFromGitHub }: 2 3 - with lib; 4 - 5 stdenv.mkDerivation rec { 6 pname = "hexd"; 7 version = "1.1.0"; ··· 15 16 makeFlags = [ "PREFIX=$(out)" ]; 17 18 - meta = { 19 description = "Colourful, human-friendly hexdump tool"; 20 homepage = "https://github.com/FireyFly/hexd"; 21 maintainers = [ maintainers.FireyFly ];
··· 1 { lib, stdenv, fetchFromGitHub }: 2 3 stdenv.mkDerivation rec { 4 pname = "hexd"; 5 version = "1.1.0"; ··· 13 14 makeFlags = [ "PREFIX=$(out)" ]; 15 16 + meta = with lib; { 17 description = "Colourful, human-friendly hexdump tool"; 18 homepage = "https://github.com/FireyFly/hexd"; 19 maintainers = [ maintainers.FireyFly ];
+2 -4
pkgs/tools/misc/logstash/6.x.nix
··· 7 , jre 8 }: 9 10 - with lib; 11 - 12 let this = stdenv.mkDerivation rec { 13 version = elk6Version; 14 - pname = "logstash${optionalString (!enableUnfree) "-oss"}"; 15 16 src = fetchurl { 17 url = "https://artifacts.elastic.co/downloads/logstash/${pname}-${version}.tar.gz"; ··· 63 maintainers = with maintainers; [ wjlroe offline basvandijk ]; 64 }; 65 passthru.tests = 66 - optionalAttrs (!enableUnfree) ( 67 assert this.drvPath == nixosTests.elk.ELK-6.elkPackages.logstash.drvPath; 68 { 69 elk = nixosTests.elk.ELK-6;
··· 7 , jre 8 }: 9 10 let this = stdenv.mkDerivation rec { 11 version = elk6Version; 12 + pname = "logstash${lib.optionalString (!enableUnfree) "-oss"}"; 13 14 src = fetchurl { 15 url = "https://artifacts.elastic.co/downloads/logstash/${pname}-${version}.tar.gz"; ··· 61 maintainers = with maintainers; [ wjlroe offline basvandijk ]; 62 }; 63 passthru.tests = 64 + lib.optionalAttrs (!enableUnfree) ( 65 assert this.drvPath == nixosTests.elk.ELK-6.elkPackages.logstash.drvPath; 66 { 67 elk = nixosTests.elk.ELK-6;
+5 -7
pkgs/tools/misc/logstash/7.x.nix
··· 9 , jre 10 }: 11 12 - with lib; 13 - 14 let 15 - info = splitString "-" stdenv.hostPlatform.system; 16 - arch = elemAt info 0; 17 - plat = elemAt info 1; 18 shas = 19 if enableUnfree 20 then { ··· 29 }; 30 this = stdenv.mkDerivation rec { 31 version = elk7Version; 32 - pname = "logstash${optionalString (!enableUnfree) "-oss"}"; 33 34 35 src = fetchurl { ··· 79 maintainers = with maintainers; [ wjlroe offline basvandijk ]; 80 }; 81 passthru.tests = 82 - optionalAttrs (config.allowUnfree && enableUnfree) ( 83 assert this.drvPath == nixosTests.elk.unfree.ELK-7.elkPackages.logstash.drvPath; 84 { 85 elk = nixosTests.elk.unfree.ELK-7;
··· 9 , jre 10 }: 11 12 let 13 + info = lib.splitString "-" stdenv.hostPlatform.system; 14 + arch = lib.elemAt info 0; 15 + plat = lib.elemAt info 1; 16 shas = 17 if enableUnfree 18 then { ··· 27 }; 28 this = stdenv.mkDerivation rec { 29 version = elk7Version; 30 + pname = "logstash${lib.optionalString (!enableUnfree) "-oss"}"; 31 32 33 src = fetchurl { ··· 77 maintainers = with maintainers; [ wjlroe offline basvandijk ]; 78 }; 79 passthru.tests = 80 + lib.optionalAttrs (config.allowUnfree && enableUnfree) ( 81 assert this.drvPath == nixosTests.elk.unfree.ELK-7.elkPackages.logstash.drvPath; 82 { 83 elk = nixosTests.elk.unfree.ELK-7;
+2 -3
pkgs/tools/misc/moreutils/default.nix
··· 11 , darwin 12 }: 13 14 - with lib; 15 stdenv.mkDerivation rec { 16 pname = "moreutils"; 17 version = "0.67"; ··· 28 29 strictDeps = true; 30 nativeBuildInputs = [ makeWrapper perl libxml2 libxslt docbook-xsl docbook_xml_dtd_44 ]; 31 - buildInputs = optional stdenv.isDarwin darwin.cctools; 32 33 propagatedBuildInputs = with perlPackages; [ perl IPCRun TimeDate TimeDuration ]; 34 ··· 40 wrapProgram $out/bin/ts --prefix PERL5LIB : $PERL5LIB 41 ''; 42 43 - meta = { 44 description = "Growing collection of the unix tools that nobody thought to write long ago when unix was young"; 45 homepage = "https://joeyh.name/code/moreutils/"; 46 maintainers = with maintainers; [ koral pSub ];
··· 11 , darwin 12 }: 13 14 stdenv.mkDerivation rec { 15 pname = "moreutils"; 16 version = "0.67"; ··· 27 28 strictDeps = true; 29 nativeBuildInputs = [ makeWrapper perl libxml2 libxslt docbook-xsl docbook_xml_dtd_44 ]; 30 + buildInputs = lib.optional stdenv.isDarwin darwin.cctools; 31 32 propagatedBuildInputs = with perlPackages; [ perl IPCRun TimeDate TimeDuration ]; 33 ··· 39 wrapProgram $out/bin/ts --prefix PERL5LIB : $PERL5LIB 40 ''; 41 42 + meta = with lib; { 43 description = "Growing collection of the unix tools that nobody thought to write long ago when unix was young"; 44 homepage = "https://joeyh.name/code/moreutils/"; 45 maintainers = with maintainers; [ koral pSub ];
+1 -3
pkgs/tools/misc/pixd/default.nix
··· 1 { lib, stdenv, fetchFromGitHub }: 2 3 - with lib; 4 - 5 stdenv.mkDerivation rec { 6 pname = "pixd"; 7 version = "1.0.0"; ··· 15 16 makeFlags = [ "PREFIX=$(out)" ]; 17 18 - meta = { 19 description = "Colourful visualization tool for binary files"; 20 homepage = "https://github.com/FireyFly/pixd"; 21 maintainers = [ maintainers.FireyFly ];
··· 1 { lib, stdenv, fetchFromGitHub }: 2 3 stdenv.mkDerivation rec { 4 pname = "pixd"; 5 version = "1.0.0"; ··· 13 14 makeFlags = [ "PREFIX=$(out)" ]; 15 16 + meta = with lib; { 17 description = "Colourful visualization tool for binary files"; 18 homepage = "https://github.com/FireyFly/pixd"; 19 maintainers = [ maintainers.FireyFly ];
+1 -2
pkgs/tools/misc/rmlint/default.nix
··· 20 21 assert withGui -> !stdenv.isDarwin; 22 23 - with lib; 24 stdenv.mkDerivation rec { 25 pname = "rmlint"; 26 version = "2.10.1"; ··· 78 gappsWrapperArgs+=(--prefix PYTHONPATH : "$(toPythonPath $out):$(toPythonPath ${python3.pkgs.pygobject3}):$(toPythonPath ${python3.pkgs.pycairo})") 79 ''; 80 81 - meta = { 82 description = "Extremely fast tool to remove duplicates and other lint from your filesystem"; 83 homepage = "https://rmlint.readthedocs.org"; 84 platforms = platforms.unix;
··· 20 21 assert withGui -> !stdenv.isDarwin; 22 23 stdenv.mkDerivation rec { 24 pname = "rmlint"; 25 version = "2.10.1"; ··· 77 gappsWrapperArgs+=(--prefix PYTHONPATH : "$(toPythonPath $out):$(toPythonPath ${python3.pkgs.pygobject3}):$(toPythonPath ${python3.pkgs.pycairo})") 78 ''; 79 80 + meta = with lib; { 81 description = "Extremely fast tool to remove duplicates and other lint from your filesystem"; 82 homepage = "https://rmlint.readthedocs.org"; 83 platforms = platforms.unix;
+10 -11
pkgs/tools/networking/dnsmasq/default.nix
··· 5 , nixosTests 6 }: 7 8 - with lib; 9 let 10 - copts = concatStringsSep " " ([ 11 "-DHAVE_IDN" 12 "-DHAVE_DNSSEC" 13 - ] ++ optionals dbusSupport [ 14 "-DHAVE_DBUS" 15 - ] ++ optionals stdenv.isLinux [ 16 "-DHAVE_CONNTRACK" 17 ]); 18 in ··· 43 44 hardeningEnable = [ "pie" ]; 45 46 - postBuild = optionalString stdenv.isLinux '' 47 make -C contrib/lease-tools 48 ''; 49 ··· 51 # module can create it in Nix-land? 52 postInstall = '' 53 install -Dm644 trust-anchors.conf $out/share/dnsmasq/trust-anchors.conf 54 - '' + optionalString stdenv.isDarwin '' 55 install -Dm644 contrib/MacOSX-launchd/uk.org.thekelleys.dnsmasq.plist \ 56 $out/Library/LaunchDaemons/uk.org.thekelleys.dnsmasq.plist 57 substituteInPlace $out/Library/LaunchDaemons/uk.org.thekelleys.dnsmasq.plist \ 58 --replace "/usr/local/sbin" "$out/bin" 59 - '' + optionalString stdenv.isLinux '' 60 install -Dm755 contrib/lease-tools/dhcp_lease_time $out/bin/dhcp_lease_time 61 install -Dm755 contrib/lease-tools/dhcp_release $out/bin/dhcp_release 62 install -Dm755 contrib/lease-tools/dhcp_release6 $out/bin/dhcp_release6 63 64 - '' + optionalString dbusSupport '' 65 install -Dm644 dbus/dnsmasq.conf $out/share/dbus-1/system.d/dnsmasq.conf 66 mkdir -p $out/share/dbus-1/system-services 67 cat <<END > $out/share/dbus-1/system-services/uk.org.thekelleys.dnsmasq.service ··· 75 76 nativeBuildInputs = [ pkg-config ]; 77 buildInputs = [ nettle libidn ] 78 - ++ optionals dbusSupport [ dbus ] 79 - ++ optionals stdenv.isLinux [ libnetfilter_conntrack ]; 80 81 passthru.tests = { 82 prometheus-exporter = nixosTests.prometheus-exporters.dnsmasq; ··· 87 kubernetes-dns-multi = nixosTests.kubernetes.dns-multi-node; 88 }; 89 90 - meta = { 91 description = "An integrated DNS, DHCP and TFTP server for small networks"; 92 homepage = "https://www.thekelleys.org.uk/dnsmasq/doc.html"; 93 license = licenses.gpl2;
··· 5 , nixosTests 6 }: 7 8 let 9 + copts = lib.concatStringsSep " " ([ 10 "-DHAVE_IDN" 11 "-DHAVE_DNSSEC" 12 + ] ++ lib.optionals dbusSupport [ 13 "-DHAVE_DBUS" 14 + ] ++ lib.optionals stdenv.isLinux [ 15 "-DHAVE_CONNTRACK" 16 ]); 17 in ··· 42 43 hardeningEnable = [ "pie" ]; 44 45 + postBuild = lib.optionalString stdenv.isLinux '' 46 make -C contrib/lease-tools 47 ''; 48 ··· 50 # module can create it in Nix-land? 51 postInstall = '' 52 install -Dm644 trust-anchors.conf $out/share/dnsmasq/trust-anchors.conf 53 + '' + lib.optionalString stdenv.isDarwin '' 54 install -Dm644 contrib/MacOSX-launchd/uk.org.thekelleys.dnsmasq.plist \ 55 $out/Library/LaunchDaemons/uk.org.thekelleys.dnsmasq.plist 56 substituteInPlace $out/Library/LaunchDaemons/uk.org.thekelleys.dnsmasq.plist \ 57 --replace "/usr/local/sbin" "$out/bin" 58 + '' + lib.optionalString stdenv.isLinux '' 59 install -Dm755 contrib/lease-tools/dhcp_lease_time $out/bin/dhcp_lease_time 60 install -Dm755 contrib/lease-tools/dhcp_release $out/bin/dhcp_release 61 install -Dm755 contrib/lease-tools/dhcp_release6 $out/bin/dhcp_release6 62 63 + '' + lib.optionalString dbusSupport '' 64 install -Dm644 dbus/dnsmasq.conf $out/share/dbus-1/system.d/dnsmasq.conf 65 mkdir -p $out/share/dbus-1/system-services 66 cat <<END > $out/share/dbus-1/system-services/uk.org.thekelleys.dnsmasq.service ··· 74 75 nativeBuildInputs = [ pkg-config ]; 76 buildInputs = [ nettle libidn ] 77 + ++ lib.optionals dbusSupport [ dbus ] 78 + ++ lib.optionals stdenv.isLinux [ libnetfilter_conntrack ]; 79 80 passthru.tests = { 81 prometheus-exporter = nixosTests.prometheus-exporters.dnsmasq; ··· 86 kubernetes-dns-multi = nixosTests.kubernetes.dns-multi-node; 87 }; 88 89 + meta = with lib; { 90 description = "An integrated DNS, DHCP and TFTP server for small networks"; 91 homepage = "https://www.thekelleys.org.uk/dnsmasq/doc.html"; 92 license = licenses.gpl2;
+5 -7
pkgs/tools/networking/eggdrop/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, tcl }: 2 3 stdenv.mkDerivation rec { 4 pname = "eggdrop"; 5 - version = "1.9.3"; 6 7 - src = fetchFromGitHub { 8 - owner = "eggheads"; 9 - repo = "eggdrop"; 10 - rev = "v${version}"; 11 - sha256 = "sha256-BYPDIPn1nuVhnPjs2vZ6KC6pjBVYDWsRjB8c1Z6UUdE="; 12 }; 13 14 buildInputs = [ tcl ];
··· 1 + { lib, stdenv, fetchurl, tcl }: 2 3 stdenv.mkDerivation rec { 4 pname = "eggdrop"; 5 + version = "1.9.4"; 6 7 + src = fetchurl { 8 + url = "https://ftp.eggheads.org/pub/eggdrop/source/${lib.versions.majorMinor version}/eggdrop-${version}.tar.gz"; 9 + hash = "sha256-DCh+N+h7XBidScnl2I9cwzhsmMB0MdPmAzgDwYkCltE="; 10 }; 11 12 buildInputs = [ tcl ];
+1 -3
pkgs/tools/networking/flannel/default.nix
··· 1 { lib, buildGoModule, fetchFromGitHub, nixosTests }: 2 3 - with lib; 4 - 5 buildGoModule rec { 6 pname = "flannel"; 7 version = "0.20.2"; ··· 23 24 passthru.tests = { inherit (nixosTests) flannel; }; 25 26 - meta = { 27 description = "Network fabric for containers, designed for Kubernetes"; 28 license = licenses.asl20; 29 homepage = "https://github.com/flannel-io/flannel";
··· 1 { lib, buildGoModule, fetchFromGitHub, nixosTests }: 2 3 buildGoModule rec { 4 pname = "flannel"; 5 version = "0.20.2"; ··· 21 22 passthru.tests = { inherit (nixosTests) flannel; }; 23 24 + meta = with lib; { 25 description = "Network fabric for containers, designed for Kubernetes"; 26 license = licenses.asl20; 27 homepage = "https://github.com/flannel-io/flannel";
-2
pkgs/tools/networking/logmein-hamachi/default.nix
··· 1 { lib, stdenv, fetchurl }: 2 3 - with lib; 4 - 5 let 6 arch = 7 if stdenv.hostPlatform.system == "x86_64-linux" then "x64"
··· 1 { lib, stdenv, fetchurl }: 2 3 let 4 arch = 5 if stdenv.hostPlatform.system == "x86_64-linux" then "x64"
+2 -4
pkgs/tools/networking/ndjbdns/default.nix
··· 1 { lib, stdenv, fetchFromGitHub, autoreconfHook, systemd, pkg-config }: 2 3 - with lib; 4 - 5 stdenv.mkDerivation { 6 version = "1.06"; 7 pname = "ndjbdns"; ··· 15 16 nativeBuildInputs = [ autoreconfHook pkg-config ]; 17 buildInputs = [ ] 18 - ++ optional stdenv.isLinux systemd; 19 20 - meta = { 21 description = "A brand new release of the Djbdns"; 22 longDescription = '' 23 Djbdns is a fully‐fledged Domain Name System(DNS), originally written by the eminent author of qmail, Dr. D J Bernstein.
··· 1 { lib, stdenv, fetchFromGitHub, autoreconfHook, systemd, pkg-config }: 2 3 stdenv.mkDerivation { 4 version = "1.06"; 5 pname = "ndjbdns"; ··· 13 14 nativeBuildInputs = [ autoreconfHook pkg-config ]; 15 buildInputs = [ ] 16 + ++ lib.optional stdenv.isLinux systemd; 17 18 + meta = with lib; { 19 description = "A brand new release of the Djbdns"; 20 longDescription = '' 21 Djbdns is a fully‐fledged Domain Name System(DNS), originally written by the eminent author of qmail, Dr. D J Bernstein.
+2 -4
pkgs/tools/networking/ngrok/default.nix
··· 1 { lib, stdenv, fetchurl }: 2 3 - with lib; 4 - 5 let versions = lib.importJSON ./versions.json; 6 arch = if stdenv.isi686 then "386" 7 else if stdenv.isx86_64 then "amd64" ··· 37 # Stripping causes SEGFAULT on x86_64-darwin 38 dontStrip = true; 39 40 - meta = { 41 description = "Allows you to expose a web server running on your local machine to the internet"; 42 homepage = "https://ngrok.com/"; 43 - sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ]; 44 license = licenses.unfree; 45 platforms = [ "i686-linux" "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ]; 46 maintainers = with maintainers; [ bobvanderlinden brodes ];
··· 1 { lib, stdenv, fetchurl }: 2 3 let versions = lib.importJSON ./versions.json; 4 arch = if stdenv.isi686 then "386" 5 else if stdenv.isx86_64 then "amd64" ··· 35 # Stripping causes SEGFAULT on x86_64-darwin 36 dontStrip = true; 37 38 + meta = with lib; { 39 description = "Allows you to expose a web server running on your local machine to the internet"; 40 homepage = "https://ngrok.com/"; 41 + sourceProvenance = with sourceTypes; [ binaryNativeCode ]; 42 license = licenses.unfree; 43 platforms = [ "i686-linux" "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ]; 44 maintainers = with maintainers; [ bobvanderlinden brodes ];
+12 -13
pkgs/tools/networking/openssh/common.nix
··· 30 , linkOpenssl ? true 31 }: 32 33 - with lib; 34 stdenv.mkDerivation rec { 35 inherit pname version src; 36 ··· 57 # This is not the same as the libkrb5 from the inputs! pkgs.libkrb5 is 58 # needed here to access krb5-config in order to cross compile. See: 59 # https://github.com/NixOS/nixpkgs/pull/107606 60 - ++ optional withKerberos pkgs.libkrb5 61 ++ extraNativeBuildInputs; 62 buildInputs = [ zlib openssl libedit ] 63 - ++ optional withFIDO libfido2 64 - ++ optional withKerberos libkrb5 65 - ++ optional stdenv.isLinux pam; 66 67 preConfigure = '' 68 # Setting LD causes `configure' and `make' to disagree about which linker ··· 80 "--with-libedit=yes" 81 "--disable-strip" 82 (if stdenv.isLinux then "--with-pam" else "--without-pam") 83 - ] ++ optional (etcDir != null) "--sysconfdir=${etcDir}" 84 - ++ optional withFIDO "--with-security-key-builtin=yes" 85 - ++ optional withKerberos (assert libkrb5 != null; "--with-kerberos5=${libkrb5}") 86 - ++ optional stdenv.isDarwin "--disable-libutil" 87 - ++ optional (!linkOpenssl) "--without-openssl" 88 ++ extraConfigureFlags; 89 90 ${if stdenv.hostPlatform.isStatic then "NIX_LDFLAGS" else null}= [ "-laudit" ] ++ lib.optionals withKerberos [ "-lkeyutils" ]; ··· 97 98 doCheck = true; 99 enableParallelChecking = false; 100 - nativeCheckInputs = optional (!stdenv.isDarwin) hostname; 101 preCheck = lib.optionalString (stdenv.hostPlatform == stdenv.buildPlatform) '' 102 # construct a dummy HOME 103 export HOME=$(realpath ../dummy-home) ··· 145 # integration tests hard to get working on darwin with its shaky 146 # sandbox 147 # t-exec tests fail on musl 148 - checkTarget = optional (!stdenv.isDarwin && !stdenv.hostPlatform.isMusl) "t-exec" 149 # other tests are less demanding of the environment 150 ++ [ "unit" "file-tests" "interop-tests" ]; 151 ··· 165 borgbackup-integration = nixosTests.borgbackup; 166 }; 167 168 - meta = { 169 description = "An implementation of the SSH protocol${extraDesc}"; 170 homepage = "https://www.openssh.com/"; 171 changelog = "https://www.openssh.com/releasenotes.html";
··· 30 , linkOpenssl ? true 31 }: 32 33 stdenv.mkDerivation rec { 34 inherit pname version src; 35 ··· 56 # This is not the same as the libkrb5 from the inputs! pkgs.libkrb5 is 57 # needed here to access krb5-config in order to cross compile. See: 58 # https://github.com/NixOS/nixpkgs/pull/107606 59 + ++ lib.optional withKerberos pkgs.libkrb5 60 ++ extraNativeBuildInputs; 61 buildInputs = [ zlib openssl libedit ] 62 + ++ lib.optional withFIDO libfido2 63 + ++ lib.optional withKerberos libkrb5 64 + ++ lib.optional stdenv.isLinux pam; 65 66 preConfigure = '' 67 # Setting LD causes `configure' and `make' to disagree about which linker ··· 79 "--with-libedit=yes" 80 "--disable-strip" 81 (if stdenv.isLinux then "--with-pam" else "--without-pam") 82 + ] ++ lib.optional (etcDir != null) "--sysconfdir=${etcDir}" 83 + ++ lib.optional withFIDO "--with-security-key-builtin=yes" 84 + ++ lib.optional withKerberos (assert libkrb5 != null; "--with-kerberos5=${libkrb5}") 85 + ++ lib.optional stdenv.isDarwin "--disable-libutil" 86 + ++ lib.optional (!linkOpenssl) "--without-openssl" 87 ++ extraConfigureFlags; 88 89 ${if stdenv.hostPlatform.isStatic then "NIX_LDFLAGS" else null}= [ "-laudit" ] ++ lib.optionals withKerberos [ "-lkeyutils" ]; ··· 96 97 doCheck = true; 98 enableParallelChecking = false; 99 + nativeCheckInputs = lib.optional (!stdenv.isDarwin) hostname; 100 preCheck = lib.optionalString (stdenv.hostPlatform == stdenv.buildPlatform) '' 101 # construct a dummy HOME 102 export HOME=$(realpath ../dummy-home) ··· 144 # integration tests hard to get working on darwin with its shaky 145 # sandbox 146 # t-exec tests fail on musl 147 + checkTarget = lib.optional (!stdenv.isDarwin && !stdenv.hostPlatform.isMusl) "t-exec" 148 # other tests are less demanding of the environment 149 ++ [ "unit" "file-tests" "interop-tests" ]; 150 ··· 164 borgbackup-integration = nixosTests.borgbackup; 165 }; 166 167 + meta = with lib; { 168 description = "An implementation of the SSH protocol${extraDesc}"; 169 homepage = "https://www.openssh.com/"; 170 changelog = "https://www.openssh.com/releasenotes.html";
+1 -3
pkgs/tools/networking/snabb/default.nix
··· 3 , fetchFromGitHub 4 }: 5 6 - with lib; 7 - 8 stdenv.mkDerivation rec { 9 pname = "snabb"; 10 version = "2022.10"; ··· 21 cp src/snabb $out/bin 22 ''; 23 24 - meta = { 25 homepage = "https://github.com/SnabbCo/snabbswitch"; 26 description = "Simple and fast packet networking toolkit"; 27 longDescription = ''
··· 3 , fetchFromGitHub 4 }: 5 6 stdenv.mkDerivation rec { 7 pname = "snabb"; 8 version = "2022.10"; ··· 19 cp src/snabb $out/bin 20 ''; 21 22 + meta = with lib; { 23 homepage = "https://github.com/SnabbCo/snabbswitch"; 24 description = "Simple and fast packet networking toolkit"; 25 longDescription = ''
+13 -15
pkgs/tools/networking/strongswan/default.nix
··· 14 # strongswan curl plugin may break. 15 # See https://wiki.strongswan.org/projects/strongswan/wiki/Curl for more info. 16 17 - with lib; 18 - 19 stdenv.mkDerivation rec { 20 pname = "strongswan"; 21 version = "5.9.8"; # Make sure to also update <nixpkgs/nixos/modules/services/networking/strongswan-swanctl/swanctl-params.nix> when upgrading! ··· 32 nativeBuildInputs = [ pkg-config autoreconfHook perl gperf bison flex ]; 33 buildInputs = 34 [ curl gmp python3 ldns unbound openssl pcsclite ] 35 - ++ optionals enableTNC [ trousers sqlite libxml2 ] 36 - ++ optionals stdenv.isLinux [ systemd.dev pam iptables ] 37 - ++ optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ SystemConfiguration ]) 38 - ++ optionals enableNetworkManager [ networkmanager glib ]; 39 40 patches = [ 41 ./ext_auth-path.patch ··· 43 ./updown-path.patch 44 ]; 45 46 - postPatch = optionalString stdenv.isLinux '' 47 # glibc-2.26 reorganized internal includes 48 sed '1i#include <stdint.h>' -i src/libstrongswan/utils/utils/memory.h 49 ··· 62 "--enable-pkcs11" "--enable-eap-sim-pcsc" "--enable-dnscert" "--enable-unbound" 63 "--enable-chapoly" 64 "--enable-curl" ] 65 - ++ optionals stdenv.isLinux [ 66 "--enable-farp" "--enable-dhcp" 67 "--enable-systemd" "--with-systemdsystemunitdir=${placeholder "out"}/etc/systemd/system" 68 "--enable-xauth-pam" 69 "--enable-forecast" 70 "--enable-connmark" 71 "--enable-af-alg" ] 72 - ++ optionals stdenv.isx86_64 [ "--enable-aesni" "--enable-rdrand" ] 73 - ++ optional (stdenv.hostPlatform.system == "i686-linux") "--enable-padlock" 74 - ++ optionals enableTNC [ 75 "--disable-gmp" "--disable-aes" "--disable-md5" "--disable-sha1" "--disable-sha2" "--disable-fips-prf" 76 "--enable-eap-tnc" "--enable-eap-ttls" "--enable-eap-dynamic" "--enable-tnccs-20" 77 "--enable-tnc-imc" "--enable-imc-os" "--enable-imc-attestation" ··· 80 "--with-tss=trousers" 81 "--enable-aikgen" 82 "--enable-sqlite" ] 83 - ++ optionals enableNetworkManager [ 84 "--enable-nm" 85 "--with-nm-ca-dir=/etc/ssl/certs" ] 86 # Taken from: https://wiki.strongswan.org/projects/strongswan/wiki/MacOSX 87 - ++ optionals stdenv.isDarwin [ 88 "--disable-systemd" 89 "--disable-xauth-pam" 90 "--disable-kernel-netlink" ··· 100 echo "include /etc/ipsec.secrets" >> $out/etc/ipsec.secrets 101 ''; 102 103 - NIX_LDFLAGS = optionalString stdenv.cc.isGNU "-lgcc_s" ; 104 105 passthru.tests = { inherit (nixosTests) strongswan-swanctl; }; 106 107 - meta = { 108 description = "OpenSource IPsec-based VPN Solution"; 109 homepage = "https://www.strongswan.org"; 110 license = licenses.gpl2Plus;
··· 14 # strongswan curl plugin may break. 15 # See https://wiki.strongswan.org/projects/strongswan/wiki/Curl for more info. 16 17 stdenv.mkDerivation rec { 18 pname = "strongswan"; 19 version = "5.9.8"; # Make sure to also update <nixpkgs/nixos/modules/services/networking/strongswan-swanctl/swanctl-params.nix> when upgrading! ··· 30 nativeBuildInputs = [ pkg-config autoreconfHook perl gperf bison flex ]; 31 buildInputs = 32 [ curl gmp python3 ldns unbound openssl pcsclite ] 33 + ++ lib.optionals enableTNC [ trousers sqlite libxml2 ] 34 + ++ lib.optionals stdenv.isLinux [ systemd.dev pam iptables ] 35 + ++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ SystemConfiguration ]) 36 + ++ lib.optionals enableNetworkManager [ networkmanager glib ]; 37 38 patches = [ 39 ./ext_auth-path.patch ··· 41 ./updown-path.patch 42 ]; 43 44 + postPatch = lib.optionalString stdenv.isLinux '' 45 # glibc-2.26 reorganized internal includes 46 sed '1i#include <stdint.h>' -i src/libstrongswan/utils/utils/memory.h 47 ··· 60 "--enable-pkcs11" "--enable-eap-sim-pcsc" "--enable-dnscert" "--enable-unbound" 61 "--enable-chapoly" 62 "--enable-curl" ] 63 + ++ lib.optionals stdenv.isLinux [ 64 "--enable-farp" "--enable-dhcp" 65 "--enable-systemd" "--with-systemdsystemunitdir=${placeholder "out"}/etc/systemd/system" 66 "--enable-xauth-pam" 67 "--enable-forecast" 68 "--enable-connmark" 69 "--enable-af-alg" ] 70 + ++ lib.optionals stdenv.isx86_64 [ "--enable-aesni" "--enable-rdrand" ] 71 + ++ lib.optional (stdenv.hostPlatform.system == "i686-linux") "--enable-padlock" 72 + ++ lib.optionals enableTNC [ 73 "--disable-gmp" "--disable-aes" "--disable-md5" "--disable-sha1" "--disable-sha2" "--disable-fips-prf" 74 "--enable-eap-tnc" "--enable-eap-ttls" "--enable-eap-dynamic" "--enable-tnccs-20" 75 "--enable-tnc-imc" "--enable-imc-os" "--enable-imc-attestation" ··· 78 "--with-tss=trousers" 79 "--enable-aikgen" 80 "--enable-sqlite" ] 81 + ++ lib.optionals enableNetworkManager [ 82 "--enable-nm" 83 "--with-nm-ca-dir=/etc/ssl/certs" ] 84 # Taken from: https://wiki.strongswan.org/projects/strongswan/wiki/MacOSX 85 + ++ lib.optionals stdenv.isDarwin [ 86 "--disable-systemd" 87 "--disable-xauth-pam" 88 "--disable-kernel-netlink" ··· 98 echo "include /etc/ipsec.secrets" >> $out/etc/ipsec.secrets 99 ''; 100 101 + NIX_LDFLAGS = lib.optionalString stdenv.cc.isGNU "-lgcc_s" ; 102 103 passthru.tests = { inherit (nixosTests) strongswan-swanctl; }; 104 105 + meta = with lib; { 106 description = "OpenSource IPsec-based VPN Solution"; 107 homepage = "https://www.strongswan.org"; 108 license = licenses.gpl2Plus;
+3 -5
pkgs/tools/package-management/nix-serve/default.nix
··· 8 , nixosTests 9 }: 10 11 - with lib; 12 - 13 let 14 rev = "e4675e38ab54942e351c7686e40fabec822120b9"; 15 sha256 = "1wm24p6pkxl1d7hrvf4ph6mwzawvqi22c60z9xzndn5xfyr4v0yr"; ··· 17 18 stdenv.mkDerivation { 19 pname = "nix-serve"; 20 - version = "0.2-${substring 0 7 rev}"; 21 22 src = fetchFromGitHub { 23 owner = "edolstra"; ··· 33 install -Dm0755 nix-serve.psgi $out/libexec/nix-serve/nix-serve.psgi 34 35 makeWrapper ${perl.withPackages(p: [ p.DBDSQLite p.Plack p.Starman nix.perl-bindings ])}/bin/starman $out/bin/nix-serve \ 36 - --prefix PATH : "${makeBinPath [ bzip2 nix ]}" \ 37 --add-flags $out/libexec/nix-serve/nix-serve.psgi 38 ''; 39 ··· 42 nix-serve-ssh = nixosTests.nix-serve-ssh; 43 }; 44 45 - meta = { 46 homepage = "https://github.com/edolstra/nix-serve"; 47 description = "A utility for sharing a Nix store as a binary cache"; 48 maintainers = [ maintainers.eelco ];
··· 8 , nixosTests 9 }: 10 11 let 12 rev = "e4675e38ab54942e351c7686e40fabec822120b9"; 13 sha256 = "1wm24p6pkxl1d7hrvf4ph6mwzawvqi22c60z9xzndn5xfyr4v0yr"; ··· 15 16 stdenv.mkDerivation { 17 pname = "nix-serve"; 18 + version = "0.2-${lib.substring 0 7 rev}"; 19 20 src = fetchFromGitHub { 21 owner = "edolstra"; ··· 31 install -Dm0755 nix-serve.psgi $out/libexec/nix-serve/nix-serve.psgi 32 33 makeWrapper ${perl.withPackages(p: [ p.DBDSQLite p.Plack p.Starman nix.perl-bindings ])}/bin/starman $out/bin/nix-serve \ 34 + --prefix PATH : "${lib.makeBinPath [ bzip2 nix ]}" \ 35 --add-flags $out/libexec/nix-serve/nix-serve.psgi 36 ''; 37 ··· 40 nix-serve-ssh = nixosTests.nix-serve-ssh; 41 }; 42 43 + meta = with lib; { 44 homepage = "https://github.com/edolstra/nix-serve"; 45 description = "A utility for sharing a Nix store as a binary cache"; 46 maintainers = [ maintainers.eelco ];
+12 -1
pkgs/tools/package-management/poetry/default.nix
··· 6 }: 7 8 let 9 - python = python3; 10 in python.pkgs.buildPythonApplication rec { 11 pname = "poetry"; 12 version = "1.3.2";
··· 6 }: 7 8 let 9 + python = python3.override { 10 + packageOverrides = self: super: { 11 + dulwich = super.dulwich.overridePythonAttrs (old: rec { 12 + version = "0.20.50"; 13 + src = self.fetchPypi { 14 + inherit (old) pname; 15 + inherit version; 16 + hash = "sha256-UKlBeWssZ1vjm+co1UDBa1t853654bP4VWUOzmgy0r4="; 17 + }; 18 + }); 19 + }; 20 + }; 21 in python.pkgs.buildPythonApplication rec { 22 pname = "poetry"; 23 version = "1.3.2";
-2
pkgs/tools/security/afl/qemu.nix
··· 2 , texinfo, libuuid, flex, bison, pixman, autoconf 3 }: 4 5 - with lib; 6 - 7 let 8 cpuTarget = if stdenv.hostPlatform.system == "x86_64-linux" then "x86_64-linux-user" 9 else if stdenv.hostPlatform.system == "i686-linux" then "i386-linux-user"
··· 2 , texinfo, libuuid, flex, bison, pixman, autoconf 3 }: 4 5 let 6 cpuTarget = if stdenv.hostPlatform.system == "x86_64-linux" then "x86_64-linux-user" 7 else if stdenv.hostPlatform.system == "i686-linux" then "i386-linux-user"
-2
pkgs/tools/security/aflplusplus/qemu.nix
··· 2 , texinfo, libuuid, flex, bison, pixman, autoconf 3 }: 4 5 - with lib; 6 - 7 let 8 qemuName = "qemu-3.1.0"; 9 cpuTarget = if stdenv.targetPlatform.system == "x86_64-linux" then "x86_64-linux-user"
··· 2 , texinfo, libuuid, flex, bison, pixman, autoconf 3 }: 4 5 let 6 qemuName = "qemu-3.1.0"; 7 cpuTarget = if stdenv.targetPlatform.system == "x86_64-linux" then "x86_64-linux-user"
+2 -4
pkgs/tools/security/b2sum/default.nix
··· 1 { lib, stdenv, fetchFromGitHub, openmp ? null }: 2 3 - with lib; 4 - 5 stdenv.mkDerivation (finalAttrs: { 6 pname = "b2sum"; 7 version = "20190724"; ··· 24 25 buildInputs = [ openmp ]; 26 27 - buildFlags = [ (optional (openmp == null) "NO_OPENMP=1") ]; 28 installFlags = [ "PREFIX=$(out)" ]; 29 30 - meta = { 31 description = "The b2sum utility is similar to the md5sum or shasum utilities but for BLAKE2"; 32 homepage = "https://blake2.net"; 33 license = with licenses; [ asl20 cc0 openssl ];
··· 1 { lib, stdenv, fetchFromGitHub, openmp ? null }: 2 3 stdenv.mkDerivation (finalAttrs: { 4 pname = "b2sum"; 5 version = "20190724"; ··· 22 23 buildInputs = [ openmp ]; 24 25 + buildFlags = [ (lib.optional (openmp == null) "NO_OPENMP=1") ]; 26 installFlags = [ "PREFIX=$(out)" ]; 27 28 + meta = with lib; { 29 description = "The b2sum utility is similar to the md5sum or shasum utilities but for BLAKE2"; 30 homepage = "https://blake2.net"; 31 license = with licenses; [ asl20 cc0 openssl ];
+1 -3
pkgs/tools/security/john/default.nix
··· 2 , gcc, python3Packages, perl, perlPackages, makeWrapper, fetchpatch 3 }: 4 5 - with lib; 6 - 7 stdenv.mkDerivation rec { 8 pname = "john"; 9 version = "1.9.0-jumbo-1"; ··· 83 done 84 ''; 85 86 - meta = { 87 description = "John the Ripper password cracker"; 88 license = licenses.gpl2Plus; 89 homepage = "https://github.com/openwall/john/";
··· 2 , gcc, python3Packages, perl, perlPackages, makeWrapper, fetchpatch 3 }: 4 5 stdenv.mkDerivation rec { 6 pname = "john"; 7 version = "1.9.0-jumbo-1"; ··· 81 done 82 ''; 83 84 + meta = with lib; { 85 description = "John the Ripper password cracker"; 86 license = licenses.gpl2Plus; 87 homepage = "https://github.com/openwall/john/";
+3 -2
pkgs/tools/security/knockpy/default.nix
··· 5 6 python3.pkgs.buildPythonApplication rec { 7 pname = "knockpy"; 8 - version = "5.4.0"; 9 10 src = fetchFromGitHub { 11 owner = "guelfoweb"; 12 repo = "knock"; 13 rev = "refs/tags/${version}"; 14 - hash = "sha256-If8w6Z75nQsayJBqJs+D9++7kqCbkmwkszOaMATDTpY="; 15 }; 16 17 propagatedBuildInputs = with python3.pkgs; [
··· 5 6 python3.pkgs.buildPythonApplication rec { 7 pname = "knockpy"; 8 + version = "6.1.0"; 9 + format = "setuptools"; 10 11 src = fetchFromGitHub { 12 owner = "guelfoweb"; 13 repo = "knock"; 14 rev = "refs/tags/${version}"; 15 + hash = "sha256-O4tXq4pDzuTBEGAls2I9bfBRdHssF4rFBec4OtfUx6A="; 16 }; 17 18 propagatedBuildInputs = with python3.pkgs; [
+1 -3
pkgs/tools/security/modsecurity/default.nix
··· 3 , luaSupport ? false, lua5, perl 4 }: 5 6 - with lib; 7 - 8 let luaValue = if luaSupport then lua5 else "no"; 9 optional = lib.optional; 10 in ··· 49 cp -R * $nginx 50 ''; 51 52 - meta = { 53 description = "Open source, cross-platform web application firewall (WAF)"; 54 license = licenses.asl20; 55 homepage = "https://www.modsecurity.org/";
··· 3 , luaSupport ? false, lua5, perl 4 }: 5 6 let luaValue = if luaSupport then lua5 else "no"; 7 optional = lib.optional; 8 in ··· 47 cp -R * $nginx 48 ''; 49 50 + meta = with lib; { 51 description = "Open source, cross-platform web application firewall (WAF)"; 52 license = licenses.asl20; 53 homepage = "https://www.modsecurity.org/";
+4 -6
pkgs/tools/security/nmap/default.nix
··· 6 , withLua ? true 7 }: 8 9 - with lib; 10 - 11 stdenv.mkDerivation rec { 12 pname = "nmap"; 13 version = "7.93"; ··· 18 }; 19 20 patches = [ ./zenmap.patch ] 21 - ++ optionals stdenv.cc.isClang [( 22 # Fixes a compile error due an ambiguous reference to bind(2) in 23 # nping/EchoServer.cc, which is otherwise resolved to std::bind. 24 # https://github.com/nmap/nmap/pull/1363 ··· 29 } 30 )]; 31 32 - prePatch = optionalString stdenv.isDarwin '' 33 substituteInPlace libz/configure \ 34 --replace /usr/bin/libtool ar \ 35 --replace 'AR="libtool"' 'AR="ar"' \ ··· 43 "--without-zenmap" 44 ]; 45 46 - makeFlags = optionals (stdenv.buildPlatform != stdenv.hostPlatform) [ 47 "AR=${stdenv.cc.bintools.targetPrefix}ar" 48 "RANLIB=${stdenv.cc.bintools.targetPrefix}ranlib" 49 "CC=${stdenv.cc.targetPrefix}gcc" ··· 56 57 doCheck = false; # fails 3 tests, probably needs the net 58 59 - meta = { 60 description = "A free and open source utility for network discovery and security auditing"; 61 homepage = "http://www.nmap.org"; 62 license = licenses.gpl2;
··· 6 , withLua ? true 7 }: 8 9 stdenv.mkDerivation rec { 10 pname = "nmap"; 11 version = "7.93"; ··· 16 }; 17 18 patches = [ ./zenmap.patch ] 19 + ++ lib.optionals stdenv.cc.isClang [( 20 # Fixes a compile error due an ambiguous reference to bind(2) in 21 # nping/EchoServer.cc, which is otherwise resolved to std::bind. 22 # https://github.com/nmap/nmap/pull/1363 ··· 27 } 28 )]; 29 30 + prePatch = lib.optionalString stdenv.isDarwin '' 31 substituteInPlace libz/configure \ 32 --replace /usr/bin/libtool ar \ 33 --replace 'AR="libtool"' 'AR="ar"' \ ··· 41 "--without-zenmap" 42 ]; 43 44 + makeFlags = lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [ 45 "AR=${stdenv.cc.bintools.targetPrefix}ar" 46 "RANLIB=${stdenv.cc.bintools.targetPrefix}ranlib" 47 "CC=${stdenv.cc.targetPrefix}gcc" ··· 54 55 doCheck = false; # fails 3 tests, probably needs the net 56 57 + meta = with lib; { 58 description = "A free and open source utility for network discovery and security auditing"; 59 homepage = "http://www.nmap.org"; 60 license = licenses.gpl2;
+2 -4
pkgs/tools/security/pass/default.nix
··· 11 , tombPluginSupport ? false 12 }: 13 14 - with lib; 15 - 16 assert x11Support -> xclip != null; 17 assert waylandSupport -> wl-clipboard != null; 18 ··· 35 name = "pass"; 36 paths = selected; 37 nativeBuildInputs = [ makeWrapper ]; 38 - buildInputs = concatMap (x: x.buildInputs) selected; 39 40 postBuild = '' 41 files=$(find $out/bin/ -type f -exec readlink -f {} \;) ··· 79 # dependencies (s.el) here. The user has to do this themselves. 80 mkdir -p "$out/share/emacs/site-lisp" 81 cp "contrib/emacs/password-store.el" "$out/share/emacs/site-lisp/" 82 - '' + optionalString dmenuSupport '' 83 cp "contrib/dmenu/passmenu" "$out/bin/" 84 ''; 85
··· 11 , tombPluginSupport ? false 12 }: 13 14 assert x11Support -> xclip != null; 15 assert waylandSupport -> wl-clipboard != null; 16 ··· 33 name = "pass"; 34 paths = selected; 35 nativeBuildInputs = [ makeWrapper ]; 36 + buildInputs = lib.concatMap (x: x.buildInputs) selected; 37 38 postBuild = '' 39 files=$(find $out/bin/ -type f -exec readlink -f {} \;) ··· 77 # dependencies (s.el) here. The user has to do this themselves. 78 mkdir -p "$out/share/emacs/site-lisp" 79 cp "contrib/emacs/password-store.el" "$out/share/emacs/site-lisp/" 80 + '' + lib.optionalString dmenuSupport '' 81 cp "contrib/dmenu/passmenu" "$out/bin/" 82 ''; 83
+2 -4
pkgs/tools/security/tcpcrypt/default.nix
··· 3 , libcap, libpcap, libnfnetlink, libnetfilter_conntrack, libnetfilter_queue 4 }: 5 6 - with lib; 7 - 8 stdenv.mkDerivation rec { 9 pname = "tcpcrypt"; 10 version = "0.5"; ··· 21 outputs = [ "bin" "dev" "out" ]; 22 nativeBuildInputs = [ autoreconfHook ]; 23 buildInputs = [ openssl libpcap ] 24 - ++ optionals stdenv.isLinux [ libcap libnfnetlink libnetfilter_conntrack libnetfilter_queue ]; 25 26 enableParallelBuilding = true; 27 28 - meta = { 29 broken = stdenv.isDarwin; 30 homepage = "http://tcpcrypt.org/"; 31 description = "Fast TCP encryption";
··· 3 , libcap, libpcap, libnfnetlink, libnetfilter_conntrack, libnetfilter_queue 4 }: 5 6 stdenv.mkDerivation rec { 7 pname = "tcpcrypt"; 8 version = "0.5"; ··· 19 outputs = [ "bin" "dev" "out" ]; 20 nativeBuildInputs = [ autoreconfHook ]; 21 buildInputs = [ openssl libpcap ] 22 + ++ lib.optionals stdenv.isLinux [ libcap libnfnetlink libnetfilter_conntrack libnetfilter_queue ]; 23 24 enableParallelBuilding = true; 25 26 + meta = with lib; { 27 broken = stdenv.isDarwin; 28 homepage = "http://tcpcrypt.org/"; 29 description = "Fast TCP encryption";
+2 -4
pkgs/tools/security/tor/update.nix
··· 10 , nix 11 }: 12 13 - with lib; 14 - 15 let 16 downloadPageUrl = "https://dist.torproject.org"; 17 ··· 28 29 set -eu -o pipefail 30 31 - export PATH=${makeBinPath [ 32 common-updater-scripts 33 coreutils 34 curl ··· 63 export GNUPGHOME=$PWD/gnupg 64 mkdir -m 700 -p "$GNUPGHOME" 65 66 - gpg --batch --recv-keys ${concatStringsSep " " (map (x: "'${x}'") signingKeys)} 67 gpg --batch --verify "$sigFile" "$checksumFile" 68 69 sha256sum -c "$checksumFile"
··· 10 , nix 11 }: 12 13 let 14 downloadPageUrl = "https://dist.torproject.org"; 15 ··· 26 27 set -eu -o pipefail 28 29 + export PATH=${lib.makeBinPath [ 30 common-updater-scripts 31 coreutils 32 curl ··· 61 export GNUPGHOME=$PWD/gnupg 62 mkdir -m 700 -p "$GNUPGHOME" 63 64 + gpg --batch --recv-keys ${lib.concatStringsSep " " (map (x: "'${x}'") signingKeys)} 65 gpg --batch --verify "$sigFile" "$checksumFile" 66 67 sha256sum -c "$checksumFile"
+2 -2
pkgs/tools/system/jump/default.nix
··· 8 owner = "gsamokovarov"; 9 repo = pname; 10 rev = "v${version}"; 11 - sha256 = "sha256-nlCuotEiAX2+xx7T8jWZo2p4LNLhWXDdcU6DxJprgx0="; 12 }; 13 14 - vendorSha256 = "sha256-nMUqZWdq//q/DNthvpKiYLq8f95O0QoItyX5w4vHzSA="; 15 16 nativeBuildInputs = [ installShellFiles ]; 17
··· 8 owner = "gsamokovarov"; 9 repo = pname; 10 rev = "v${version}"; 11 + hash = "sha256-nlCuotEiAX2+xx7T8jWZo2p4LNLhWXDdcU6DxJprgx0="; 12 }; 13 14 + vendorHash = "sha256-nMUqZWdq//q/DNthvpKiYLq8f95O0QoItyX5w4vHzSA="; 15 16 nativeBuildInputs = [ installShellFiles ]; 17
+18 -20
pkgs/tools/system/netdata/default.nix
··· 14 , withDebug ? false 15 }: 16 17 - with lib; 18 - 19 let 20 go-d-plugin = callPackage ./go.d.plugin.nix {}; 21 in stdenv.mkDerivation rec { ··· 34 35 nativeBuildInputs = [ autoreconfHook pkg-config makeWrapper protobuf ]; 36 buildInputs = [ curl jemalloc libuv zlib ] 37 - ++ optionals stdenv.isDarwin [ CoreFoundation IOKit libossp_uuid ] 38 - ++ optionals (!stdenv.isDarwin) [ libcap libuuid ] 39 - ++ optionals withCups [ cups ] 40 - ++ optionals withDBengine [ lz4 ] 41 - ++ optionals withIpmi [ freeipmi ] 42 - ++ optionals withNetfilter [ libmnl libnetfilter_acct ] 43 - ++ optionals withCloud [ json_c ] 44 - ++ optionals withConnPubSub [ google-cloud-cpp grpc ] 45 - ++ optionals withConnPrometheus [ snappy ] 46 - ++ optionals (withCloud || withConnPrometheus) [ protobuf ] 47 - ++ optionals withSsl [ openssl ]; 48 49 patches = [ 50 # required to prevent plugins from relying on /etc ··· 68 # We pick zlib.dev as a simple canary package with pkg-config input. 69 disallowedReferences = [ zlib.dev ]; 70 71 - NIX_CFLAGS_COMPILE = optionalString withDebug "-O1 -ggdb -DNETDATA_INTERNAL_CHECKS=1"; 72 73 postInstall = '' 74 ln -s ${go-d-plugin}/lib/netdata/conf.d/* $out/lib/netdata/conf.d 75 ln -s ${go-d-plugin}/bin/godplugin $out/libexec/netdata/plugins.d/go.d.plugin 76 - '' + optionalString (!stdenv.isDarwin) '' 77 # rename this plugin so netdata will look for setuid wrapper 78 mv $out/libexec/netdata/plugins.d/apps.plugin \ 79 $out/libexec/netdata/plugins.d/apps.plugin.org ··· 83 $out/libexec/netdata/plugins.d/perf.plugin.org 84 mv $out/libexec/netdata/plugins.d/slabinfo.plugin \ 85 $out/libexec/netdata/plugins.d/slabinfo.plugin.org 86 - ${optionalString withIpmi '' 87 mv $out/libexec/netdata/plugins.d/freeipmi.plugin \ 88 $out/libexec/netdata/plugins.d/freeipmi.plugin.org 89 ''} 90 ''; 91 92 - preConfigure = optionalString (!stdenv.isDarwin) '' 93 substituteInPlace collectors/python.d.plugin/python_modules/third_party/lm_sensors.py \ 94 --replace 'ctypes.util.find_library("sensors")' '"${lm_sensors.out}/lib/libsensors${stdenv.hostPlatform.extensions.sharedLibrary}"' 95 ''; ··· 99 "--sysconfdir=/etc" 100 "--disable-ebpf" 101 "--with-jemalloc=${jemalloc}" 102 - ] ++ optionals (!withDBengine) [ 103 "--disable-dbengine" 104 - ] ++ optionals (!withCloud) [ 105 "--disable-cloud" 106 ]; 107 ··· 116 tests.netdata = nixosTests.netdata; 117 }; 118 119 - meta = { 120 broken = stdenv.isDarwin || stdenv.buildPlatform != stdenv.hostPlatform; 121 description = "Real-time performance monitoring tool"; 122 homepage = "https://www.netdata.cloud/";
··· 14 , withDebug ? false 15 }: 16 17 let 18 go-d-plugin = callPackage ./go.d.plugin.nix {}; 19 in stdenv.mkDerivation rec { ··· 32 33 nativeBuildInputs = [ autoreconfHook pkg-config makeWrapper protobuf ]; 34 buildInputs = [ curl jemalloc libuv zlib ] 35 + ++ lib.optionals stdenv.isDarwin [ CoreFoundation IOKit libossp_uuid ] 36 + ++ lib.optionals (!stdenv.isDarwin) [ libcap libuuid ] 37 + ++ lib.optionals withCups [ cups ] 38 + ++ lib.optionals withDBengine [ lz4 ] 39 + ++ lib.optionals withIpmi [ freeipmi ] 40 + ++ lib.optionals withNetfilter [ libmnl libnetfilter_acct ] 41 + ++ lib.optionals withCloud [ json_c ] 42 + ++ lib.optionals withConnPubSub [ google-cloud-cpp grpc ] 43 + ++ lib.optionals withConnPrometheus [ snappy ] 44 + ++ lib.optionals (withCloud || withConnPrometheus) [ protobuf ] 45 + ++ lib.optionals withSsl [ openssl ]; 46 47 patches = [ 48 # required to prevent plugins from relying on /etc ··· 66 # We pick zlib.dev as a simple canary package with pkg-config input. 67 disallowedReferences = [ zlib.dev ]; 68 69 + NIX_CFLAGS_COMPILE = lib.optionalString withDebug "-O1 -ggdb -DNETDATA_INTERNAL_CHECKS=1"; 70 71 postInstall = '' 72 ln -s ${go-d-plugin}/lib/netdata/conf.d/* $out/lib/netdata/conf.d 73 ln -s ${go-d-plugin}/bin/godplugin $out/libexec/netdata/plugins.d/go.d.plugin 74 + '' + lib.optionalString (!stdenv.isDarwin) '' 75 # rename this plugin so netdata will look for setuid wrapper 76 mv $out/libexec/netdata/plugins.d/apps.plugin \ 77 $out/libexec/netdata/plugins.d/apps.plugin.org ··· 81 $out/libexec/netdata/plugins.d/perf.plugin.org 82 mv $out/libexec/netdata/plugins.d/slabinfo.plugin \ 83 $out/libexec/netdata/plugins.d/slabinfo.plugin.org 84 + ${lib.optionalString withIpmi '' 85 mv $out/libexec/netdata/plugins.d/freeipmi.plugin \ 86 $out/libexec/netdata/plugins.d/freeipmi.plugin.org 87 ''} 88 ''; 89 90 + preConfigure = lib.optionalString (!stdenv.isDarwin) '' 91 substituteInPlace collectors/python.d.plugin/python_modules/third_party/lm_sensors.py \ 92 --replace 'ctypes.util.find_library("sensors")' '"${lm_sensors.out}/lib/libsensors${stdenv.hostPlatform.extensions.sharedLibrary}"' 93 ''; ··· 97 "--sysconfdir=/etc" 98 "--disable-ebpf" 99 "--with-jemalloc=${jemalloc}" 100 + ] ++ lib.optionals (!withDBengine) [ 101 "--disable-dbengine" 102 + ] ++ lib.optionals (!withCloud) [ 103 "--disable-cloud" 104 ]; 105 ··· 114 tests.netdata = nixosTests.netdata; 115 }; 116 117 + meta = with lib; { 118 broken = stdenv.isDarwin || stdenv.buildPlatform != stdenv.hostPlatform; 119 description = "Real-time performance monitoring tool"; 120 homepage = "https://www.netdata.cloud/";
+1 -3
pkgs/tools/system/socklog/default.nix
··· 1 { lib, stdenv, fetchurl }: 2 3 - with lib; 4 - 5 stdenv.mkDerivation rec { 6 pname = "socklog"; 7 version = "2.1.0"; ··· 49 50 doCheck = true; 51 52 - meta = { 53 broken = stdenv.isDarwin; 54 description = "System and kernel logging services"; 55 homepage = "http://smarden.org/socklog/";
··· 1 { lib, stdenv, fetchurl }: 2 3 stdenv.mkDerivation rec { 4 pname = "socklog"; 5 version = "2.1.0"; ··· 47 48 doCheck = true; 49 50 + meta = with lib; { 51 broken = stdenv.isDarwin; 52 description = "System and kernel logging services"; 53 homepage = "http://smarden.org/socklog/";
+1 -3
pkgs/tools/text/ledger2beancount/default.nix
··· 1 { lib, stdenv, fetchFromGitHub, makeWrapper, perlPackages, beancount }: 2 3 - with lib; 4 - 5 let 6 perlDeps = with perlPackages; [ 7 DateCalc ··· 44 --set PERL5LIB "${perlPackages.makeFullPerlPath perlDeps}" 45 ''; 46 47 - meta = { 48 description = "Ledger to Beancount text-based converter"; 49 longDescription = '' 50 A script to automatically convert Ledger-based textual ledgers to Beancount ones.
··· 1 { lib, stdenv, fetchFromGitHub, makeWrapper, perlPackages, beancount }: 2 3 let 4 perlDeps = with perlPackages; [ 5 DateCalc ··· 42 --set PERL5LIB "${perlPackages.makeFullPerlPath perlDeps}" 43 ''; 44 45 + meta = with lib; { 46 description = "Ledger to Beancount text-based converter"; 47 longDescription = '' 48 A script to automatically convert Ledger-based textual ledgers to Beancount ones.
+7 -8
pkgs/tools/video/rtmpdump/default.nix
··· 12 13 assert (gnutlsSupport || opensslSupport); 14 15 - with lib; 16 stdenv.mkDerivation { 17 pname = "rtmpdump"; 18 version = "unstable-2021-02-19"; ··· 36 "prefix=$(out)" 37 "CROSS_COMPILE=${stdenv.cc.targetPrefix}" 38 ] 39 - ++ optional gnutlsSupport "CRYPTO=GNUTLS" 40 - ++ optional opensslSupport "CRYPTO=OPENSSL" 41 - ++ optional stdenv.isDarwin "SYS=darwin" 42 - ++ optional stdenv.cc.isClang "CC=clang"; 43 44 propagatedBuildInputs = [ zlib ] 45 - ++ optionals gnutlsSupport [ gnutls nettle ] 46 - ++ optional opensslSupport openssl; 47 48 outputs = [ "out" "dev" ]; 49 50 separateDebugInfo = true; 51 52 - meta = { 53 description = "Toolkit for RTMP streams"; 54 homepage = "https://rtmpdump.mplayerhq.hu/"; 55 license = licenses.gpl2;
··· 12 13 assert (gnutlsSupport || opensslSupport); 14 15 stdenv.mkDerivation { 16 pname = "rtmpdump"; 17 version = "unstable-2021-02-19"; ··· 35 "prefix=$(out)" 36 "CROSS_COMPILE=${stdenv.cc.targetPrefix}" 37 ] 38 + ++ lib.optional gnutlsSupport "CRYPTO=GNUTLS" 39 + ++ lib.optional opensslSupport "CRYPTO=OPENSSL" 40 + ++ lib.optional stdenv.isDarwin "SYS=darwin" 41 + ++ lib.optional stdenv.cc.isClang "CC=clang"; 42 43 propagatedBuildInputs = [ zlib ] 44 + ++ lib.optionals gnutlsSupport [ gnutls nettle ] 45 + ++ lib.optional opensslSupport openssl; 46 47 outputs = [ "out" "dev" ]; 48 49 separateDebugInfo = true; 50 51 + meta = with lib; { 52 description = "Toolkit for RTMP streams"; 53 homepage = "https://rtmpdump.mplayerhq.hu/"; 54 license = licenses.gpl2;
+14 -2
pkgs/top-level/all-packages.nix
··· 3391 3392 kjv = callPackage ../applications/misc/kjv { }; 3393 3394 - lukesmithxyz-bible-kjv = callPackage ../applications/misc/lukesmithxyz-bible/kjv.nix { }; 3395 3396 luigi = callPackage ../applications/networking/cluster/luigi { }; 3397 ··· 10330 10331 openimagedenoise_1_2_x = callPackage ../development/libraries/openimagedenoise/1_2_x.nix { }; 10332 10333 - openmvg = callPackage ../applications/science/misc/openmvg { }; 10334 10335 openmvs = callPackage ../applications/science/misc/openmvs { }; 10336 ··· 26879 26880 dosemu_fonts = callPackage ../data/fonts/dosemu-fonts { }; 26881 26882 e17gtk = callPackage ../data/themes/e17gtk { }; 26883 26884 eb-garamond = callPackage ../data/fonts/eb-garamond { }; ··· 26898 equilux-theme = callPackage ../data/themes/equilux-theme { }; 26899 26900 eunomia = callPackage ../data/fonts/eunomia { }; 26901 26902 f5_6 = callPackage ../data/fonts/f5_6 { }; 26903 ··· 27236 27237 medio = callPackage ../data/fonts/medio { }; 27238 27239 mno16 = callPackage ../data/fonts/mno16 { }; 27240 27241 mnist = callPackage ../data/machine-learning/mnist { }; ··· 27271 myrddin = callPackage ../development/compilers/myrddin { }; 27272 27273 myrica = callPackage ../data/fonts/myrica { }; 27274 27275 nafees = callPackage ../data/fonts/nafees { }; 27276
··· 3391 3392 kjv = callPackage ../applications/misc/kjv { }; 3393 3394 + lukesmithxyz-bible-kjv = callPackage ../applications/misc/kjv/lukesmithxyz-kjv.nix { }; 3395 3396 luigi = callPackage ../applications/networking/cluster/luigi { }; 3397 ··· 10330 10331 openimagedenoise_1_2_x = callPackage ../development/libraries/openimagedenoise/1_2_x.nix { }; 10332 10333 + openmvg = callPackage ../applications/science/misc/openmvg { 10334 + inherit (llvmPackages) openmp; 10335 + }; 10336 10337 openmvs = callPackage ../applications/science/misc/openmvs { }; 10338 ··· 26881 26882 dosemu_fonts = callPackage ../data/fonts/dosemu-fonts { }; 26883 26884 + dotcolon-fonts = callPackage ../data/fonts/dotcolon-fonts { }; 26885 + 26886 e17gtk = callPackage ../data/themes/e17gtk { }; 26887 26888 eb-garamond = callPackage ../data/fonts/eb-garamond { }; ··· 26902 equilux-theme = callPackage ../data/themes/equilux-theme { }; 26903 26904 eunomia = callPackage ../data/fonts/eunomia { }; 26905 + 26906 + fa_1 = callPackage ../data/fonts/fa_1 { }; 26907 + 26908 + f1_8 = callPackage ../data/fonts/f1_8 { }; 26909 26910 f5_6 = callPackage ../data/fonts/f5_6 { }; 26911 ··· 27244 27245 medio = callPackage ../data/fonts/medio { }; 27246 27247 + melete = callPackage ../data/fonts/melete { }; 27248 + 27249 mno16 = callPackage ../data/fonts/mno16 { }; 27250 27251 mnist = callPackage ../data/machine-learning/mnist { }; ··· 27281 myrddin = callPackage ../development/compilers/myrddin { }; 27282 27283 myrica = callPackage ../data/fonts/myrica { }; 27284 + 27285 + nacelle = callPackage ../data/fonts/nacelle { }; 27286 27287 nafees = callPackage ../data/fonts/nafees { }; 27288