Merge branch 'staging-next' into staging

+3277 -3804
+35
doc/using/overlays.xml
··· 291 291 } 292 292 </programlisting> 293 293 </section> 294 + <section xml:id="sec-overlays-alternatives-mpi"> 295 + <title>Switching the MPI implementation</title> 296 + <para> 297 + All programs that are built with 298 + <link xlink:href="https://en.wikipedia.org/wiki/Message_Passing_Interface">MPI</link> 299 + support use the generic attribute <varname>mpi</varname> 300 + as an input. At the moment Nixpkgs natively provides two different 301 + MPI implementations: 302 + <itemizedlist> 303 + <listitem> 304 + <para> 305 + <link xlink:href="https://www.open-mpi.org/">Open MPI</link> 306 + (default), attribute name <varname>openmpi</varname> 307 + </para> 308 + </listitem> 309 + <listitem> 310 + <para> 311 + <link xlink:href="https://www.mpich.org/">MPICH</link>, 312 + attribute name <varname>mpich</varname> 313 + </para> 314 + </listitem> 315 + </itemizedlist> 316 + </para> 317 + <para> 318 + To provide MPI enabled applications that use <literal>MPICH</literal>, instead 319 + of the default <literal>Open MPI</literal>, simply use the following overlay: 320 + </para> 321 + <programlisting> 322 + self: super: 323 + 324 + { 325 + mpi = self.mpich; 326 + } 327 + </programlisting> 328 + </section> 294 329 </section> 295 330 </chapter>
+1 -1
lib/systems/architectures.nix
··· 1 1 { lib }: 2 2 3 3 rec { 4 - # platform.gcc.arch to its features (as in /proc/cpuinfo) 4 + # gcc.arch to its features (as in /proc/cpuinfo) 5 5 features = { 6 6 default = [ ]; 7 7 # x86_64 Intel
+13 -6
lib/systems/default.nix
··· 24 24 # Either of these can be losslessly-extracted from `parsed` iff parsing succeeds. 25 25 system = parse.doubleFromSystem final.parsed; 26 26 config = parse.tripleFromSystem final.parsed; 27 - # Just a guess, based on `system` 28 - platform = platforms.select final; 29 27 # Determine whether we are compatible with the provided CPU 30 28 isCompatible = platform: parse.isCompatible final.parsed.cpu platform.parsed.cpu; 31 29 # Derived meta-data ··· 79 77 }; 80 78 isStatic = final.isWasm || final.isRedox; 81 79 82 - kernelArch = 80 + # Just a guess, based on `system` 81 + inherit 82 + ({ 83 + linux-kernel = args.linux-kernel or {}; 84 + gcc = args.gcc or {}; 85 + rustc = args.rust or {}; 86 + } // platforms.select final) 87 + linux-kernel gcc rustc; 88 + 89 + linuxArch = 83 90 if final.isAarch32 then "arm" 84 91 else if final.isAarch64 then "arm64" 85 - else if final.isx86_32 then "x86" 86 - else if final.isx86_64 then "x86" 92 + else if final.isx86_32 then "i386" 93 + else if final.isx86_64 then "x86_64" 87 94 else if final.isMips then "mips" 88 95 else final.parsed.cpu.name; 89 96 ··· 129 136 else throw "Don't know how to run ${final.config} executables."; 130 137 131 138 } // mapAttrs (n: v: v final.parsed) inspect.predicates 132 - // mapAttrs (n: v: v final.platform.gcc.arch or "default") architectures.predicates 139 + // mapAttrs (n: v: v final.gcc.arch or "default") architectures.predicates 133 140 // args; 134 141 in assert final.useAndroidPrebuilt -> final.isAndroid; 135 142 assert lib.foldl
+10 -38
lib/systems/examples.nix
··· 7 7 8 8 riscv = bits: { 9 9 config = "riscv${bits}-unknown-linux-gnu"; 10 - platform = platforms.riscv-multiplatform; 11 10 }; 12 11 in 13 12 ··· 17 16 # 18 17 powernv = { 19 18 config = "powerpc64le-unknown-linux-gnu"; 20 - platform = platforms.powernv; 21 19 }; 22 20 musl-power = { 23 21 config = "powerpc64le-unknown-linux-musl"; 24 - platform = platforms.powernv; 25 22 }; 26 23 27 24 sheevaplug = { 28 25 config = "armv5tel-unknown-linux-gnueabi"; 29 - platform = platforms.sheevaplug; 30 - }; 26 + } // platforms.sheevaplug; 31 27 32 28 raspberryPi = { 33 29 config = "armv6l-unknown-linux-gnueabihf"; 34 - platform = platforms.raspberrypi; 35 - }; 30 + } // platforms.raspberrypi; 36 31 37 32 remarkable1 = { 38 33 config = "armv7l-unknown-linux-gnueabihf"; 39 - platform = platforms.zero-gravitas; 40 - }; 34 + } // platforms.zero-gravitas; 41 35 42 36 remarkable2 = { 43 37 config = "armv7l-unknown-linux-gnueabihf"; 44 - platform = platforms.zero-sugar; 45 - }; 38 + } // platforms.zero-sugar; 46 39 47 40 armv7l-hf-multiplatform = { 48 41 config = "armv7l-unknown-linux-gnueabihf"; 49 - platform = platforms.armv7l-hf-multiplatform; 50 42 }; 51 43 52 44 aarch64-multiplatform = { 53 45 config = "aarch64-unknown-linux-gnu"; 54 - platform = platforms.aarch64-multiplatform; 55 46 }; 56 47 57 48 armv7a-android-prebuilt = { 58 49 config = "armv7a-unknown-linux-androideabi"; 59 50 sdkVer = "29"; 60 51 ndkVer = "21"; 61 - platform = platforms.armv7a-android; 62 52 useAndroidPrebuilt = true; 63 - }; 53 + } // platforms.armv7a-android; 64 54 65 55 aarch64-android-prebuilt = { 66 56 config = "aarch64-unknown-linux-android"; 67 57 sdkVer = "29"; 68 58 ndkVer = "21"; 69 - platform = platforms.aarch64-multiplatform; 70 59 useAndroidPrebuilt = true; 71 60 }; 72 61 73 - scaleway-c1 = armv7l-hf-multiplatform // rec { 74 - platform = platforms.scaleway-c1; 75 - inherit (platform.gcc) fpu; 76 - }; 62 + scaleway-c1 = armv7l-hf-multiplatform // platforms.scaleway-c1; 77 63 78 64 pogoplug4 = { 79 65 config = "armv5tel-unknown-linux-gnueabi"; 80 - platform = platforms.pogoplug4; 81 - }; 66 + } // platforms.pogoplug4; 82 67 83 68 ben-nanonote = { 84 69 config = "mipsel-unknown-linux-uclibc"; 85 - platform = platforms.ben_nanonote; 86 - }; 70 + } // platforms.ben_nanonote; 87 71 88 72 fuloongminipc = { 89 73 config = "mipsel-unknown-linux-gnu"; 90 - platform = platforms.fuloong2f_n32; 91 - }; 74 + } // platforms.fuloong2f_n32; 92 75 93 76 muslpi = raspberryPi // { 94 77 config = "armv6l-unknown-linux-musleabihf"; 95 78 }; 96 79 97 - aarch64-multiplatform-musl = aarch64-multiplatform // { 80 + aarch64-multiplatform-musl = { 98 81 config = "aarch64-unknown-linux-musl"; 99 82 }; 100 83 ··· 110 93 riscv64-embedded = { 111 94 config = "riscv64-none-elf"; 112 95 libc = "newlib"; 113 - platform = platforms.riscv-multiplatform; 114 96 }; 115 97 116 98 riscv32-embedded = { 117 99 config = "riscv32-none-elf"; 118 100 libc = "newlib"; 119 - platform = platforms.riscv-multiplatform; 120 101 }; 121 102 122 103 mmix = { ··· 136 117 vc4 = { 137 118 config = "vc4-elf"; 138 119 libc = "newlib"; 139 - platform = {}; 140 120 }; 141 121 142 122 or1k = { 143 123 config = "or1k-elf"; 144 124 libc = "newlib"; 145 - platform = {}; 146 125 }; 147 126 148 127 arm-embedded = { ··· 204 183 xcodeVer = "11.3.1"; 205 184 xcodePlatform = "iPhoneOS"; 206 185 useiOSPrebuilt = true; 207 - platform = {}; 208 186 }; 209 187 210 188 iphone32 = { ··· 214 192 xcodeVer = "11.3.1"; 215 193 xcodePlatform = "iPhoneOS"; 216 194 useiOSPrebuilt = true; 217 - platform = {}; 218 195 }; 219 196 220 197 iphone64-simulator = { ··· 224 201 xcodeVer = "11.3.1"; 225 202 xcodePlatform = "iPhoneSimulator"; 226 203 useiOSPrebuilt = true; 227 - platform = {}; 228 204 }; 229 205 230 206 iphone32-simulator = { ··· 234 210 xcodeVer = "11.3.1"; 235 211 xcodePlatform = "iPhoneSimulator"; 236 212 useiOSPrebuilt = true; 237 - platform = {}; 238 213 }; 239 214 240 215 # ··· 245 220 mingw32 = { 246 221 config = "i686-w64-mingw32"; 247 222 libc = "msvcrt"; # This distinguishes the mingw (non posix) toolchain 248 - platform = {}; 249 223 }; 250 224 251 225 # 64 bit mingw-w64 ··· 253 227 # That's the triplet they use in the mingw-w64 docs. 254 228 config = "x86_64-w64-mingw32"; 255 229 libc = "msvcrt"; # This distinguishes the mingw (non posix) toolchain 256 - platform = {}; 257 230 }; 258 231 259 232 # BSDs ··· 275 248 # Ghcjs 276 249 ghcjs = { 277 250 config = "js-unknown-ghcjs"; 278 - platform = {}; 279 251 }; 280 252 }
+315 -303
lib/systems/platforms.nix
··· 1 1 { lib }: 2 2 rec { 3 - pcBase = { 4 - name = "pc"; 5 - kernelBaseConfig = "defconfig"; 6 - # Build whatever possible as a module, if not stated in the extra config. 7 - kernelAutoModules = true; 8 - kernelTarget = "bzImage"; 9 - }; 10 - 11 - pc64 = pcBase // { kernelArch = "x86_64"; }; 12 - 13 - pc32 = pcBase // { kernelArch = "i386"; }; 3 + pc = { 4 + linux-kernel = { 5 + name = "pc"; 14 6 15 - pc32_simplekernel = pc32 // { 16 - kernelAutoModules = false; 7 + baseConfig = "defconfig"; 8 + # Build whatever possible as a module, if not stated in the extra config. 9 + autoModules = true; 10 + target = "bzImage"; 11 + }; 17 12 }; 18 13 19 - pc64_simplekernel = pc64 // { 20 - kernelAutoModules = false; 14 + pc_simplekernel = lib.recursiveUpdate pc { 15 + linux-kernel.autoModules = false; 21 16 }; 22 17 23 18 powernv = { 24 - name = "PowerNV"; 25 - kernelArch = "powerpc"; 26 - kernelBaseConfig = "powernv_defconfig"; 27 - kernelTarget = "zImage"; 28 - kernelInstallTarget = "install"; 29 - kernelFile = "vmlinux"; 30 - kernelAutoModules = true; 31 - # avoid driver/FS trouble arising from unusual page size 32 - kernelExtraConfig = '' 33 - PPC_64K_PAGES n 34 - PPC_4K_PAGES y 35 - IPV6 y 36 - ''; 19 + linux-kernel = { 20 + name = "PowerNV"; 21 + 22 + baseConfig = "powernv_defconfig"; 23 + target = "zImage"; 24 + installTarget = "install"; 25 + file = "vmlinux"; 26 + autoModules = true; 27 + # avoid driver/FS trouble arising from unusual page size 28 + extraConfig = '' 29 + PPC_64K_PAGES n 30 + PPC_4K_PAGES y 31 + IPV6 y 32 + ''; 33 + }; 37 34 }; 38 35 39 36 ## ··· 41 38 ## 42 39 43 40 pogoplug4 = { 44 - name = "pogoplug4"; 41 + linux-kernel = { 42 + name = "pogoplug4"; 45 43 46 - gcc = { 47 - arch = "armv5te"; 48 - }; 49 - 50 - kernelBaseConfig = "multi_v5_defconfig"; 51 - kernelArch = "arm"; 52 - kernelAutoModules = false; 53 - kernelExtraConfig = 54 - '' 44 + baseConfig = "multi_v5_defconfig"; 45 + autoModules = false; 46 + extraConfig = '' 55 47 # Ubi for the mtd 56 48 MTD_UBI y 57 49 UBIFS_FS y ··· 61 53 UBIFS_FS_ZLIB y 62 54 UBIFS_FS_DEBUG n 63 55 ''; 64 - kernelMakeFlags = [ "LOADADDR=0x8000" ]; 65 - kernelTarget = "uImage"; 66 - # TODO reenable once manual-config's config actually builds a .dtb and this is checked to be working 67 - #kernelDTB = true; 56 + makeFlags = [ "LOADADDR=0x8000" ]; 57 + target = "uImage"; 58 + # TODO reenable once manual-config's config actually builds a .dtb and this is checked to be working 59 + #DTB = true; 60 + }; 61 + gcc = { 62 + arch = "armv5te"; 63 + }; 68 64 }; 69 65 70 66 sheevaplug = { 71 - name = "sheevaplug"; 72 - kernelBaseConfig = "multi_v5_defconfig"; 73 - kernelArch = "arm"; 74 - kernelAutoModules = false; 75 - kernelExtraConfig = '' 76 - BLK_DEV_RAM y 77 - BLK_DEV_INITRD y 78 - BLK_DEV_CRYPTOLOOP m 79 - BLK_DEV_DM m 80 - DM_CRYPT m 81 - MD y 82 - REISERFS_FS m 83 - BTRFS_FS m 84 - XFS_FS m 85 - JFS_FS m 86 - EXT4_FS m 87 - USB_STORAGE_CYPRESS_ATACB m 67 + linux-kernel = { 68 + name = "sheevaplug"; 69 + 70 + baseConfig = "multi_v5_defconfig"; 71 + autoModules = false; 72 + extraConfig = '' 73 + BLK_DEV_RAM y 74 + BLK_DEV_INITRD y 75 + BLK_DEV_CRYPTOLOOP m 76 + BLK_DEV_DM m 77 + DM_CRYPT m 78 + MD y 79 + REISERFS_FS m 80 + BTRFS_FS m 81 + XFS_FS m 82 + JFS_FS m 83 + EXT4_FS m 84 + USB_STORAGE_CYPRESS_ATACB m 88 85 89 - # mv cesa requires this sw fallback, for mv-sha1 90 - CRYPTO_SHA1 y 91 - # Fast crypto 92 - CRYPTO_TWOFISH y 93 - CRYPTO_TWOFISH_COMMON y 94 - CRYPTO_BLOWFISH y 95 - CRYPTO_BLOWFISH_COMMON y 86 + # mv cesa requires this sw fallback, for mv-sha1 87 + CRYPTO_SHA1 y 88 + # Fast crypto 89 + CRYPTO_TWOFISH y 90 + CRYPTO_TWOFISH_COMMON y 91 + CRYPTO_BLOWFISH y 92 + CRYPTO_BLOWFISH_COMMON y 96 93 97 - IP_PNP y 98 - IP_PNP_DHCP y 99 - NFS_FS y 100 - ROOT_NFS y 101 - TUN m 102 - NFS_V4 y 103 - NFS_V4_1 y 104 - NFS_FSCACHE y 105 - NFSD m 106 - NFSD_V2_ACL y 107 - NFSD_V3 y 108 - NFSD_V3_ACL y 109 - NFSD_V4 y 110 - NETFILTER y 111 - IP_NF_IPTABLES y 112 - IP_NF_FILTER y 113 - IP_NF_MATCH_ADDRTYPE y 114 - IP_NF_TARGET_LOG y 115 - IP_NF_MANGLE y 116 - IPV6 m 117 - VLAN_8021Q m 94 + IP_PNP y 95 + IP_PNP_DHCP y 96 + NFS_FS y 97 + ROOT_NFS y 98 + TUN m 99 + NFS_V4 y 100 + NFS_V4_1 y 101 + NFS_FSCACHE y 102 + NFSD m 103 + NFSD_V2_ACL y 104 + NFSD_V3 y 105 + NFSD_V3_ACL y 106 + NFSD_V4 y 107 + NETFILTER y 108 + IP_NF_IPTABLES y 109 + IP_NF_FILTER y 110 + IP_NF_MATCH_ADDRTYPE y 111 + IP_NF_TARGET_LOG y 112 + IP_NF_MANGLE y 113 + IPV6 m 114 + VLAN_8021Q m 118 115 119 - CIFS y 120 - CIFS_XATTR y 121 - CIFS_POSIX y 122 - CIFS_FSCACHE y 123 - CIFS_ACL y 116 + CIFS y 117 + CIFS_XATTR y 118 + CIFS_POSIX y 119 + CIFS_FSCACHE y 120 + CIFS_ACL y 124 121 125 - WATCHDOG y 126 - WATCHDOG_CORE y 127 - ORION_WATCHDOG m 122 + WATCHDOG y 123 + WATCHDOG_CORE y 124 + ORION_WATCHDOG m 128 125 129 - ZRAM m 130 - NETCONSOLE m 126 + ZRAM m 127 + NETCONSOLE m 131 128 132 - # Disable OABI to have seccomp_filter (required for systemd) 133 - # https://github.com/raspberrypi/firmware/issues/651 134 - OABI_COMPAT n 129 + # Disable OABI to have seccomp_filter (required for systemd) 130 + # https://github.com/raspberrypi/firmware/issues/651 131 + OABI_COMPAT n 135 132 136 - # Fail to build 137 - DRM n 138 - SCSI_ADVANSYS n 139 - USB_ISP1362_HCD n 140 - SND_SOC n 141 - SND_ALI5451 n 142 - FB_SAVAGE n 143 - SCSI_NSP32 n 144 - ATA_SFF n 145 - SUNGEM n 146 - IRDA n 147 - ATM_HE n 148 - SCSI_ACARD n 149 - BLK_DEV_CMD640_ENHANCED n 133 + # Fail to build 134 + DRM n 135 + SCSI_ADVANSYS n 136 + USB_ISP1362_HCD n 137 + SND_SOC n 138 + SND_ALI5451 n 139 + FB_SAVAGE n 140 + SCSI_NSP32 n 141 + ATA_SFF n 142 + SUNGEM n 143 + IRDA n 144 + ATM_HE n 145 + SCSI_ACARD n 146 + BLK_DEV_CMD640_ENHANCED n 150 147 151 - FUSE_FS m 148 + FUSE_FS m 152 149 153 - # systemd uses cgroups 154 - CGROUPS y 150 + # systemd uses cgroups 151 + CGROUPS y 155 152 156 - # Latencytop 157 - LATENCYTOP y 153 + # Latencytop 154 + LATENCYTOP y 158 155 159 - # Ubi for the mtd 160 - MTD_UBI y 161 - UBIFS_FS y 162 - UBIFS_FS_XATTR y 163 - UBIFS_FS_ADVANCED_COMPR y 164 - UBIFS_FS_LZO y 165 - UBIFS_FS_ZLIB y 166 - UBIFS_FS_DEBUG n 156 + # Ubi for the mtd 157 + MTD_UBI y 158 + UBIFS_FS y 159 + UBIFS_FS_XATTR y 160 + UBIFS_FS_ADVANCED_COMPR y 161 + UBIFS_FS_LZO y 162 + UBIFS_FS_ZLIB y 163 + UBIFS_FS_DEBUG n 167 164 168 - # Kdb, for kernel troubles 169 - KGDB y 170 - KGDB_SERIAL_CONSOLE y 171 - KGDB_KDB y 172 - ''; 173 - kernelMakeFlags = [ "LOADADDR=0x0200000" ]; 174 - kernelTarget = "uImage"; 175 - kernelDTB = true; # Beyond 3.10 165 + # Kdb, for kernel troubles 166 + KGDB y 167 + KGDB_SERIAL_CONSOLE y 168 + KGDB_KDB y 169 + ''; 170 + makeFlags = [ "LOADADDR=0x0200000" ]; 171 + target = "uImage"; 172 + DTB = true; # Beyond 3.10 173 + }; 176 174 gcc = { 177 175 arch = "armv5te"; 178 176 }; 179 177 }; 180 178 181 179 raspberrypi = { 182 - name = "raspberrypi"; 183 - kernelBaseConfig = "bcm2835_defconfig"; 184 - kernelDTB = true; 185 - kernelArch = "arm"; 186 - kernelAutoModules = true; 187 - kernelPreferBuiltin = true; 188 - kernelExtraConfig = '' 189 - # Disable OABI to have seccomp_filter (required for systemd) 190 - # https://github.com/raspberrypi/firmware/issues/651 191 - OABI_COMPAT n 192 - ''; 193 - kernelTarget = "zImage"; 180 + linux-kernel = { 181 + name = "raspberrypi"; 182 + 183 + baseConfig = "bcm2835_defconfig"; 184 + DTB = true; 185 + autoModules = true; 186 + preferBuiltin = true; 187 + extraConfig = '' 188 + # Disable OABI to have seccomp_filter (required for systemd) 189 + # https://github.com/raspberrypi/firmware/issues/651 190 + OABI_COMPAT n 191 + ''; 192 + target = "zImage"; 193 + }; 194 194 gcc = { 195 195 arch = "armv6"; 196 196 fpu = "vfp"; ··· 201 201 raspberrypi2 = armv7l-hf-multiplatform; 202 202 203 203 zero-gravitas = { 204 - name = "zero-gravitas"; 205 - kernelBaseConfig = "zero-gravitas_defconfig"; 206 - kernelArch = "arm"; 207 - # kernelTarget verified by checking /boot on reMarkable 1 device 208 - kernelTarget = "zImage"; 209 - kernelAutoModules = false; 210 - kernelDTB = true; 204 + linux-kernel = { 205 + name = "zero-gravitas"; 206 + 207 + baseConfig = "zero-gravitas_defconfig"; 208 + # Target verified by checking /boot on reMarkable 1 device 209 + target = "zImage"; 210 + autoModules = false; 211 + DTB = true; 212 + }; 211 213 gcc = { 212 214 fpu = "neon"; 213 215 cpu = "cortex-a9"; ··· 215 217 }; 216 218 217 219 zero-sugar = { 218 - name = "zero-sugar"; 219 - kernelBaseConfig = "zero-sugar_defconfig"; 220 - kernelArch = "arm"; 221 - kernelDTB = true; 222 - kernelAutoModules = false; 223 - kernelPreferBuiltin = true; 224 - kernelTarget = "zImage"; 220 + linux-kernel = { 221 + name = "zero-sugar"; 222 + 223 + baseConfig = "zero-sugar_defconfig"; 224 + DTB = true; 225 + autoModules = false; 226 + preferBuiltin = true; 227 + target = "zImage"; 228 + }; 225 229 gcc = { 226 230 cpu = "cortex-a7"; 227 231 fpu = "neon-vfpv4"; ··· 229 233 }; 230 234 }; 231 235 232 - scaleway-c1 = armv7l-hf-multiplatform // { 236 + scaleway-c1 = lib.recursiveUpdate armv7l-hf-multiplatform { 233 237 gcc = { 234 238 cpu = "cortex-a9"; 235 239 fpu = "vfpv3"; ··· 237 241 }; 238 242 239 243 utilite = { 240 - name = "utilite"; 241 - kernelBaseConfig = "multi_v7_defconfig"; 242 - kernelArch = "arm"; 243 - kernelAutoModules = false; 244 - kernelExtraConfig = 245 - '' 244 + linux-kernel = { 245 + name = "utilite"; 246 + maseConfig = "multi_v7_defconfig"; 247 + autoModules = false; 248 + extraConfig = '' 246 249 # Ubi for the mtd 247 250 MTD_UBI y 248 251 UBIFS_FS y ··· 252 255 UBIFS_FS_ZLIB y 253 256 UBIFS_FS_DEBUG n 254 257 ''; 255 - kernelMakeFlags = [ "LOADADDR=0x10800000" ]; 256 - kernelTarget = "uImage"; 257 - kernelDTB = true; 258 + makeFlags = [ "LOADADDR=0x10800000" ]; 259 + target = "uImage"; 260 + DTB = true; 261 + }; 258 262 gcc = { 259 263 cpu = "cortex-a9"; 260 264 fpu = "neon"; 261 265 }; 262 266 }; 263 267 264 - guruplug = sheevaplug // { 268 + guruplug = lib.recursiveUpdate sheevaplug { 265 269 # Define `CONFIG_MACH_GURUPLUG' (see 266 270 # <http://kerneltrap.org/mailarchive/git-commits-head/2010/5/19/33618>) 267 271 # and other GuruPlug-specific things. Requires the `guruplug-defconfig' 268 272 # patch. 269 - 270 - kernelBaseConfig = "guruplug_defconfig"; 273 + linux-kernel.baseConfig = "guruplug_defconfig"; 271 274 }; 272 275 273 - beaglebone = armv7l-hf-multiplatform // { 274 - name = "beaglebone"; 275 - kernelBaseConfig = "bb.org_defconfig"; 276 - kernelAutoModules = false; 277 - kernelExtraConfig = ""; # TBD kernel config 278 - kernelTarget = "zImage"; 276 + beaglebone = lib.recursiveUpdate armv7l-hf-multiplatform { 277 + linux-kernel = { 278 + name = "beaglebone"; 279 + baseConfig = "bb.org_defconfig"; 280 + autoModules = false; 281 + extraConfig = ""; # TBD kernel config 282 + target = "zImage"; 283 + }; 279 284 }; 280 285 281 286 # https://developer.android.com/ndk/guides/abis#v7a 282 - armv7a-android = { 283 - name = "armeabi-v7a"; 287 + armv7a-android = { 288 + linux-kernel.name = "armeabi-v7a"; 284 289 gcc = { 285 290 arch = "armv7-a"; 286 291 float-abi = "softfp"; ··· 289 294 }; 290 295 291 296 armv7l-hf-multiplatform = { 292 - name = "armv7l-hf-multiplatform"; 293 - kernelBaseConfig = "multi_v7_defconfig"; 294 - kernelArch = "arm"; 295 - kernelDTB = true; 296 - kernelAutoModules = true; 297 - kernelPreferBuiltin = true; 298 - kernelTarget = "zImage"; 299 - kernelExtraConfig = '' 300 - # Serial port for Raspberry Pi 3. Upstream forgot to add it to the ARMv7 defconfig. 301 - SERIAL_8250_BCM2835AUX y 302 - SERIAL_8250_EXTENDED y 303 - SERIAL_8250_SHARE_IRQ y 297 + linux-kernel = { 298 + name = "armv7l-hf-multiplatform"; 299 + Major = "2.6"; # Using "2.6" enables 2.6 kernel syscalls in glibc. 300 + baseConfig = "multi_v7_defconfig"; 301 + DTB = true; 302 + autoModules = true; 303 + PreferBuiltin = true; 304 + target = "zImage"; 305 + extraConfig = '' 306 + # Serial port for Raspberry Pi 3. Upstream forgot to add it to the ARMv7 defconfig. 307 + SERIAL_8250_BCM2835AUX y 308 + SERIAL_8250_EXTENDED y 309 + SERIAL_8250_SHARE_IRQ y 304 310 305 - # Fix broken sunxi-sid nvmem driver. 306 - TI_CPTS y 311 + # Fix broken sunxi-sid nvmem driver. 312 + TI_CPTS y 307 313 308 - # Hangs ODROID-XU4 309 - ARM_BIG_LITTLE_CPUIDLE n 314 + # Hangs ODROID-XU4 315 + ARM_BIG_LITTLE_CPUIDLE n 310 316 311 - # Disable OABI to have seccomp_filter (required for systemd) 312 - # https://github.com/raspberrypi/firmware/issues/651 313 - OABI_COMPAT n 314 - ''; 317 + # Disable OABI to have seccomp_filter (required for systemd) 318 + # https://github.com/raspberrypi/firmware/issues/651 319 + OABI_COMPAT n 320 + ''; 321 + }; 315 322 gcc = { 316 323 # Some table about fpu flags: 317 324 # http://community.arm.com/servlet/JiveServlet/showImage/38-1981-3827/blogentry-103749-004812900+1365712953_thumb.png ··· 336 343 }; 337 344 338 345 aarch64-multiplatform = { 339 - name = "aarch64-multiplatform"; 340 - kernelBaseConfig = "defconfig"; 341 - kernelArch = "arm64"; 342 - kernelDTB = true; 343 - kernelAutoModules = true; 344 - kernelPreferBuiltin = true; 345 - kernelExtraConfig = '' 346 - # Raspberry Pi 3 stuff. Not needed for kernels >= 4.10. 347 - ARCH_BCM2835 y 348 - BCM2835_MBOX y 349 - BCM2835_WDT y 350 - RASPBERRYPI_FIRMWARE y 351 - RASPBERRYPI_POWER y 352 - SERIAL_8250_BCM2835AUX y 353 - SERIAL_8250_EXTENDED y 354 - SERIAL_8250_SHARE_IRQ y 346 + linux-kernel = { 347 + name = "aarch64-multiplatform"; 348 + baseConfig = "defconfig"; 349 + DTB = true; 350 + autoModules = true; 351 + preferBuiltin = true; 352 + extraConfig = '' 353 + # Raspberry Pi 3 stuff. Not needed for s >= 4.10. 354 + ARCH_BCM2835 y 355 + BCM2835_MBOX y 356 + BCM2835_WDT y 357 + RASPBERRYPI_FIRMWARE y 358 + RASPBERRYPI_POWER y 359 + SERIAL_8250_BCM2835AUX y 360 + SERIAL_8250_EXTENDED y 361 + SERIAL_8250_SHARE_IRQ y 355 362 356 - # Cavium ThunderX stuff. 357 - PCI_HOST_THUNDER_ECAM y 363 + # Cavium ThunderX stuff. 364 + PCI_HOST_THUNDER_ECAM y 358 365 359 - # Nvidia Tegra stuff. 360 - PCI_TEGRA y 366 + # Nvidia Tegra stuff. 367 + PCI_TEGRA y 361 368 362 - # The default (=y) forces us to have the XHCI firmware available in initrd, 363 - # which our initrd builder can't currently do easily. 364 - USB_XHCI_TEGRA m 365 - ''; 366 - kernelTarget = "Image"; 369 + # The default (=y) forces us to have the XHCI firmware available in initrd, 370 + # which our initrd builder can't currently do easily. 371 + USB_XHCI_TEGRA m 372 + ''; 373 + target = "Image"; 374 + }; 367 375 gcc = { 368 376 arch = "armv8-a"; 369 377 }; ··· 374 382 ## 375 383 376 384 ben_nanonote = { 377 - name = "ben_nanonote"; 378 - kernelArch = "mips"; 385 + linux-kernel = { 386 + name = "ben_nanonote"; 387 + }; 379 388 gcc = { 380 389 arch = "mips32"; 381 390 float = "soft"; ··· 383 392 }; 384 393 385 394 fuloong2f_n32 = { 386 - name = "fuloong2f_n32"; 387 - kernelBaseConfig = "lemote2f_defconfig"; 388 - kernelArch = "mips"; 389 - kernelAutoModules = false; 390 - kernelExtraConfig = '' 391 - MIGRATION n 392 - COMPACTION n 395 + linux-kernel = { 396 + name = "fuloong2f_n32"; 397 + baseConfig = "lemote2f_defconfig"; 398 + autoModules = false; 399 + extraConfig = '' 400 + MIGRATION n 401 + COMPACTION n 393 402 394 - # nixos mounts some cgroup 395 - CGROUPS y 403 + # nixos mounts some cgroup 404 + CGROUPS y 396 405 397 - BLK_DEV_RAM y 398 - BLK_DEV_INITRD y 399 - BLK_DEV_CRYPTOLOOP m 400 - BLK_DEV_DM m 401 - DM_CRYPT m 402 - MD y 403 - REISERFS_FS m 404 - EXT4_FS m 405 - USB_STORAGE_CYPRESS_ATACB m 406 + BLK_DEV_RAM y 407 + BLK_DEV_INITRD y 408 + BLK_DEV_CRYPTOLOOP m 409 + BLK_DEV_DM m 410 + DM_CRYPT m 411 + MD y 412 + REISERFS_FS m 413 + EXT4_FS m 414 + USB_STORAGE_CYPRESS_ATACB m 406 415 407 - IP_PNP y 408 - IP_PNP_DHCP y 409 - IP_PNP_BOOTP y 410 - NFS_FS y 411 - ROOT_NFS y 412 - TUN m 413 - NFS_V4 y 414 - NFS_V4_1 y 415 - NFS_FSCACHE y 416 - NFSD m 417 - NFSD_V2_ACL y 418 - NFSD_V3 y 419 - NFSD_V3_ACL y 420 - NFSD_V4 y 416 + IP_PNP y 417 + IP_PNP_DHCP y 418 + IP_PNP_BOOTP y 419 + NFS_FS y 420 + ROOT_NFS y 421 + TUN m 422 + NFS_V4 y 423 + NFS_V4_1 y 424 + NFS_FSCACHE y 425 + NFSD m 426 + NFSD_V2_ACL y 427 + NFSD_V3 y 428 + NFSD_V3_ACL y 429 + NFSD_V4 y 421 430 422 - # Fail to build 423 - DRM n 424 - SCSI_ADVANSYS n 425 - USB_ISP1362_HCD n 426 - SND_SOC n 427 - SND_ALI5451 n 428 - FB_SAVAGE n 429 - SCSI_NSP32 n 430 - ATA_SFF n 431 - SUNGEM n 432 - IRDA n 433 - ATM_HE n 434 - SCSI_ACARD n 435 - BLK_DEV_CMD640_ENHANCED n 431 + # Fail to build 432 + DRM n 433 + SCSI_ADVANSYS n 434 + USB_ISP1362_HCD n 435 + SND_SOC n 436 + SND_ALI5451 n 437 + FB_SAVAGE n 438 + SCSI_NSP32 n 439 + ATA_SFF n 440 + SUNGEM n 441 + IRDA n 442 + ATM_HE n 443 + SCSI_ACARD n 444 + BLK_DEV_CMD640_ENHANCED n 436 445 437 - FUSE_FS m 446 + FUSE_FS m 438 447 439 - # Needed for udev >= 150 440 - SYSFS_DEPRECATED_V2 n 448 + # Needed for udev >= 150 449 + SYSFS_DEPRECATED_V2 n 441 450 442 - VGA_CONSOLE n 443 - VT_HW_CONSOLE_BINDING y 444 - SERIAL_8250_CONSOLE y 445 - FRAMEBUFFER_CONSOLE y 446 - EXT2_FS y 447 - EXT3_FS y 448 - REISERFS_FS y 449 - MAGIC_SYSRQ y 451 + VGA_CONSOLE n 452 + VT_HW_CONSOLE_BINDING y 453 + SERIAL_8250_CONSOLE y 454 + FRAMEBUFFER_CONSOLE y 455 + EXT2_FS y 456 + EXT3_FS y 457 + REISERFS_FS y 458 + MAGIC_SYSRQ y 450 459 451 - # The kernel doesn't boot at all, with FTRACE 452 - FTRACE n 453 - ''; 454 - kernelTarget = "vmlinux"; 460 + # The kernel doesn't boot at all, with FTRACE 461 + FTRACE n 462 + ''; 463 + target = "vmlinux"; 464 + }; 455 465 gcc = { 456 466 arch = "loongson2f"; 457 467 float = "hard"; ··· 464 474 ## 465 475 466 476 riscv-multiplatform = { 467 - name = "riscv-multiplatform"; 468 - kernelArch = "riscv"; 469 - kernelTarget = "vmlinux"; 470 - kernelAutoModules = true; 471 - kernelBaseConfig = "defconfig"; 472 - kernelExtraConfig = '' 473 - FTRACE n 474 - SERIAL_OF_PLATFORM y 475 - ''; 477 + linux-kernel = { 478 + name = "riscv-multiplatform"; 479 + target = "vmlinux"; 480 + autoModules = true; 481 + baseConfig = "defconfig"; 482 + extraConfig = '' 483 + FTRACE n 484 + SERIAL_OF_PLATFORM y 485 + ''; 486 + }; 476 487 }; 477 488 478 489 select = platform: 479 490 # x86 480 - /**/ if platform.isx86_32 then pc32 481 - else if platform.isx86_64 then pc64 491 + /**/ if platform.isx86 then pc 482 492 483 493 # ARM 484 494 else if platform.isAarch32 then let 485 495 version = platform.parsed.cpu.version or null; 486 - in if version == null then pcBase 496 + in if version == null then pc 487 497 else if lib.versionOlder version "6" then sheevaplug 488 498 else if lib.versionOlder version "7" then raspberrypi 489 499 else armv7l-hf-multiplatform 490 500 else if platform.isAarch64 then aarch64-multiplatform 491 501 502 + else if platform.isRiscV then riscv-multiplatform 503 + 492 504 else if platform.parsed.cpu == lib.systems.parse.cpuTypes.mipsel then fuloong2f_n32 493 505 494 506 else if platform.parsed.cpu == lib.systems.parse.cpuTypes.powerpc64le then powernv 495 507 496 - else pcBase; 508 + else pc; 497 509 }
+36
nixos/doc/manual/release-notes/rl-2103.xml
··· 420 420 </listitem> 421 421 <listitem> 422 422 <para> 423 + The attribute <varname>mpi</varname> is now consistently used to 424 + provide a default, system-wide MPI implementation. 425 + The default implementation is openmpi, which has been used before by 426 + all derivations affects by this change. 427 + Note that all packages that have used <varname>mpi ? null</varname> in the input 428 + for optional MPI builds, have been changed to the boolean input paramater 429 + <varname>useMpi</varname> to enable building with MPI. 430 + 431 + Building all packages with <varname>mpich</varname> instead 432 + of the default <varname>openmpi</varname> can now be achived like this: 433 + <programlisting> 434 + self: super: 435 + { 436 + mpi = super.mpich; 437 + } 438 + </programlisting> 439 + </para> 440 + </listitem> 441 + <listitem> 442 + <para> 423 443 The Searx module has been updated with the ability to configure the 424 444 service declaratively and uWSGI integration. 425 445 The option <literal>services.searx.configFile</literal> has been renamed ··· 601 621 <para> 602 622 NixOS now generates empty <literal>/etc/netgroup</literal>. 603 623 <literal>/etc/netgroup</literal> defines network-wide groups and may affect to setups using NIS. 624 + </para> 625 + </listitem> 626 + <listitem> 627 + <para> 628 + Platforms, like <varname>stdenv.hostPlatform</varname>, no longer have a <varname>platform</varname> attribute. 629 + It has been (mostly) flattoned away: 630 + </para> 631 + <itemizedlist> 632 + <listitem><para><varname>platform.gcc</varname> is now <varname>gcc</varname></para></listitem> 633 + <listitem><para><literal>platform.kernel*</literal> is now <literal>linux-kernel.*</literal></para></listitem> 634 + </itemizedlist> 635 + <para> 636 + Additionally, <varname>platform.kernelArch</varname> moved to the top level as <varname>linuxArch</varname> to match the other <literal>*Arch</literal> variables. 637 + </para> 638 + <para> 639 + The <varname>platform</varname> grouping of these things never meant anything, and was just a historial/implementation artifact that was overdue removal. 604 640 </para> 605 641 </listitem> 606 642 </itemizedlist>
+4 -4
nixos/modules/hardware/device-tree.nix
··· 68 68 patchShebangs scripts/* 69 69 substituteInPlace scripts/Makefile.lib \ 70 70 --replace 'DTC_FLAGS += $(DTC_FLAGS_$(basetarget))' 'DTC_FLAGS += $(DTC_FLAGS_$(basetarget)) -@' 71 - make ${pkgs.stdenv.hostPlatform.platform.kernelBaseConfig} ARCH="${pkgs.stdenv.hostPlatform.platform.kernelArch}" 72 - make dtbs ARCH="${pkgs.stdenv.hostPlatform.platform.kernelArch}" 71 + make ${pkgs.stdenv.hostPlatform.linux-kernel.baseConfig} ARCH="${pkgs.stdenv.hostPlatform.linuxArch}" 72 + make dtbs ARCH="${pkgs.stdenv.hostPlatform.linuxArch}" 73 73 ''; 74 74 installPhase = '' 75 - make dtbs_install INSTALL_DTBS_PATH=$out/dtbs ARCH="${pkgs.stdenv.hostPlatform.platform.kernelArch}" 75 + make dtbs_install INSTALL_DTBS_PATH=$out/dtbs ARCH="${pkgs.stdenv.hostPlatform.linuxArch}" 76 76 ''; 77 77 }; 78 78 ··· 115 115 options = { 116 116 hardware.deviceTree = { 117 117 enable = mkOption { 118 - default = pkgs.stdenv.hostPlatform.platform.kernelDTB or false; 118 + default = pkgs.stdenv.hostPlatform.linux-kernel.DTB or false; 119 119 type = types.bool; 120 120 description = '' 121 121 Build device tree files. These are used to describe the
+1 -1
nixos/modules/installer/netboot/netboot.nix
··· 88 88 89 89 system.build.netbootIpxeScript = pkgs.writeTextDir "netboot.ipxe" '' 90 90 #!ipxe 91 - kernel ${pkgs.stdenv.hostPlatform.platform.kernelTarget} init=${config.system.build.toplevel}/init initrd=initrd ${toString config.boot.kernelParams} 91 + kernel ${pkgs.stdenv.hostPlatform.linux-kernel.target} init=${config.system.build.toplevel}/init initrd=initrd ${toString config.boot.kernelParams} 92 92 initrd initrd 93 93 boot 94 94 '';
+4 -4
nixos/modules/services/misc/nix-daemon.nix
··· 587 587 588 588 nix.systemFeatures = mkDefault ( 589 589 [ "nixos-test" "benchmark" "big-parallel" "kvm" ] ++ 590 - optionals (pkgs.hostPlatform.platform ? gcc.arch) ( 591 - # a builder can run code for `platform.gcc.arch` and inferior architectures 592 - [ "gccarch-${pkgs.hostPlatform.platform.gcc.arch}" ] ++ 593 - map (x: "gccarch-${x}") lib.systems.architectures.inferiors.${pkgs.hostPlatform.platform.gcc.arch} 590 + optionals (pkgs.hostPlatform ? gcc.arch) ( 591 + # a builder can run code for `gcc.arch` and inferior architectures 592 + [ "gccarch-${pkgs.hostPlatform.gcc.arch}" ] ++ 593 + map (x: "gccarch-${x}") lib.systems.architectures.inferiors.${pkgs.hostPlatform.gcc.arch} 594 594 ) 595 595 ); 596 596
+20 -5
nixos/modules/services/networking/nomad.nix
··· 49 49 ''; 50 50 }; 51 51 52 + extraSettingsPaths = mkOption { 53 + type = types.listOf types.path; 54 + default = []; 55 + description = '' 56 + Additional settings paths used to configure nomad. These can be files or directories. 57 + ''; 58 + example = literalExample '' 59 + [ "/etc/nomad-mutable.json" "/run/keys/nomad-with-secrets.json" "/etc/nomad/config.d" ] 60 + ''; 61 + }; 62 + 52 63 settings = mkOption { 53 64 type = format.type; 54 - default = { 55 - # Agrees with `StateDirectory = "nomad"` set below. 56 - data_dir = "/var/lib/nomad"; 57 - }; 65 + default = {}; 58 66 description = '' 59 67 Configuration for Nomad. See the <link xlink:href="https://www.nomadproject.io/docs/configuration">documentation</link> 60 68 for supported values. ··· 77 85 78 86 ##### implementation 79 87 config = mkIf cfg.enable { 88 + services.nomad.settings = { 89 + # Agrees with `StateDirectory = "nomad"` set below. 90 + data_dir = mkDefault "/var/lib/nomad"; 91 + }; 92 + 80 93 environment = { 81 94 etc."nomad.json".source = format.generate "nomad.json" cfg.settings; 82 95 systemPackages = [ cfg.package ]; ··· 99 112 serviceConfig = { 100 113 DynamicUser = cfg.dropPrivileges; 101 114 ExecReload = "${pkgs.coreutils}/bin/kill -HUP $MAINPID"; 102 - ExecStart = "${cfg.package}/bin/nomad agent -config=/etc/nomad.json"; 115 + ExecStart = "${cfg.package}/bin/nomad agent -config=/etc/nomad.json" + 116 + concatMapStrings (path: " -config=${path}") cfg.extraSettingsPaths; 103 117 KillMode = "process"; 104 118 KillSignal = "SIGINT"; 105 119 LimitNOFILE = 65536; ··· 114 128 } // (optionalAttrs cfg.enableDocker { 115 129 SupplementaryGroups = "docker"; # space-separated string 116 130 }); 131 + 117 132 unitConfig = { 118 133 StartLimitIntervalSec = 10; 119 134 StartLimitBurst = 3;
+1 -1
nixos/modules/system/activation/top-level.nix
··· 190 190 191 191 system.boot.loader.kernelFile = mkOption { 192 192 internal = true; 193 - default = pkgs.stdenv.hostPlatform.platform.kernelTarget; 193 + default = pkgs.stdenv.hostPlatform.linux-kernel.target; 194 194 type = types.str; 195 195 description = '' 196 196 Name of the kernel file to be passed to the bootloader.
+1 -1
nixos/modules/system/boot/loader/generations-dir/generations-dir.nix
··· 59 59 60 60 system.build.installBootLoader = generationsDirBuilder; 61 61 system.boot.loader.id = "generationsDir"; 62 - system.boot.loader.kernelFile = platform.kernelTarget; 62 + system.boot.loader.kernelFile = linux-kernel.target; 63 63 64 64 }; 65 65 }
+21 -1
nixos/modules/system/boot/loader/grub/grub.nix
··· 327 327 ''; 328 328 }; 329 329 330 + extraInstallCommands = mkOption { 331 + default = ""; 332 + example = literalExample '' 333 + # the example below generates detached signatures that GRUB can verify 334 + # https://www.gnu.org/software/grub/manual/grub/grub.html#Using-digital-signatures 335 + ''${pkgs.findutils}/bin/find /boot -not -path "/boot/efi/*" -type f -name '*.sig' -delete 336 + old_gpg_home=$GNUPGHOME 337 + export GNUPGHOME="$(mktemp -d)" 338 + ''${pkgs.gnupg}/bin/gpg --import ''${priv_key} > /dev/null 2>&1 339 + ''${pkgs.findutils}/bin/find /boot -not -path "/boot/efi/*" -type f -exec ''${pkgs.gnupg}/bin/gpg --detach-sign "{}" \; > /dev/null 2>&1 340 + rm -rf $GNUPGHOME 341 + export GNUPGHOME=$old_gpg_home 342 + ''; 343 + type = types.lines; 344 + description = '' 345 + Additional shell commands inserted in the bootloader installer 346 + script after generating menu entries. 347 + ''; 348 + }; 349 + 330 350 extraPerEntryConfig = mkOption { 331 351 default = ""; 332 352 example = "root (hd0)"; ··· 715 735 ${optionalString cfg.enableCryptodisk "export GRUB_ENABLE_CRYPTODISK=y"} 716 736 '' + flip concatMapStrings cfg.mirroredBoots (args: '' 717 737 ${pkgs.perl}/bin/perl ${install-grub-pl} ${grubConfig args} $@ 718 - '')); 738 + '') + cfg.extraInstallCommands); 719 739 720 740 system.build.grub = grub; 721 741
+1 -1
nixos/modules/system/boot/loader/raspberrypi/raspberrypi.nix
··· 103 103 104 104 system.build.installBootLoader = builder; 105 105 system.boot.loader.id = "raspberrypi"; 106 - system.boot.loader.kernelFile = platform.kernelTarget; 106 + system.boot.loader.kernelFile = linux-kernel.target; 107 107 }; 108 108 }
+2 -2
nixos/release.nix
··· 79 79 in 80 80 tarball // 81 81 { meta = { 82 - description = "NixOS system tarball for ${system} - ${stdenv.hostPlatform.platform.name}"; 82 + description = "NixOS system tarball for ${system} - ${stdenv.hostPlatform.linux-kernel.name}"; 83 83 maintainers = map (x: lib.maintainers.${x}) maintainers; 84 84 }; 85 85 inherit config; ··· 105 105 modules = makeModules module {}; 106 106 }; 107 107 build = configEvaled.config.system.build; 108 - kernelTarget = configEvaled.pkgs.stdenv.hostPlatform.platform.kernelTarget; 108 + kernelTarget = configEvaled.pkgs.stdenv.hostPlatform.linux-kernel.target; 109 109 in 110 110 pkgs.symlinkJoin { 111 111 name = "netboot";
+1
nixos/tests/all-tests.nix
··· 272 272 nginx-variants = handleTest ./nginx-variants.nix {}; 273 273 nix-ssh-serve = handleTest ./nix-ssh-serve.nix {}; 274 274 nixos-generate-config = handleTest ./nixos-generate-config.nix {}; 275 + nomad = handleTest ./nomad.nix {}; 275 276 novacomd = handleTestOn ["x86_64-linux"] ./novacomd.nix {}; 276 277 nsd = handleTest ./nsd.nix {}; 277 278 nzbget = handleTest ./nzbget.nix {};
+53
nixos/tests/nomad.nix
··· 1 + import ./make-test-python.nix ( 2 + { lib, ... }: { 3 + name = "nomad"; 4 + nodes = { 5 + server = { pkgs, lib, ... }: { 6 + networking = { 7 + interfaces.eth1.ipv4.addresses = lib.mkOverride 0 [{ 8 + address = "192.168.1.1"; 9 + prefixLength = 16; 10 + }]; 11 + }; 12 + 13 + environment.etc."nomad.custom.json".source = 14 + (pkgs.formats.json { }).generate "nomad.custom.json" { 15 + region = "universe"; 16 + datacenter = "earth"; 17 + }; 18 + 19 + services.nomad = { 20 + enable = true; 21 + 22 + settings = { 23 + server = { 24 + enabled = true; 25 + bootstrap_expect = 1; 26 + }; 27 + }; 28 + 29 + extraSettingsPaths = [ "/etc/nomad.custom.json" ]; 30 + enableDocker = false; 31 + }; 32 + }; 33 + }; 34 + 35 + testScript = '' 36 + server.wait_for_unit("nomad.service") 37 + 38 + # wait for healthy server 39 + server.wait_until_succeeds( 40 + "[ $(nomad operator raft list-peers | grep true | wc -l) == 1 ]" 41 + ) 42 + 43 + # wait for server liveness 44 + server.succeed("[ $(nomad server members | grep -o alive | wc -l) == 1 ]") 45 + 46 + # check the region 47 + server.succeed("nomad server members | grep -o universe") 48 + 49 + # check the datacenter 50 + server.succeed("[ $(nomad server members | grep -o earth | wc -l) == 1 ]") 51 + ''; 52 + } 53 + )
+1 -1
pkgs/applications/audio/virtual-ans/default.nix
··· 46 46 startScript = if stdenv.isx86_32 then "START_LINUX_X86" 47 47 else if stdenv.isx86_64 then "START_LINUX_X86_64" 48 48 #else if stdenv.isDarwin then "START_MACOS.app" # disabled because I cannot test on Darwin 49 - else abort "Unsupported platform: ${stdenv.platform.kernelArch}."; 49 + else abort "Unsupported platform: ${stdenv.hostPlatform.linuxArch}."; 50 50 51 51 linuxExecutable = if stdenv.isx86_32 then "pixilang_linux_x86" 52 52 else if stdenv.isx86_64 then "pixilang_linux_x86_64"
+8 -8
pkgs/applications/editors/android-studio/default.nix
··· 9 9 inherit buildFHSUserEnv; 10 10 }; 11 11 stableVersion = { 12 - version = "4.1.1.0"; # "Android Studio 4.1.1" 13 - build = "201.6953283"; 14 - sha256Hash = "sha256-aAMhhJWcVFdvEZt8fI3tF12Eg3TzlU+kUFMNeCYN1os="; 12 + version = "4.1.2.0"; # "Android Studio 4.1.2" 13 + build = "201.7042882"; 14 + sha256Hash = "1f9bclvyvm3sg9an7wxlfwd8jwnb9cl726dvggmysa6r7shc7xw9"; 15 15 }; 16 16 betaVersion = { 17 - version = "4.2.0.18"; # "Android Studio 4.2 Beta 2" 18 - build = "202.7008469"; 19 - sha256Hash = "0323i4mcib84z7bsy801640gadd2k8ps7vr9jbdpb6i9gma6klmh"; 17 + version = "4.2.0.19"; # "Android Studio 4.2 Beta 3" 18 + build = "202.7033425"; 19 + sha256Hash = "037r99hn16y0fy6z6k90qf6yx5a4vvx6bl9rdyagdm16ry4bpiw4"; 20 20 }; 21 21 latestVersion = { # canary & dev 22 - version = "2020.3.1.3"; # "Android Studio Arctic Fox Canary 3" 23 - sha256Hash = "1nx78j3pqr8qgwprnzfy17w9jmkgiqnlbsw91jnslr9p9fd0ixcx"; 22 + version = "2020.3.1.4"; # "Android Studio Arctic Fox Canary 4" 23 + sha256Hash = "05drh4grq0b37qg5nspf2c6vmvcc9x71al3xwc2ddjhmyj0f9sk4"; 24 24 }; 25 25 in { 26 26 # Attributes are named by their corresponding release channels
+3 -2
pkgs/applications/editors/atom/default.nix
··· 1 - { lib, stdenv, pkgs, fetchurl, wrapGAppsHook, gvfs, gtk3, atomEnv }: 1 + { lib, stdenv, pkgs, fetchurl, wrapGAppsHook, glib, gtk3, atomEnv }: 2 2 3 3 let 4 4 versions = { ··· 54 54 55 55 preFixup = '' 56 56 gappsWrapperArgs+=( 57 - --prefix "PATH" : "${gvfs}/bin" 57 + # needed for gio executable to be able to delete files 58 + --prefix "PATH" : "${glib.bin}/bin" 58 59 ) 59 60 ''; 60 61
+4 -8
pkgs/applications/editors/cudatext/default.nix
··· 38 38 in 39 39 stdenv.mkDerivation rec { 40 40 pname = "cudatext"; 41 - version = "1.118.2"; 41 + version = "1.122.3"; 42 42 43 43 src = fetchFromGitHub { 44 44 owner = "Alexey-T"; 45 45 repo = "CudaText"; 46 46 rev = version; 47 - sha256 = "0d6f4qfs7vifz7qkw2vkdjgd5w717wfpnxbc4qa4hs4g6y86ywmm"; 47 + sha256 = "1h56hj433z0n4l97zl1cwkjv0qvz4qmvf469zzjzf1nj4zj8px2b"; 48 48 }; 49 49 50 - patches = [ 51 - # Don't check for update 52 - ./dont-check-update.patch 53 - ]; 54 - 55 50 postPatch = '' 56 51 substituteInPlace app/proc_globdata.pas \ 57 52 --replace "/usr/share/cudatext" "$out/share/cudatext" \ 58 - --replace "libpython3.so" "${python3}/lib/libpython3.so" 53 + --replace "libpython3.so" "${python3}/lib/libpython${python3.pythonVersion}.so" \ 54 + --replace "AllowProgramUpdates:= true;" "AllowProgramUpdates:= false;" 59 55 ''; 60 56 61 57 nativeBuildInputs = [ lazarus fpc ]
+16 -16
pkgs/applications/editors/cudatext/deps.json
··· 1 1 { 2 2 "EncConv": { 3 3 "owner": "Alexey-T", 4 - "rev": "2020.06.15", 5 - "sha256": "07dpvq3ppfq3b70i1smkf7vwdlzq8qnxs3fk94hi9h1z36bz2rw3" 4 + "rev": "2021.01.01", 5 + "sha256": "18fp7yz2rl80a6xw7v4bgc4092l74fb6p6z4yf312r7gw7b8naq6" 6 6 }, 7 7 "ATBinHex-Lazarus": { 8 8 "owner": "Alexey-T", 9 - "rev": "2020.09.05", 10 - "sha256": "022yx5vic4hnc9lz53wvr4h7hf0h71801dzlilj55x5mf8p59072" 9 + "rev": "2020.11.22", 10 + "sha256": "0dkvzm32ls03pfp40fxvsyrkfmyznc5yrj65cp4a8pp9kpkvzlz7" 11 11 }, 12 12 "ATFlatControls": { 13 13 "owner": "Alexey-T", 14 - "rev": "2020.11.02", 15 - "sha256": "0shihlm1hg74m04qyrj2iic2ik0x7qggihmnylvvdry3y79d07fy" 14 + "rev": "2021.01.12", 15 + "sha256": "1mavv3krs4srdp362prf4sncssxjh11la5j4lkx0wk5csrmd1pc9" 16 16 }, 17 17 "ATSynEdit": { 18 18 "owner": "Alexey-T", 19 - "rev": "6560bc35a2cf31399be8713ac189216afabf9f01", 20 - "sha256": "1bjnd6pcd9ddkvl7ma05z7f8svq609kljwc7gvbszc76hdb8d54x" 19 + "rev": "2021.01.19", 20 + "sha256": "0lpgfwljwh9mypscbpj5c7fivhza0hizjgqypval3v0209cx38d1" 21 21 }, 22 22 "ATSynEdit_Cmp": { 23 23 "owner": "Alexey-T", 24 - "rev": "2459ea2a2e50050f7e6ee59a17a52aae05ca4433", 25 - "sha256": "155cwcmr9f23j4x13pidvb3vcgglawkxxpizjw90ajwhmg831acr" 24 + "rev": "2021.01.17", 25 + "sha256": "14i4jdpbmh6sjpvbwipdvvmmqqw8wg592b34a9wdf2f9qxq2p4ly" 26 26 }, 27 27 "EControl": { 28 28 "owner": "Alexey-T", 29 - "rev": "2020.10.04", 30 - "sha256": "0ypbaca3y5biw2207yh3x5p28gm8g51qf7glm5622w3cgbrf9mdq" 29 + "rev": "2021.01.12", 30 + "sha256": "107zyd65vc72fl4mvyirhv2a9m47l9bs6gwqiwar7hrn02zns6bq" 31 31 }, 32 32 "ATSynEdit_Ex": { 33 33 "owner": "Alexey-T", ··· 36 36 }, 37 37 "Python-for-Lazarus": { 38 38 "owner": "Alexey-T", 39 - "rev": "2020.10.23", 40 - "sha256": "1lljldqnixlh0j05fh594gccwzkgcxa50byq8wr9ld5ik5sf8khn" 39 + "rev": "2021.01.16", 40 + "sha256": "07qv3x1cm3r12gxfnqzxly6nff39bghwwgxzl2lxi1qbpqhcs2l5" 41 41 }, 42 42 "Emmet-Pascal": { 43 43 "owner": "Alexey-T", ··· 46 46 }, 47 47 "CudaText-lexers": { 48 48 "owner": "Alexey-T", 49 - "rev": "2020.08.10", 50 - "sha256": "1gzs2psyfhb9si1qyacxzfjb3dz2v255hv7y4jlkbxdxv0kckqr6" 49 + "rev": "2021.01.16", 50 + "sha256": "13zyg0cm1c1662l3f7sy462pbc39l1cwm5214nx8ijngf8kgn2zh" 51 51 }, 52 52 "bgrabitmap": { 53 53 "owner": "bgrabitmap",
-12
pkgs/applications/editors/cudatext/dont-check-update.patch
··· 1 - diff --git i/app/formmain.pas w/app/formmain.pas 2 - index f6f37febb..cf993d75e 100644 3 - --- i/app/formmain.pas 4 - +++ w/app/formmain.pas 5 - @@ -2156,6 +2156,7 @@ begin 6 - false 7 - {$endif}; 8 - *) 9 - + mnuHelpCheckUpd.Enabled:=false; 10 - 11 - with AppPanels[cPaneSide] do 12 - begin
+1 -1
pkgs/applications/editors/kakoune/plugins/kak-buffers.nix
··· 1 - { stdenv, fetchFromGitHub }: 1 + { stdenv, fetchFromGitHub, lib }: 2 2 stdenv.mkDerivation { 3 3 name = "kak-buffers"; 4 4 version = "2019-04-03";
+1 -1
pkgs/applications/editors/kakoune/plugins/kak-powerline.nix
··· 1 - { stdenv, git, fetchFromGitHub }: 1 + { stdenv, git, fetchFromGitHub, lib }: 2 2 stdenv.mkDerivation { 3 3 name = "kak-powerline"; 4 4 version = "2020-08-22";
+1 -1
pkgs/applications/editors/kakoune/plugins/kak-vertical-selection.nix
··· 1 - { stdenv, fetchFromGitHub }: 1 + { stdenv, fetchFromGitHub, lib }: 2 2 stdenv.mkDerivation { 3 3 name = "kak-vertical-selection"; 4 4 version = "2019-04-11";
+6 -2
pkgs/applications/editors/setzer/default.nix
··· 18 18 19 19 python3.pkgs.buildPythonApplication rec { 20 20 pname = "setzer"; 21 - version = "0.4.0"; 21 + version = "0.4.1"; 22 22 23 23 src = fetchFromGitHub { 24 24 owner = "cvfosammmm"; 25 25 repo = "Setzer"; 26 26 rev = "v${version}"; 27 - sha256 = "036xbg65h255zlvz9l86sw6w9l4qfyf13x8p8ml7dj52hcdfvyb9"; 27 + sha256 = "1rcx2c07jg1ij81pnvg3px49hfbjmkagn68d3gp79z3gcajbp2av"; 28 28 }; 29 29 30 30 format = "other"; ··· 54 54 pdfminer 55 55 pycairo 56 56 ]; 57 + 58 + checkPhase = '' 59 + meson test --print-errorlogs 60 + ''; 57 61 58 62 meta = with lib; { 59 63 description = "LaTeX editor written in Python with Gtk";
+2 -2
pkgs/applications/graphics/paraview/default.nix
··· 1 1 { boost, cmake, fetchFromGitHub, ffmpeg, qtbase, qtx11extras, 2 2 qttools, qtxmlpatterns, qtsvg, gdal, gfortran, libXt, makeWrapper, 3 - mkDerivation, ninja, openmpi, python3, lib, stdenv, tbb, libGLU, libGL }: 3 + mkDerivation, ninja, mpi, python3, lib, stdenv, tbb, libGLU, libGL }: 4 4 5 5 mkDerivation rec { 6 6 pname = "paraview"; ··· 65 65 buildInputs = [ 66 66 libGLU libGL 67 67 libXt 68 - openmpi 68 + mpi 69 69 tbb 70 70 boost 71 71 ffmpeg
+2 -2
pkgs/applications/misc/genxword/default.nix
··· 10 10 11 11 python3.pkgs.buildPythonApplication rec { 12 12 pname = "genxword"; 13 - version = "2.0.1"; 13 + version = "2.1.0"; 14 14 15 15 src = fetchFromGitHub { 16 16 owner = "riverrun"; 17 17 repo = pname; 18 18 rev = "v${version}"; 19 - sha256 = "00czdvyb5wnrk3x0g529afisl8v4frfys9ih0nzf1fs4jkzjcijg"; 19 + sha256 = "17h8saja45bv612yk0pra9ncbp2mjnx5n10q25nqhl765ks4bmb5"; 20 20 }; 21 21 22 22 nativeBuildInputs = [
+9 -1
pkgs/applications/networking/cluster/terraform-providers/libvirt/default.nix
··· 1 - { lib, stdenv, buildGoPackage, fetchFromGitHub, libvirt, pkg-config, makeWrapper, cdrtools }: 1 + { lib, stdenv, buildGoPackage, fetchFromGitHub, fetchpatch, libvirt, pkg-config, makeWrapper, cdrtools }: 2 2 3 3 # USAGE: 4 4 # install the following package globally or in nix-shell: ··· 22 22 version = "0.6.3"; 23 23 24 24 goPackagePath = "github.com/dmacvicar/terraform-provider-libvirt"; 25 + 26 + patches = [ 27 + (fetchpatch { 28 + name = "base_volume_copy.patch"; 29 + url = "https://github.com/cyril-s/terraform-provider-libvirt/commit/52df264e8a28c40ce26e2b614ee3daea882931c3.patch"; 30 + sha256 = "1fg7ii2fi4c93hl41nhcncy9bpw3avbh6yiq99p1vkf87hhrw72n"; 31 + }) 32 + ]; 25 33 26 34 src = fetchFromGitHub { 27 35 owner = "dmacvicar";
+15 -4
pkgs/applications/networking/irc/convos/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, perl, perlPackages, makeWrapper, shortenPerlShebang 1 + { lib, stdenv, fetchFromGitHub, perl, perlPackages, makeWrapper, shortenPerlShebang, openssl 2 2 , nixosTests 3 3 }: 4 4 ··· 6 6 7 7 perlPackages.buildPerlPackage rec { 8 8 pname = "convos"; 9 - version = "5.00"; 9 + version = "5.11"; 10 10 11 11 src = fetchFromGitHub { 12 12 owner = "Nordaaker"; 13 13 repo = pname; 14 14 rev = version; 15 - sha256 = "0mdbh9q1vclwgnjwvb3z637s7v804h65zxazbhmd7qi3zislnhg1"; 15 + sha256 = "08k8dqdgz2b3p8g1zfg9i74r5nm1w0sqdm759d1f3jcyp737r47x"; 16 16 }; 17 17 18 18 nativeBuildInputs = [ makeWrapper ] 19 19 ++ optional stdenv.isDarwin [ shortenPerlShebang ]; 20 20 21 21 buildInputs = with perlPackages; [ 22 - CryptEksblowfish FileHomeDir FileReadBackwards 22 + CryptEksblowfish FileHomeDir FileReadBackwards HTTPAcceptLanguage 23 23 IOSocketSSL IRCUtils JSONValidator LinkEmbedder ModuleInstall 24 24 Mojolicious MojoliciousPluginOpenAPI MojoliciousPluginWebpack 25 25 ParseIRC TextMarkdown TimePiece UnicodeUTF8 26 26 CpanelJSONXS EV 27 27 ]; 28 + 29 + propagatedBuildInputs = [ openssl ]; 28 30 29 31 checkInputs = with perlPackages; [ TestDeep TestMore ]; 30 32 ··· 42 44 # 43 45 substituteInPlace t/web-register-open-to-public.t \ 44 46 --replace '!127.0.0.1!' '!localhost!' 47 + 48 + # A webirc test fails to resolve "localhost" likely due to sandboxing, we 49 + # remove this test. 50 + # 51 + rm t/irc-webirc.t 52 + 53 + # A web-user test fails on Darwin, we remove it. 54 + # 55 + rm t/web-user.t 45 56 46 57 # Module::Install is a runtime dependency not covered by the tests, so we add 47 58 # a test for it.
+68
pkgs/applications/office/pyspread/default.nix
··· 1 + { lib 2 + , buildPythonApplication 3 + , fetchPypi 4 + , makePythonPath 5 + , dateutil 6 + , matplotlib 7 + , numpy 8 + , pyenchant 9 + , pyqt5 10 + , pytest 11 + , python 12 + , qtsvg 13 + , runtimeShell 14 + , wrapQtAppsHook 15 + }: 16 + 17 + buildPythonApplication rec { 18 + pname = "pyspread"; 19 + version = "1.99.5"; 20 + 21 + src = fetchPypi { 22 + inherit pname version; 23 + sha256 = "sha256-05bC+Uvx72FAh3qxkgXm8jdb/gHRv1D/M7tjOEdE3Xg="; 24 + }; 25 + 26 + pythonLibs = [ 27 + dateutil 28 + matplotlib 29 + numpy 30 + pyenchant 31 + pyqt5 32 + ]; 33 + 34 + nativeBuildInputs = [ wrapQtAppsHook ]; 35 + buildInputs = pythonLibs ++ [ 36 + qtsvg 37 + ]; 38 + 39 + doCheck = false; # it fails miserably with a core dump 40 + 41 + fixupPhase = '' 42 + runHook preFixup 43 + sed -i -e "s|#!/bin/bash|#!${runtimeShell}|" $out/bin/pyspread 44 + wrapProgram $out/bin/pyspread \ 45 + --prefix PYTHONPATH ':' $(toPythonPath $out):${makePythonPath pythonLibs} \ 46 + --prefix PATH ':' ${python}/bin/ \ 47 + ''${qtWrapperArgs[@]} 48 + runHook postFixup 49 + ''; 50 + 51 + meta = with lib; { 52 + homepage = "https://pyspread.gitlab.io/"; 53 + description = "A Python-oriented spreadsheet application"; 54 + longDescription = '' 55 + pyspread is a non-traditional spreadsheet application that is based on and 56 + written in the programming language Python. The goal of pyspread is to be 57 + the most pythonic spreadsheet. 58 + 59 + pyspread expects Python expressions in its grid cells, which makes a 60 + spreadsheet specific language obsolete. Each cell returns a Python object 61 + that can be accessed from other cells. These objects can represent 62 + anything including lists or matrices. 63 + ''; 64 + license = with licenses; gpl3Plus; 65 + maintainers = with maintainers; [ AndersonTorres ]; 66 + platforms = with platforms; all; 67 + }; 68 + }
+2 -2
pkgs/applications/science/biology/migrate/default.nix
··· 1 - { gccStdenv, fetchurl, zlib, openmpi }: 1 + { gccStdenv, fetchurl, zlib, mpi }: 2 2 3 3 gccStdenv.mkDerivation rec { 4 4 version = "3.7.2"; ··· 9 9 sha256 = "1p2364ffjc56i82snzvjpy6pkf6wvqwvlvlqxliscx2c303fxs8v"; 10 10 }; 11 11 12 - buildInputs = [ zlib openmpi ]; 12 + buildInputs = [ zlib mpi ]; 13 13 setSourceRoot = ''sourceRoot=$(echo */src)''; 14 14 buildFlags = [ "thread" "mpis" ]; 15 15 preInstall = "mkdir -p $out/man/man1";
+5 -4
pkgs/applications/science/biology/neuron/default.nix
··· 8 8 , readline 9 9 , which 10 10 , python ? null 11 - , mpi ? null 11 + , useMpi ? false 12 + , mpi 12 13 , iv 13 14 }: 14 15 ··· 17 18 version = "7.5"; 18 19 19 20 nativeBuildInputs = [ which pkg-config automake autoconf libtool ]; 20 - buildInputs = [ ncurses readline python mpi iv ]; 21 + buildInputs = [ ncurses readline python iv ] 22 + ++ lib.optional useMpi mpi; 21 23 22 24 src = fetchurl { 23 25 url = "https://www.neuron.yale.edu/ftp/neuron/versions/v${version}/nrn-${version}.tar.gz"; ··· 54 56 configureFlags = with lib; 55 57 [ "--with-readline=${readline}" "--with-iv=${iv}" ] 56 58 ++ optionals (python != null) [ "--with-nrnpython=${python.interpreter}" ] 57 - ++ (if mpi != null then ["--with-mpi" "--with-paranrn"] 59 + ++ (if useMpi then ["--with-mpi" "--with-paranrn"] 58 60 else ["--without-mpi"]); 59 61 60 62 ··· 84 86 platforms = platforms.x86_64 ++ platforms.i686; 85 87 }; 86 88 } 87 -
+5 -5
pkgs/applications/science/biology/raxml/default.nix
··· 1 1 { lib, stdenv 2 2 , fetchFromGitHub 3 - , pkgs 4 - , mpi ? false 3 + , useMpi ? false 4 + , mpi 5 5 }: 6 6 7 7 stdenv.mkDerivation rec { ··· 15 15 sha256 = "1jqjzhch0rips0vp04prvb8vmc20c5pdmsqn8knadcf91yy859fh"; 16 16 }; 17 17 18 - buildInputs = lib.optionals mpi [ pkgs.openmpi ]; 18 + buildInputs = lib.optionals useMpi [ mpi ]; 19 19 20 20 # TODO darwin, AVX and AVX2 makefile targets 21 - buildPhase = if mpi then '' 21 + buildPhase = if useMpi then '' 22 22 make -f Makefile.MPI.gcc 23 23 '' else '' 24 24 make -f Makefile.SSE3.PTHREADS.gcc 25 25 ''; 26 26 27 - installPhase = if mpi then '' 27 + installPhase = if useMpi then '' 28 28 mkdir -p $out/bin && cp raxmlHPC-MPI $out/bin 29 29 '' else '' 30 30 mkdir -p $out/bin && cp raxmlHPC-PTHREADS-SSE3 $out/bin
+2 -2
pkgs/applications/science/chemistry/openmolcas/default.nix
··· 1 1 { lib, stdenv, fetchFromGitLab, cmake, gfortran, perl 2 2 , openblas, hdf5-cpp, python3, texlive 3 - , armadillo, openmpi, globalarrays, openssh 3 + , armadillo, mpi, globalarrays, openssh 4 4 , makeWrapper, fetchpatch 5 5 } : 6 6 ··· 33 33 hdf5-cpp 34 34 python 35 35 armadillo 36 - openmpi 36 + mpi 37 37 globalarrays 38 38 openssh 39 39 ];
+4 -3
pkgs/applications/science/chemistry/quantum-espresso/default.nix
··· 1 1 { lib, stdenv, fetchurl 2 2 , gfortran, fftw, blas, lapack 3 - , mpi ? null 3 + , useMpi ? false 4 + , mpi 4 5 }: 5 6 6 7 stdenv.mkDerivation rec { ··· 21 22 ''; 22 23 23 24 buildInputs = [ fftw blas lapack gfortran ] 24 - ++ (lib.optionals (mpi != null) [ mpi ]); 25 + ++ (lib.optionals useMpi [ mpi ]); 25 26 26 - configureFlags = if (mpi != null) then [ "LD=${mpi}/bin/mpif90" ] else [ "LD=${gfortran}/bin/gfortran" ]; 27 + configureFlags = if useMpi then [ "LD=${mpi}/bin/mpif90" ] else [ "LD=${gfortran}/bin/gfortran" ]; 27 28 28 29 makeFlags = [ "all" ]; 29 30
+5 -4
pkgs/applications/science/chemistry/siesta/default.nix
··· 1 1 { lib, stdenv, fetchurl 2 - , gfortran, blas, lapack 3 - , mpi ? null, scalapack 2 + , gfortran, blas, lapack, scalapack 3 + , useMpi ? false 4 + , mpi 4 5 }: 5 6 6 7 stdenv.mkDerivation { ··· 17 18 }; 18 19 19 20 buildInputs = [ blas lapack gfortran ] 20 - ++ (lib.optionals (mpi != null) [ mpi scalapack ]); 21 + ++ lib.optionals useMpi [ mpi scalapack ]; 21 22 22 23 enableParallelBuilding = true; 23 24 ··· 29 30 cp gfortran.make arch.make 30 31 ''; 31 32 32 - preBuild = if (mpi != null) then '' 33 + preBuild = if useMpi then '' 33 34 makeFlagsArray=( 34 35 CC="mpicc" FC="mpifort" 35 36 FPPFLAGS="-DMPI" MPI_INTERFACE="libmpi_f90.a" MPI_INCLUDE="."
+2 -3
pkgs/applications/science/electronics/openems/default.nix
··· 11 11 , cmake 12 12 , octave 13 13 , gl2ps 14 + , mpi 14 15 , withQcsxcad ? true 15 16 , withMPI ? false 16 17 , withHyp2mat ? true 17 18 , qcsxcad ? null 18 - , openmpi ? null 19 19 , hyp2mat ? null 20 20 }: 21 21 22 22 assert withQcsxcad -> qcsxcad != null; 23 - assert withMPI -> openmpi != null; 24 23 assert withHyp2mat -> hyp2mat != null; 25 24 26 25 stdenv.mkDerivation { ··· 50 49 csxcad 51 50 (octave.override { inherit hdf5; }) ] 52 51 ++ lib.optionals withQcsxcad [ qcsxcad ] 53 - ++ lib.optionals withMPI [ openmpi ] 52 + ++ lib.optionals withMPI [ mpi ] 54 53 ++ lib.optionals withHyp2mat [ hyp2mat ]; 55 54 56 55 postFixup = ''
+3 -3
pkgs/applications/science/math/cntk/default.nix
··· 1 1 { lib, stdenv, fetchgit, fetchFromGitHub, cmake 2 - , openblas, blas, lapack, opencv3, libzip, boost, protobuf, openmpi 2 + , openblas, blas, lapack, opencv3, libzip, boost, protobuf, mpi 3 3 , onebitSGDSupport ? false 4 4 , cudaSupport ? false, addOpenGLRunpath, cudatoolkit, nvidia_x11 5 5 , cudnnSupport ? cudaSupport, cudnn ··· 33 33 # Force OpenMPI to use g++ in PATH. 34 34 OMPI_CXX = "g++"; 35 35 36 - buildInputs = [ openblas opencv3 libzip boost protobuf openmpi ] 36 + buildInputs = [ openblas opencv3 libzip boost protobuf mpi ] 37 37 ++ lib.optional cudaSupport cudatoolkit 38 38 ++ lib.optional cudnnSupport cudnn; 39 39 ··· 43 43 "--with-openblas=${openblas}" 44 44 "--with-boost=${boost.dev}" 45 45 "--with-protobuf=${protobuf}" 46 - "--with-mpi=${openmpi}" 46 + "--with-mpi=${mpi}" 47 47 "--cuda=${if cudaSupport then "yes" else "no"}" 48 48 # FIXME 49 49 "--asgd=no"
+2 -2
pkgs/applications/science/math/getdp/default.nix
··· 1 - { lib, stdenv, fetchurl, cmake, gfortran, blas, lapack, openmpi, petsc, python3 }: 1 + { lib, stdenv, fetchurl, cmake, gfortran, blas, lapack, mpi, petsc, python3 }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "getdp-${version}"; ··· 9 9 }; 10 10 11 11 nativeBuildInputs = [ cmake gfortran ]; 12 - buildInputs = [ blas lapack openmpi petsc python3 ]; 12 + buildInputs = [ blas lapack mpi petsc python3 ]; 13 13 14 14 meta = with lib; { 15 15 description = "A General Environment for the Treatment of Discrete Problems";
+2 -2
pkgs/applications/science/math/scotch/default.nix
··· 1 - { lib, stdenv, fetchurl, bison, openmpi, flex, zlib}: 1 + { lib, stdenv, fetchurl, bison, mpi, flex, zlib}: 2 2 3 3 stdenv.mkDerivation rec { 4 4 version = "6.0.4"; 5 5 pname = "scotch"; 6 6 src_name = "scotch_${version}"; 7 7 8 - buildInputs = [ bison openmpi flex zlib ]; 8 + buildInputs = [ bison mpi flex zlib ]; 9 9 10 10 src = fetchurl { 11 11 url = "https://gforge.inria.fr/frs/download.php/file/34618/${src_name}.tar.gz";
+2 -2
pkgs/applications/science/molecular-dynamics/gromacs/default.nix
··· 3 3 , cmake 4 4 , hwloc 5 5 , fftw 6 - , openmpi 7 6 , perl 8 7 , singlePrec ? true 9 8 , mpiEnabled ? false 9 + , mpi 10 10 , cpuAcceleration ? null 11 11 }: 12 12 ··· 33 33 34 34 nativeBuildInputs = [ cmake ]; 35 35 buildInputs = [ fftw perl hwloc ] 36 - ++ (lib.optionals mpiEnabled [ openmpi ]); 36 + ++ (lib.optionals mpiEnabled [ mpi ]); 37 37 38 38 cmakeFlags = [ 39 39 "-DGMX_SIMD:STRING=${SIMD cpuAcceleration}"
+2 -2
pkgs/applications/science/molecular-dynamics/lammps/default.nix
··· 1 1 { lib, stdenv, fetchFromGitHub 2 2 , libpng, gzip, fftw, blas, lapack 3 - , mpi ? null 3 + , withMPI ? false 4 + , mpi 4 5 }: 5 6 let packages = [ 6 7 "asphere" "body" "class2" "colloid" "compress" "coreshell" ··· 8 9 "opt" "peri" "qeq" "replica" "rigid" "shock" "snap" "srd" "user-reaxc" 9 10 ]; 10 11 lammps_includes = "-DLAMMPS_EXCEPTIONS -DLAMMPS_GZIP -DLAMMPS_MEMALIGN=64"; 11 - withMPI = (mpi != null); 12 12 in 13 13 stdenv.mkDerivation rec { 14 14 # LAMMPS has weird versioning converted to ISO 8601 format
+2 -2
pkgs/applications/science/physics/elmerfem/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, cmake, git, gfortran, openmpi, blas, liblapack, qt4, qwt6_qt4, pkg-config }: 1 + { lib, stdenv, fetchFromGitHub, cmake, git, gfortran, mpi, blas, liblapack, qt4, qwt6_qt4, pkg-config }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "elmerfem"; ··· 14 14 hardeningDisable = [ "format" ]; 15 15 16 16 nativeBuildInputs = [ cmake pkg-config git ]; 17 - buildInputs = [ gfortran openmpi blas liblapack qt4 qwt6_qt4 ]; 17 + buildInputs = [ gfortran mpi blas liblapack qt4 qwt6_qt4 ]; 18 18 19 19 preConfigure = '' 20 20 patchShebangs ./
+2 -2
pkgs/applications/system/glances/default.nix
··· 9 9 10 10 buildPythonApplication rec { 11 11 pname = "glances"; 12 - version = "3.1.5"; 12 + version = "3.1.6"; 13 13 disabled = isPyPy; 14 14 15 15 src = fetchFromGitHub { 16 16 owner = "nicolargo"; 17 17 repo = "glances"; 18 18 rev = "v${version}"; 19 - sha256 = "0l91nvlwyabxlsy5p533dqnc68mmvykfsrcsnxylcpjjl1nzy931"; 19 + sha256 = "sha256-uPqHXRwQQQZsttiLuqgr+dcAna+BVZtym4YEmTPLkXk="; 20 20 }; 21 21 22 22 # Some tests fail in the sandbox (they e.g. require access to /sys/class/power_supply):
+1 -1
pkgs/applications/virtualization/crosvm/default.nix
··· 75 75 76 76 CROSVM_CARGO_TEST_KERNEL_BINARY = 77 77 lib.optionalString (stdenv.buildPlatform == stdenv.hostPlatform) 78 - "${linux}/${stdenv.hostPlatform.platform.kernelTarget}"; 78 + "${linux}/${stdenv.hostPlatform.linux-kernel.target}"; 79 79 80 80 passthru = { 81 81 inherit adhdSrc;
+1 -1
pkgs/applications/virtualization/docker/default.nix
··· 169 169 substituteInPlace ./scripts/docs/generate-man.sh --replace "-v md2man" "-v go-md2man" 170 170 substituteInPlace ./man/md2man-all.sh --replace md2man go-md2man 171 171 '' + optionalString buildxSupport '' 172 - substituteInPlace ./components/cli/cli-plugins/manager/manager_unix.go --replace /usr/libexec/docker/cli-plugins \ 172 + substituteInPlace ./cli-plugins/manager/manager_unix.go --replace /usr/libexec/docker/cli-plugins \ 173 173 ${lib.strings.makeSearchPathOutput "bin" "libexec/docker/cli-plugins" [docker-buildx]} 174 174 ''; 175 175
+1 -1
pkgs/applications/virtualization/vpcs/default.nix
··· 13 13 14 14 buildPhase = ''( 15 15 cd src 16 - ./mk.sh ${stdenv.buildPlatform.platform.kernelArch} 16 + ./mk.sh ${stdenv.buildPlatform.linuxArch} 17 17 )''; 18 18 19 19 installPhase = ''
+1 -1
pkgs/build-support/bintools-wrapper/default.nix
··· 190 190 else if targetPlatform.isRiscV then "lriscv" 191 191 else throw "unknown emulation for platform: ${targetPlatform.config}"; 192 192 in if targetPlatform.useLLVM or false then "" 193 - else targetPlatform.platform.bfdEmulation or (fmt + sep + arch); 193 + else targetPlatform.bfdEmulation or (fmt + sep + arch); 194 194 195 195 strictDeps = true; 196 196 depsTargetTargetPropagated = extraPackages;
+14 -14
pkgs/build-support/cc-wrapper/default.nix
··· 402 402 # Always add -march based on cpu in triple. Sometimes there is a 403 403 # discrepency (x86_64 vs. x86-64), so we provide an "arch" arg in 404 404 # that case. 405 - + optionalString ((targetPlatform ? platform.gcc.arch) && 406 - isGccArchSupported targetPlatform.platform.gcc.arch) '' 407 - echo "-march=${targetPlatform.platform.gcc.arch}" >> $out/nix-support/cc-cflags-before 405 + + optionalString ((targetPlatform ? gcc.arch) && 406 + isGccArchSupported targetPlatform.gcc.arch) '' 407 + echo "-march=${targetPlatform.gcc.arch}" >> $out/nix-support/cc-cflags-before 408 408 '' 409 409 410 410 # -mcpu is not very useful. You should use mtune and march 411 411 # instead. It’s provided here for backwards compatibility. 412 - + optionalString (targetPlatform ? platform.gcc.cpu) '' 413 - echo "-mcpu=${targetPlatform.platform.gcc.cpu}" >> $out/nix-support/cc-cflags-before 412 + + optionalString (targetPlatform ? gcc.cpu) '' 413 + echo "-mcpu=${targetPlatform.gcc.cpu}" >> $out/nix-support/cc-cflags-before 414 414 '' 415 415 416 416 # -mfloat-abi only matters on arm32 but we set it here 417 417 # unconditionally just in case. If the abi specifically sets hard 418 418 # vs. soft floats we use it here. 419 - + optionalString (targetPlatform ? platform.gcc.float-abi) '' 420 - echo "-mfloat-abi=${targetPlatform.platform.gcc.float-abi}" >> $out/nix-support/cc-cflags-before 419 + + optionalString (targetPlatform ? gcc.float-abi) '' 420 + echo "-mfloat-abi=${targetPlatform.gcc.float-abi}" >> $out/nix-support/cc-cflags-before 421 421 '' 422 - + optionalString (targetPlatform ? platform.gcc.fpu) '' 423 - echo "-mfpu=${targetPlatform.platform.gcc.fpu}" >> $out/nix-support/cc-cflags-before 422 + + optionalString (targetPlatform ? gcc.fpu) '' 423 + echo "-mfpu=${targetPlatform.gcc.fpu}" >> $out/nix-support/cc-cflags-before 424 424 '' 425 - + optionalString (targetPlatform ? platform.gcc.mode) '' 426 - echo "-mmode=${targetPlatform.platform.gcc.mode}" >> $out/nix-support/cc-cflags-before 425 + + optionalString (targetPlatform ? gcc.mode) '' 426 + echo "-mmode=${targetPlatform.gcc.mode}" >> $out/nix-support/cc-cflags-before 427 427 '' 428 - + optionalString (targetPlatform ? platform.gcc.tune && 429 - isGccArchSupported targetPlatform.platform.gcc.tune) '' 430 - echo "-mtune=${targetPlatform.platform.gcc.tune}" >> $out/nix-support/cc-cflags-before 428 + + optionalString (targetPlatform ? gcc.tune && 429 + isGccArchSupported targetPlatform.gcc.tune) '' 430 + echo "-mtune=${targetPlatform.gcc.tune}" >> $out/nix-support/cc-cflags-before 431 431 '' 432 432 433 433 # TODO: categorize these and figure out a better place for them
+2 -2
pkgs/build-support/kernel/make-initrd.nix
··· 56 56 , prepend ? [] 57 57 58 58 # Whether to wrap the initramfs in a u-boot image. 59 - , makeUInitrd ? stdenvNoCC.hostPlatform.platform.kernelTarget == "uImage" 59 + , makeUInitrd ? stdenvNoCC.hostPlatform.linux-kernel.target == "uImage" 60 60 61 61 # If generating a u-boot image, the architecture to use. The default 62 62 # guess may not align with u-boot's nomenclature correctly, so it can 63 63 # be overridden. 64 64 # See https://gitlab.denx.de/u-boot/u-boot/-/blob/9bfb567e5f1bfe7de8eb41f8c6d00f49d2b9a426/common/image.c#L81-106 for a list. 65 - , uInitrdArch ? stdenvNoCC.hostPlatform.kernelArch 65 + , uInitrdArch ? stdenvNoCC.hostPlatform.linuxArch 66 66 67 67 # The name of the compression, as recognised by u-boot. 68 68 # See https://gitlab.denx.de/u-boot/u-boot/-/blob/9bfb567e5f1bfe7de8eb41f8c6d00f49d2b9a426/common/image.c#L195-204 for a list.
+1 -1
pkgs/build-support/vm/default.nix
··· 1 1 { pkgs 2 2 , kernel ? pkgs.linux 3 - , img ? pkgs.stdenv.hostPlatform.platform.kernelTarget 3 + , img ? pkgs.stdenv.hostPlatform.linux-kernel.target 4 4 , storeDir ? builtins.storeDir 5 5 , rootModules ? 6 6 [ "virtio_pci" "virtio_mmio" "virtio_blk" "virtio_balloon" "virtio_rng" "ext4" "unix" "9p" "9pnet_virtio" "crc32c_generic" ]
+2 -2
pkgs/development/androidndk-pkgs/androidndk-pkgs.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 , makeWrapper 3 3 , runCommand, wrapBintoolsWith, wrapCCWith 4 4 , buildAndroidndk, androidndk, targetAndroidndkPkgs ··· 48 48 hostInfo = ndkInfoFun stdenv.hostPlatform; 49 49 targetInfo = ndkInfoFun stdenv.targetPlatform; 50 50 51 - prefix = stdenv.lib.optionalString (stdenv.targetPlatform != stdenv.hostPlatform) (stdenv.targetPlatform.config + "-"); 51 + prefix = lib.optionalString (stdenv.targetPlatform != stdenv.hostPlatform) (stdenv.targetPlatform.config + "-"); 52 52 in 53 53 54 54 rec {
+3 -1
pkgs/development/androidndk-pkgs/default.nix
··· 1 - { androidenv, buildPackages, pkgs, targetPackages 1 + { lib, androidenv, buildPackages, pkgs, targetPackages 2 2 }: 3 3 4 4 { ··· 17 17 }; 18 18 in 19 19 import ./androidndk-pkgs.nix { 20 + inherit lib; 20 21 inherit (buildPackages) 21 22 makeWrapper; 22 23 inherit (pkgs) ··· 46 47 }; 47 48 in 48 49 import ./androidndk-pkgs.nix { 50 + inherit lib; 49 51 inherit (buildPackages) 50 52 makeWrapper; 51 53 inherit (pkgs)
+1 -1
pkgs/development/beam-modules/build-erlang-mk.nix
··· 15 15 , buildFlags ? [] 16 16 , ... }@attrs: 17 17 18 - with stdenv.lib; 18 + with lib; 19 19 20 20 let 21 21 debugInfoFlag = lib.optionalString (enableDebugInfo || erlang.debugInfo) "+debug_info";
+2 -2
pkgs/development/beam-modules/build-hex.nix
··· 1 - { stdenv, buildRebar3, fetchHex }: 1 + { lib, stdenv, buildRebar3, fetchHex }: 2 2 3 3 { name, version, sha256 4 4 , builder ? buildRebar3 5 5 , hexPkg ? name 6 6 , ... }@attrs: 7 7 8 - with stdenv.lib; 8 + with lib; 9 9 10 10 let 11 11 pkg = self: builder (attrs // {
+1 -1
pkgs/development/beam-modules/build-mix.nix
··· 15 15 , enableDebugInfo ? false 16 16 , ... }@attrs: 17 17 18 - with stdenv.lib; 18 + with lib; 19 19 20 20 let 21 21
+1 -1
pkgs/development/beam-modules/build-rebar3.nix
··· 14 14 , enableDebugInfo ? false 15 15 , ... }@attrs: 16 16 17 - with stdenv.lib; 17 + with lib; 18 18 19 19 let 20 20 debugInfoFlag = lib.optionalString (enableDebugInfo || erlang.debugInfo) "debug-info";
+11 -11
pkgs/development/beam-modules/default.nix
··· 1 - { stdenv, pkgs, erlang }: 1 + { lib, stdenv, pkgs, erlang }: 2 2 3 3 let 4 - inherit (stdenv.lib) makeExtensible; 4 + inherit (lib) makeExtensible; 5 5 6 - lib = pkgs.callPackage ./lib.nix {}; 6 + lib' = pkgs.callPackage ./lib.nix {}; 7 7 8 8 # FIXME: add support for overrideScope 9 - callPackageWithScope = scope: drv: args: stdenv.lib.callPackageWith scope drv args; 9 + callPackageWithScope = scope: drv: args: lib'.callPackageWith scope drv args; 10 10 mkScope = scope: pkgs // scope; 11 11 12 12 packages = self: ··· 38 38 # BEAM-based languages. 39 39 elixir = elixir_1_11; 40 40 41 - elixir_1_11 = lib.callElixir ../interpreters/elixir/1.11.nix { 41 + elixir_1_11 = lib'.callElixir ../interpreters/elixir/1.11.nix { 42 42 inherit erlang; 43 43 debugInfo = true; 44 44 }; 45 45 46 - elixir_1_10 = lib.callElixir ../interpreters/elixir/1.10.nix { 46 + elixir_1_10 = lib'.callElixir ../interpreters/elixir/1.10.nix { 47 47 inherit erlang; 48 48 debugInfo = true; 49 49 }; 50 50 51 - elixir_1_9 = lib.callElixir ../interpreters/elixir/1.9.nix { 51 + elixir_1_9 = lib'.callElixir ../interpreters/elixir/1.9.nix { 52 52 inherit erlang; 53 53 debugInfo = true; 54 54 }; 55 55 56 - elixir_1_8 = lib.callElixir ../interpreters/elixir/1.8.nix { 56 + elixir_1_8 = lib'.callElixir ../interpreters/elixir/1.8.nix { 57 57 inherit erlang; 58 58 debugInfo = true; 59 59 }; 60 60 61 - elixir_1_7 = lib.callElixir ../interpreters/elixir/1.7.nix { 61 + elixir_1_7 = lib'.callElixir ../interpreters/elixir/1.7.nix { 62 62 inherit erlang; 63 63 debugInfo = true; 64 64 }; ··· 67 67 # https://hexdocs.pm/elixir/compatibility-and-deprecations.html 68 68 69 69 lfe = lfe_1_3; 70 - lfe_1_2 = lib.callLFE ../interpreters/lfe/1.2.nix { inherit erlang buildRebar3 buildHex; }; 71 - lfe_1_3 = lib.callLFE ../interpreters/lfe/1.3.nix { inherit erlang buildRebar3 buildHex; }; 70 + lfe_1_2 = lib'.callLFE ../interpreters/lfe/1.2.nix { inherit erlang buildRebar3 buildHex; }; 71 + lfe_1_3 = lib'.callLFE ../interpreters/lfe/1.3.nix { inherit erlang buildRebar3 buildHex; }; 72 72 73 73 # Non hex packages. Examples how to build Rebar/Mix packages with and 74 74 # without helper functions buildRebar3 and buildMix.
+2 -2
pkgs/development/beam-modules/fetch-hex.nix
··· 1 - { stdenv, fetchurl }: 1 + { lib, stdenv, fetchurl }: 2 2 3 3 { pkg, version, sha256 4 4 , meta ? {} 5 5 }: 6 6 7 - with stdenv.lib; 7 + with lib; 8 8 9 9 stdenv.mkDerivation ({ 10 10 name = "hex-source-${pkg}-${version}";
+3 -3
pkgs/development/beam-modules/fetch-rebar-deps.nix
··· 1 - { stdenv, rebar3 }: 1 + { lib, stdenv, rebar3 }: 2 2 3 3 { name, version, sha256, src 4 4 , meta ? {} 5 5 }: 6 6 7 - with stdenv.lib; 7 + with lib; 8 8 9 9 stdenv.mkDerivation ({ 10 10 name = "rebar-deps-${name}-${version}"; ··· 28 28 outputHashMode = "recursive"; 29 29 outputHash = sha256; 30 30 31 - impureEnvVars = stdenv.lib.fetchers.proxyImpureEnvVars; 31 + impureEnvVars = lib.fetchers.proxyImpureEnvVars; 32 32 inherit meta; 33 33 })
+3 -3
pkgs/development/beam-modules/hex/default.nix
··· 45 45 46 46 meta = { 47 47 description = "Package manager for the Erlang VM https://hex.pm"; 48 - license = stdenv.lib.licenses.mit; 48 + license = lib.licenses.mit; 49 49 homepage = "https://github.com/hexpm/hex"; 50 - maintainers = with stdenv.lib.maintainers; [ ericbmerritt ]; 50 + maintainers = with lib.maintainers; [ ericbmerritt ]; 51 51 }; 52 52 53 53 passthru = { 54 54 env = shell self; 55 55 }; 56 56 }; 57 - in stdenv.lib.fix pkg 57 + in lib.fix pkg
+2 -2
pkgs/development/beam-modules/lib.nix
··· 1 - { pkgs, stdenv }: 1 + { pkgs, lib, stdenv }: 2 2 3 3 rec { 4 4 ··· 7 7 callPackageWith = autoArgs: fn: args: 8 8 let 9 9 f = if pkgs.lib.isFunction fn then fn else import fn; 10 - auto = builtins.intersectAttrs (stdenv.lib.functionArgs f) autoArgs; 10 + auto = builtins.intersectAttrs (lib.functionArgs f) autoArgs; 11 11 in f (auto // args); 12 12 13 13 callPackage = callPackageWith pkgs;
+1 -1
pkgs/development/beam-modules/pc/default.nix
··· 7 7 8 8 meta = { 9 9 description = "a rebar3 port compiler for native code"; 10 - license = stdenv.lib.licenses.mit; 10 + license = lib.licenses.mit; 11 11 homepage = "https://github.com/blt/port_compiler"; 12 12 }; 13 13 }
+3 -3
pkgs/development/beam-modules/pgsql/default.nix
··· 21 21 22 22 meta = { 23 23 description = "Erlang PostgreSQL Driver"; 24 - license = stdenv.lib.licenses.mit; 24 + license = lib.licenses.mit; 25 25 homepage = "https://github.com/semiocast/pgsql"; 26 - maintainers = with stdenv.lib.maintainers; [ ericbmerritt ]; 26 + maintainers = with lib.maintainers; [ ericbmerritt ]; 27 27 }; 28 28 29 29 passthru = { ··· 31 31 }; 32 32 33 33 }; 34 - in stdenv.lib.fix pkg 34 + in lib.fix pkg
+1 -1
pkgs/development/beam-modules/rebar3-release.nix
··· 15 15 , enableDebugInfo ? false 16 16 , ... }@attrs: 17 17 18 - with stdenv.lib; 18 + with lib; 19 19 20 20 let 21 21 shell = drv: stdenv.mkDerivation {
+3 -3
pkgs/development/beam-modules/webdriver/default.nix
··· 27 27 28 28 meta = { 29 29 description = "WebDriver implementation in Erlang"; 30 - license = stdenv.lib.licenses.mit; 30 + license = lib.licenses.mit; 31 31 homepage = "https://github.com/Quviq/webdrv"; 32 - maintainers = with stdenv.lib.maintainers; [ ericbmerritt ]; 32 + maintainers = with lib.maintainers; [ ericbmerritt ]; 33 33 }; 34 34 35 35 passthru = { ··· 37 37 }; 38 38 39 39 }; 40 - in stdenv.lib.fix pkg 40 + in lib.fix pkg
+3 -2
pkgs/development/compilers/elm/default.nix
··· 2 2 , haskell, nodejs 3 3 , fetchurl, fetchpatch, makeWrapper, writeScriptBin 4 4 # Rust dependecies 5 - , rustPlatform, openssl, pkg-config }: 5 + , rustPlatform, openssl, pkg-config, Security 6 + }: 6 7 let 7 8 fetchElmDeps = import ./fetchElmDeps.nix { inherit stdenv lib fetchurl; }; 8 9 ··· 96 97 97 98 elmRustPackages = { 98 99 elm-json = import ./packages/elm-json.nix { 99 - inherit rustPlatform fetchurl openssl stdenv pkg-config; 100 + inherit lib rustPlatform fetchurl openssl stdenv pkg-config Security; 100 101 } // { 101 102 meta = with lib; { 102 103 description = "Install, upgrade and uninstall Elm dependencies";
+2 -2
pkgs/development/compilers/elm/packages/elm-json.nix
··· 1 - { rustPlatform, fetchurl, openssl, stdenv, pkg-config }: 1 + { lib, rustPlatform, fetchurl, openssl, stdenv, pkg-config, Security }: 2 2 rustPlatform.buildRustPackage rec { 3 3 pname = "elm-json"; 4 4 version = "0.2.7"; ··· 12 12 13 13 nativeBuildInputs = [ pkg-config ]; 14 14 15 - buildInputs = [ openssl ]; 15 + buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security ]; 16 16 17 17 cargoSha256 = "0ylniriq073kpiykamkn9mxdaa6kyiza4pvf7gnfq2h1dvbqa6z7"; 18 18
+1 -1
pkgs/development/compilers/gcc/common/platform-flags.nix
··· 1 1 { lib, targetPlatform }: 2 2 3 3 let 4 - p = targetPlatform.platform.gcc or {} 4 + p = targetPlatform.gcc or {} 5 5 // targetPlatform.parsed.abi; 6 6 in lib.concatLists [ 7 7 (lib.optional (!targetPlatform.isx86_64 && p ? arch) "--with-arch=${p.arch}") # --with-arch= is unknown flag on x86_64
+1 -1
pkgs/development/compilers/julia/1.0.nix
··· 123 123 let 124 124 arch = lib.head (lib.splitString "-" stdenv.system); 125 125 march = { 126 - x86_64 = stdenv.hostPlatform.platform.gcc.arch or "x86-64"; 126 + x86_64 = stdenv.hostPlatform.gcc.arch or "x86-64"; 127 127 i686 = "pentium4"; 128 128 aarch64 = "armv8-a"; 129 129 }.${arch}
+1 -1
pkgs/development/compilers/julia/1.3.nix
··· 73 73 let 74 74 arch = head (splitString "-" stdenv.system); 75 75 march = { 76 - x86_64 = stdenv.hostPlatform.platform.gcc.arch or "x86-64"; 76 + x86_64 = stdenv.hostPlatform.gcc.arch or "x86-64"; 77 77 i686 = "pentium4"; 78 78 aarch64 = "armv8-a"; 79 79 }.${arch}
+1 -1
pkgs/development/compilers/julia/1.5.nix
··· 71 71 let 72 72 arch = head (splitString "-" stdenv.system); 73 73 march = { 74 - x86_64 = stdenv.hostPlatform.platform.gcc.arch or "x86-64"; 74 + x86_64 = stdenv.hostPlatform.gcc.arch or "x86-64"; 75 75 i686 = "pentium4"; 76 76 aarch64 = "armv8-a"; 77 77 }.${arch}
+1 -1
pkgs/development/compilers/llvm/11/llvm.nix
··· 122 122 "-DCAN_TARGET_i386=false" 123 123 ] ++ optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ 124 124 "-DCMAKE_CROSSCOMPILING=True" 125 - "-DLLVM_TABLEGEN=${buildPackages.llvm_10}/bin/llvm-tblgen" 125 + "-DLLVM_TABLEGEN=${buildPackages.llvm_11}/bin/llvm-tblgen" 126 126 ]; 127 127 128 128 postBuild = ''
+2 -2
pkgs/development/haskell-modules/configuration-nix.nix
··· 610 610 611 611 git-annex = with pkgs; 612 612 if (!stdenv.isLinux) then 613 - let path = stdenv.lib.makeBinPath [ coreutils ]; 613 + let path = lib.makeBinPath [ coreutils ]; 614 614 in overrideCabal (addBuildTool super.git-annex makeWrapper) (_drv: { 615 615 # This is an instance of https://github.com/NixOS/nix/pull/1085 616 616 # Fails with: 617 617 # gpg: can't connect to the agent: File name too long 618 - postPatch = stdenv.lib.optionalString stdenv.isDarwin '' 618 + postPatch = lib.optionalString stdenv.isDarwin '' 619 619 substituteInPlace Test.hs \ 620 620 --replace ', testCase "crypto" test_crypto' "" 621 621 '';
+20 -20
pkgs/development/haskell-modules/generic-builder.nix
··· 1 - { stdenv, buildPackages, buildHaskellPackages, ghc 1 + { lib, stdenv, buildPackages, buildHaskellPackages, ghc 2 2 , jailbreak-cabal, hscolour, cpphs, nodejs 3 3 , ghcWithHoogle, ghcWithPackages 4 4 }: ··· 22 22 , buildFlags ? [] 23 23 , haddockFlags ? [] 24 24 , description ? null 25 - , doCheck ? !isCross && stdenv.lib.versionOlder "7.4" ghc.version 25 + , doCheck ? !isCross && lib.versionOlder "7.4" ghc.version 26 26 , doBenchmark ? false 27 27 , doHoogle ? true 28 - , doHaddockQuickjump ? doHoogle && stdenv.lib.versionAtLeast ghc.version "8.6" 28 + , doHaddockQuickjump ? doHoogle && lib.versionAtLeast ghc.version "8.6" 29 29 , editedCabalFile ? null 30 30 # aarch64 outputs otherwise exceed 2GB limit 31 31 , enableLibraryProfiling ? !(ghc.isGhcjs or stdenv.targetPlatform.isAarch64 or false) ··· 36 36 , enableSharedLibraries ? !stdenv.hostPlatform.isStatic && (ghc.enableShared or false) 37 37 , enableDeadCodeElimination ? (!stdenv.isDarwin) # TODO: use -dead_strip for darwin 38 38 , enableStaticLibraries ? !(stdenv.hostPlatform.isWindows or stdenv.hostPlatform.isWasm) 39 - , enableHsc2hsViaAsm ? stdenv.hostPlatform.isWindows && stdenv.lib.versionAtLeast ghc.version "8.4" 39 + , enableHsc2hsViaAsm ? stdenv.hostPlatform.isWindows && lib.versionAtLeast ghc.version "8.4" 40 40 , extraLibraries ? [], librarySystemDepends ? [], executableSystemDepends ? [] 41 41 # On macOS, statically linking against system frameworks is not supported; 42 42 # see https://developer.apple.com/library/content/qa/qa1118/_index.html 43 43 # They must be propagated to the environment of any executable linking with the library 44 44 , libraryFrameworkDepends ? [], executableFrameworkDepends ? [] 45 45 , homepage ? "https://hackage.haskell.org/package/${pname}" 46 - , platforms ? with stdenv.lib.platforms; all # GHC can cross-compile 46 + , platforms ? with lib.platforms; all # GHC can cross-compile 47 47 , hydraPlatforms ? null 48 48 , hyperlinkSource ? true 49 49 , isExecutable ? false, isLibrary ? !isExecutable ··· 71 71 , shellHook ? "" 72 72 , coreSetup ? false # Use only core packages to build Setup.hs. 73 73 , useCpphs ? false 74 - , hardeningDisable ? stdenv.lib.optional (ghc.isHaLVM or false) "all" 74 + , hardeningDisable ? lib.optional (ghc.isHaLVM or false) "all" 75 75 , enableSeparateBinOutput ? false 76 76 , enableSeparateDataOutput ? false 77 77 , enableSeparateDocOutput ? doHaddock ··· 95 95 96 96 let 97 97 98 - inherit (stdenv.lib) optional optionals optionalString versionOlder versionAtLeast 98 + inherit (lib) optional optionals optionalString versionOlder versionAtLeast 99 99 concatStringsSep enableFeature optionalAttrs; 100 100 101 101 isGhcjs = ghc.isGhcjs or false; ··· 182 182 parallelBuildingFlags = "-j$NIX_BUILD_CORES" + optionalString stdenv.isLinux " +RTS -A64M -RTS"; 183 183 184 184 crossCabalFlagsString = 185 - stdenv.lib.optionalString isCross (" " + stdenv.lib.concatStringsSep " " crossCabalFlags); 185 + lib.optionalString isCross (" " + lib.concatStringsSep " " crossCabalFlags); 186 186 187 187 buildFlagsString = optionalString (buildFlags != []) (" " + concatStringsSep " " buildFlags); 188 188 ··· 213 213 (enableFeature doBenchmark "benchmarks") 214 214 "--enable-library-vanilla" # TODO: Should this be configurable? 215 215 (enableFeature enableLibraryForGhci "library-for-ghci") 216 - ] ++ optionals (enableDeadCodeElimination && (stdenv.lib.versionOlder "8.0.1" ghc.version)) [ 216 + ] ++ optionals (enableDeadCodeElimination && (lib.versionOlder "8.0.1" ghc.version)) [ 217 217 "--ghc-option=-split-sections" 218 218 ] ++ optionals dontStrip [ 219 219 "--disable-library-stripping" ··· 283 283 continue 284 284 fi 285 285 ''; 286 - in stdenv.lib.fix (drv: 286 + in lib.fix (drv: 287 287 288 288 assert allPkgconfigDepends != [] -> pkg-config != null; 289 289 ··· 423 423 424 424 echo configureFlags: $configureFlags 425 425 ${setupCommand} configure $configureFlags 2>&1 | ${coreutils}/bin/tee "$NIX_BUILD_TOP/cabal-configure.log" 426 - ${stdenv.lib.optionalString (!allowInconsistentDependencies) '' 426 + ${lib.optionalString (!allowInconsistentDependencies) '' 427 427 if ${gnugrep}/bin/egrep -q -z 'Warning:.*depends on multiple versions' "$NIX_BUILD_TOP/cabal-configure.log"; then 428 428 echo >&2 "*** abort because of serious configure-time warning from Cabal" 429 429 exit 1 ··· 455 455 ${optionalString doHoogle "--hoogle"} \ 456 456 ${optionalString doHaddockQuickjump "--quickjump"} \ 457 457 ${optionalString (isLibrary && hyperlinkSource) "--hyperlink-source"} \ 458 - ${stdenv.lib.concatStringsSep " " haddockFlags} 458 + ${lib.concatStringsSep " " haddockFlags} 459 459 ''} 460 460 runHook postHaddock 461 461 ''; ··· 492 492 done 493 493 ''} 494 494 ${optionalString doCoverage "mkdir -p $out/share && cp -r dist/hpc $out/share"} 495 - ${optionalString (enableSharedExecutables && isExecutable && !isGhcjs && stdenv.isDarwin && stdenv.lib.versionOlder ghc.version "7.10") '' 495 + ${optionalString (enableSharedExecutables && isExecutable && !isGhcjs && stdenv.isDarwin && lib.versionOlder ghc.version "7.10") '' 496 496 for exe in "${binDir}/"* ; do 497 497 install_name_tool -add_rpath "$out/lib/ghc-${ghc.version}/${pname}-${version}" "$exe" 498 498 done ··· 535 535 pkg-configDepends 536 536 setupHaskellDepends 537 537 ; 538 - } // stdenv.lib.optionalAttrs doCheck { 538 + } // lib.optionalAttrs doCheck { 539 539 inherit 540 540 testDepends 541 541 testFrameworkDepends ··· 544 544 testSystemDepends 545 545 testToolDepends 546 546 ; 547 - } // stdenv.lib.optionalAttrs doBenchmark { 547 + } // lib.optionalAttrs doBenchmark { 548 548 inherit 549 549 benchmarkDepends 550 550 benchmarkFrameworkDepends ··· 561 561 inherit propagatedBuildInputs otherBuildInputs allPkgconfigDepends; 562 562 haskellBuildInputs = isHaskellPartition.right; 563 563 systemBuildInputs = isHaskellPartition.wrong; 564 - isHaskellPartition = stdenv.lib.partition 564 + isHaskellPartition = lib.partition 565 565 isHaskellPkg 566 566 (propagatedBuildInputs ++ otherBuildInputs ++ depsBuildBuild ++ nativeBuildInputs); 567 567 }; ··· 608 608 ghcEnv = withPackages (_: 609 609 otherBuildInputsHaskell ++ 610 610 propagatedBuildInputs ++ 611 - stdenv.lib.optionals (!isCross) setupHaskellDepends); 611 + lib.optionals (!isCross) setupHaskellDepends); 612 612 613 - ghcCommandCaps = stdenv.lib.toUpper ghcCommand'; 613 + ghcCommandCaps = lib.toUpper ghcCommand'; 614 614 in stdenv.mkDerivation ({ 615 615 inherit name shellHook; 616 616 617 - depsBuildBuild = stdenv.lib.optional isCross ghcEnvForBuild; 617 + depsBuildBuild = lib.optional isCross ghcEnvForBuild; 618 618 nativeBuildInputs = 619 619 [ ghcEnv ] ++ optional (allPkgconfigDepends != []) pkg-config ++ 620 620 collectedToolDepends; ··· 623 623 phases = ["installPhase"]; 624 624 installPhase = "echo $nativeBuildInputs $buildInputs > $out"; 625 625 LANG = "en_US.UTF-8"; 626 - LOCALE_ARCHIVE = stdenv.lib.optionalString (stdenv.hostPlatform.libc == "glibc") "${buildPackages.glibcLocales}/lib/locale/locale-archive"; 626 + LOCALE_ARCHIVE = lib.optionalString (stdenv.hostPlatform.libc == "glibc") "${buildPackages.glibcLocales}/lib/locale/locale-archive"; 627 627 "NIX_${ghcCommandCaps}" = "${ghcEnv}/bin/${ghcCommand}"; 628 628 "NIX_${ghcCommandCaps}PKG" = "${ghcEnv}/bin/${ghcCommand}-pkg"; 629 629 # TODO: is this still valid?
+2 -2
pkgs/development/haskell-modules/hoogle.nix
··· 120 120 meta = { 121 121 description = "A local Hoogle database"; 122 122 platforms = ghc.meta.platforms; 123 - hydraPlatforms = with stdenv.lib.platforms; none; 124 - maintainers = with stdenv.lib.maintainers; [ ttuegel ]; 123 + hydraPlatforms = with lib.platforms; none; 124 + maintainers = with lib.maintainers; [ ttuegel ]; 125 125 }; 126 126 }
+4 -4
pkgs/development/haskell-modules/make-package-set.nix
··· 41 41 let 42 42 inherit (stdenv) buildPlatform hostPlatform; 43 43 44 - inherit (stdenv.lib) fix' extends makeOverridable; 44 + inherit (lib) fix' extends makeOverridable; 45 45 inherit (haskellLib) overrideCabal; 46 46 47 47 mkDerivationImpl = pkgs.callPackage ./generic-builder.nix { ··· 84 84 # lost on `.override`) but determine the auto-args based on `drv` (the problem here 85 85 # is that nix has no way to "passthrough" args while preserving the reflection 86 86 # info that callPackage uses to determine the arguments). 87 - drv = if stdenv.lib.isFunction fn then fn else import fn; 88 - auto = builtins.intersectAttrs (stdenv.lib.functionArgs drv) scope; 87 + drv = if lib.isFunction fn then fn else import fn; 88 + auto = builtins.intersectAttrs (lib.functionArgs drv) scope; 89 89 90 90 # this wraps the `drv` function to add a `overrideScope` function to the result. 91 91 drvScope = allArgs: drv allArgs // { ··· 98 98 # nothing. 99 99 in callPackageWithScope newScope drv manualArgs; 100 100 }; 101 - in stdenv.lib.makeOverridable drvScope (auto // manualArgs); 101 + in lib.makeOverridable drvScope (auto // manualArgs); 102 102 103 103 mkScope = scope: let 104 104 ps = pkgs.__splicedPackages;
+5 -5
pkgs/development/interpreters/acl2/default.nix
··· 1 - { stdenv, callPackage, fetchFromGitHub, writeShellScriptBin, substituteAll 1 + { lib, stdenv, callPackage, fetchFromGitHub, writeShellScriptBin, substituteAll 2 2 , sbcl, bash, which, perl, nettools 3 3 , openssl, glucose, minisat, abc-verifier, z3, python2 4 4 , certifyBooks ? true ··· 39 39 buildInputs = [ 40 40 # ACL2 itself only needs a Common Lisp compiler/interpreter: 41 41 sbcl 42 - ] ++ stdenv.lib.optionals certifyBooks [ 42 + ] ++ lib.optionals certifyBooks [ 43 43 # To build community books, we need Perl and a couple of utilities: 44 44 which perl nettools 45 45 # Some of the books require one or more of these external tools: ··· 55 55 preConfigure = '' 56 56 # When certifying books, ACL2 doesn't like $HOME not existing. 57 57 export HOME=$(pwd)/fake-home 58 - '' + stdenv.lib.optionalString certifyBooks '' 58 + '' + lib.optionalString certifyBooks '' 59 59 # Some books also care about $USER being nonempty. 60 60 export USER=nobody 61 61 ''; ··· 79 79 installPhase = '' 80 80 mkdir -p $out/bin 81 81 ln -s $out/share/${pname}/saved_acl2 $out/bin/${pname} 82 - '' + stdenv.lib.optionalString certifyBooks '' 82 + '' + lib.optionalString certifyBooks '' 83 83 ln -s $out/share/${pname}/books/build/cert.pl $out/bin/${pname}-cert 84 84 ln -s $out/share/${pname}/books/build/clean.pl $out/bin/${pname}-clean 85 85 ''; ··· 100 100 rm -rf $out/share/${pname}/books 101 101 ''; 102 102 103 - meta = with stdenv.lib; { 103 + meta = with lib; { 104 104 description = "An interpreter and a prover for a Lisp dialect"; 105 105 longDescription = '' 106 106 ACL2 is a logic and programming language in which you can model computer
+2 -2
pkgs/development/interpreters/acl2/libipasirglucose4/default.nix
··· 1 - { stdenv, fetchurl, zlib, unzip }: 1 + { lib, stdenv, fetchurl, zlib, unzip }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "libipasirglucose4"; ··· 27 27 install -D libipasirglucose4.so $out/lib/libipasirglucose4.so 28 28 ''; 29 29 30 - meta = with stdenv.lib; { 30 + meta = with lib; { 31 31 description = "Shared library providing IPASIR interface to the Glucose SAT solver"; 32 32 license = licenses.mit; 33 33 platforms = platforms.unix;
+2 -2
pkgs/development/interpreters/alda/default.nix
··· 1 - { stdenv, fetchurl, jre }: 1 + { lib, stdenv, fetchurl, jre }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "alda"; ··· 16 16 sed -i -e '1 s!java!${jre}/bin/java!' $out/bin/alda 17 17 ''; 18 18 19 - meta = with stdenv.lib; { 19 + meta = with lib; { 20 20 description = "A music programming language for musicians"; 21 21 homepage = "https://alda.io"; 22 22 license = licenses.epl10;
+4 -4
pkgs/development/interpreters/angelscript/2.22.nix
··· 1 - {stdenv, fetchurl, unzip}: 1 + {lib, stdenv, fetchurl, unzip}: 2 2 let 3 3 s = # Generated upstream information 4 4 rec { ··· 35 35 meta = { 36 36 inherit (s) version; 37 37 description = "Light-weight scripting library"; 38 - license = stdenv.lib.licenses.zlib ; 39 - maintainers = [stdenv.lib.maintainers.raskin]; 40 - platforms = stdenv.lib.platforms.linux; 38 + license = lib.licenses.zlib ; 39 + maintainers = [lib.maintainers.raskin]; 40 + platforms = lib.platforms.linux; 41 41 badPlatforms = [ "aarch64-linux" ]; 42 42 downloadPage = "http://www.angelcode.com/angelscript/downloads.html"; 43 43 homepage="http://www.angelcode.com/angelscript/";
+4 -4
pkgs/development/interpreters/angelscript/default.nix
··· 1 - {stdenv, fetchurl, unzip}: 1 + {lib, stdenv, fetchurl, unzip}: 2 2 let 3 3 s = # Generated upstream information 4 4 rec { ··· 29 29 meta = { 30 30 inherit (s) version; 31 31 description = "Light-weight scripting library"; 32 - license = stdenv.lib.licenses.zlib ; 33 - maintainers = [stdenv.lib.maintainers.raskin]; 34 - platforms = stdenv.lib.platforms.linux; 32 + license = lib.licenses.zlib ; 33 + maintainers = [lib.maintainers.raskin]; 34 + platforms = lib.platforms.linux; 35 35 downloadPage = "http://www.angelcode.com/angelscript/downloads.html"; 36 36 homepage="http://www.angelcode.com/angelscript/"; 37 37 };
+2 -2
pkgs/development/interpreters/ceptre/default.nix
··· 1 - { stdenv, fetchgit, mlton }: 1 + { lib, stdenv, fetchgit, mlton }: 2 2 3 3 stdenv.mkDerivation { 4 4 name = "ceptre-2016-11-27"; ··· 16 16 cp ceptre $out/bin 17 17 ''; 18 18 19 - meta = with stdenv.lib; { 19 + meta = with lib; { 20 20 description = "A linear logic programming language for modeling generative interactive systems"; 21 21 homepage = "https://github.com/chrisamaphone/interactive-lp"; 22 22 maintainers = with maintainers; [ pSub ];
+4 -4
pkgs/development/interpreters/chibi/default.nix
··· 1 - { stdenv, fetchFromGitHub, makeWrapper }: 1 + { lib, stdenv, fetchFromGitHub, makeWrapper }: 2 2 let 3 3 version = "0.9.1"; 4 4 name = "chibi-scheme-${version}"; ··· 9 9 meta = { 10 10 homepage = "https://github.com/ashinn/chibi-scheme"; 11 11 description = "Small Footprint Scheme for use as a C Extension Language"; 12 - platforms = stdenv.lib.platforms.all; 13 - license = stdenv.lib.licenses.bsd3; 14 - maintainers = [ stdenv.lib.maintainers.DerGuteMoritz ]; 12 + platforms = lib.platforms.all; 13 + license = lib.licenses.bsd3; 14 + maintainers = [ lib.maintainers.DerGuteMoritz ]; 15 15 }; 16 16 17 17 src = fetchFromGitHub {
+3 -3
pkgs/development/interpreters/cling/default.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 , python 3 3 , libffi 4 4 , git ··· 50 50 "-DCLING_INCLUDE_TESTS=ON" 51 51 ]; 52 52 53 - meta = with stdenv.lib; { 53 + meta = with lib; { 54 54 description = "The Interactive C++ Interpreter"; 55 55 homepage = "https://root.cern/cling/"; 56 56 license = with licenses; [ lgpl21 ncsa ]; ··· 73 73 flags = [ 74 74 "-nostdinc" 75 75 "-nostdinc++" 76 - "-isystem" "${stdenv.lib.getDev stdenv.cc.libc}/include" 76 + "-isystem" "${lib.getDev stdenv.cc.libc}/include" 77 77 "-I" "${unwrapped}/include" 78 78 "-I" "${unwrapped}/lib/clang/5.0.2/include" 79 79 ];
+2 -2
pkgs/development/interpreters/clips/default.nix
··· 1 - { stdenv, fetchurl }: 1 + { lib, stdenv, fetchurl }: 2 2 3 3 stdenv.mkDerivation { 4 4 version = "6.30"; ··· 13 13 installPhase = '' 14 14 install -D -t $out/bin core/clips 15 15 ''; 16 - meta = with stdenv.lib; { 16 + meta = with lib; { 17 17 description = "A Tool for Building Expert Systems"; 18 18 homepage = "http://www.clipsrules.net/"; 19 19 longDescription = ''
+23 -23
pkgs/development/interpreters/clisp/default.nix
··· 3 3 # - base (default): contains readline and i18n, regexp and syscalls modules 4 4 # by default 5 5 # - full: contains base plus modules in withModules 6 - { stdenv, fetchurl, libsigsegv, gettext, ncurses, readline, libX11 6 + { lib, stdenv, fetchurl, libsigsegv, gettext, ncurses, readline, libX11 7 7 , libXau, libXt, pcre, zlib, libXpm, xorgproto, libXext 8 8 , libffi 9 9 , libffcall ··· 16 16 "pcre" 17 17 "rawsock" 18 18 ] 19 - ++ stdenv.lib.optionals stdenv.isLinux [ "bindings/glibc" "zlib" "wildcard" ] 20 - ++ stdenv.lib.optional x11Support "clx/new-clx" 19 + ++ lib.optionals stdenv.isLinux [ "bindings/glibc" "zlib" "wildcard" ] 20 + ++ lib.optional x11Support "clx/new-clx" 21 21 }: 22 22 23 23 assert x11Support -> (libX11 != null && libXau != null && libXt != null ··· 37 37 ffcallAvailable = stdenv.isLinux && (libffcall != null); 38 38 39 39 buildInputs = [libsigsegv] 40 - ++ stdenv.lib.optional (gettext != null) gettext 41 - ++ stdenv.lib.optional (ncurses != null) ncurses 42 - ++ stdenv.lib.optional (pcre != null) pcre 43 - ++ stdenv.lib.optional (zlib != null) zlib 44 - ++ stdenv.lib.optional (readline != null) readline 45 - ++ stdenv.lib.optional (ffcallAvailable && (libffi != null)) libffi 46 - ++ stdenv.lib.optional ffcallAvailable libffcall 47 - ++ stdenv.lib.optionals x11Support [ 40 + ++ lib.optional (gettext != null) gettext 41 + ++ lib.optional (ncurses != null) ncurses 42 + ++ lib.optional (pcre != null) pcre 43 + ++ lib.optional (zlib != null) zlib 44 + ++ lib.optional (readline != null) readline 45 + ++ lib.optional (ffcallAvailable && (libffi != null)) libffi 46 + ++ lib.optional ffcallAvailable libffcall 47 + ++ lib.optionals x11Support [ 48 48 libX11 libXau libXt libXpm xorgproto libXext 49 49 ]; 50 50 ··· 68 68 ''; 69 69 70 70 configureFlags = [ "builddir" ] 71 - ++ stdenv.lib.optional (!dllSupport) "--without-dynamic-modules" 72 - ++ stdenv.lib.optional (readline != null) "--with-readline" 71 + ++ lib.optional (!dllSupport) "--without-dynamic-modules" 72 + ++ lib.optional (readline != null) "--with-readline" 73 73 # --with-dynamic-ffi can only exist with --with-ffcall - foreign.d does not compile otherwise 74 - ++ stdenv.lib.optional (ffcallAvailable && (libffi != null)) "--with-dynamic-ffi" 75 - ++ stdenv.lib.optional ffcallAvailable "--with-ffcall" 76 - ++ stdenv.lib.optional (!ffcallAvailable) "--without-ffcall" 74 + ++ lib.optional (ffcallAvailable && (libffi != null)) "--with-dynamic-ffi" 75 + ++ lib.optional ffcallAvailable "--with-ffcall" 76 + ++ lib.optional (!ffcallAvailable) "--without-ffcall" 77 77 ++ builtins.map (x: "--with-module=" + x) withModules 78 - ++ stdenv.lib.optional threadSupport "--with-threads=POSIX_THREADS"; 78 + ++ lib.optional threadSupport "--with-threads=POSIX_THREADS"; 79 79 80 80 preBuild = '' 81 81 sed -e '/avcall.h/a\#include "config.h"' -i src/foreign.d ··· 83 83 ''; 84 84 85 85 postInstall = 86 - stdenv.lib.optionalString (withModules != []) 86 + lib.optionalString (withModules != []) 87 87 (''./clisp-link add "$out"/lib/clisp*/base "$(dirname "$out"/lib/clisp*/base)"/full'' 88 - + stdenv.lib.concatMapStrings (x: " " + x) withModules); 88 + + lib.concatMapStrings (x: " " + x) withModules); 89 89 90 - NIX_CFLAGS_COMPILE = "-O0 ${stdenv.lib.optionalString (!stdenv.is64bit) "-falign-functions=4"}"; 90 + NIX_CFLAGS_COMPILE = "-O0 ${lib.optionalString (!stdenv.is64bit) "-falign-functions=4"}"; 91 91 92 92 # TODO : make mod-check fails 93 93 doCheck = false; ··· 95 95 meta = { 96 96 description = "ANSI Common Lisp Implementation"; 97 97 homepage = "http://clisp.cons.org"; 98 - maintainers = with stdenv.lib.maintainers; [raskin tohl]; 99 - platforms = stdenv.lib.platforms.unix; 98 + maintainers = with lib.maintainers; [raskin tohl]; 99 + platforms = lib.platforms.unix; 100 100 # problems on Darwin: https://github.com/NixOS/nixpkgs/issues/20062 101 101 broken = stdenv.hostPlatform.isDarwin || stdenv.hostPlatform.isAarch64; 102 - license = stdenv.lib.licenses.gpl2; 102 + license = lib.licenses.gpl2; 103 103 }; 104 104 }
+22 -22
pkgs/development/interpreters/clisp/hg.nix
··· 3 3 # - base (default): contains readline and i18n, regexp and syscalls modules 4 4 # by default 5 5 # - full: contains base plus modules in withModules 6 - { stdenv, fetchhg, libsigsegv, gettext, ncurses, readline, libX11 6 + { lib, stdenv, fetchhg, libsigsegv, gettext, ncurses, readline, libX11 7 7 , libXau, libXt, pcre, zlib, libXpm, xorgproto, libXext 8 8 , libffi, libffcall, automake 9 9 , coreutils ··· 15 15 "pcre" 16 16 "rawsock" 17 17 ] 18 - ++ stdenv.lib.optionals stdenv.isLinux [ "bindings/glibc" "zlib" ] 19 - ++ stdenv.lib.optional x11Support "clx/new-clx" 18 + ++ lib.optionals stdenv.isLinux [ "bindings/glibc" "zlib" ] 19 + ++ lib.optional x11Support "clx/new-clx" 20 20 }: 21 21 22 22 assert x11Support -> (libX11 != null && libXau != null && libXt != null ··· 38 38 39 39 nativeBuildInputs = [ automake ]; # sometimes fails otherwise 40 40 buildInputs = [libsigsegv] 41 - ++ stdenv.lib.optional (gettext != null) gettext 42 - ++ stdenv.lib.optional (ncurses != null) ncurses 43 - ++ stdenv.lib.optional (pcre != null) pcre 44 - ++ stdenv.lib.optional (zlib != null) zlib 45 - ++ stdenv.lib.optional (readline != null) readline 46 - ++ stdenv.lib.optional (ffcallAvailable && (libffi != null)) libffi 47 - ++ stdenv.lib.optional ffcallAvailable libffcall 48 - ++ stdenv.lib.optionals x11Support [ 41 + ++ lib.optional (gettext != null) gettext 42 + ++ lib.optional (ncurses != null) ncurses 43 + ++ lib.optional (pcre != null) pcre 44 + ++ lib.optional (zlib != null) zlib 45 + ++ lib.optional (readline != null) readline 46 + ++ lib.optional (ffcallAvailable && (libffi != null)) libffi 47 + ++ lib.optional ffcallAvailable libffcall 48 + ++ lib.optionals x11Support [ 49 49 libX11 libXau libXt libXpm xorgproto libXext 50 50 ]; 51 51 ··· 63 63 ''; 64 64 65 65 configureFlags = [ "builddir" ] 66 - ++ stdenv.lib.optional (!dllSupport) "--without-dynamic-modules" 67 - ++ stdenv.lib.optional (readline != null) "--with-readline" 66 + ++ lib.optional (!dllSupport) "--without-dynamic-modules" 67 + ++ lib.optional (readline != null) "--with-readline" 68 68 # --with-dynamic-ffi can only exist with --with-ffcall - foreign.d does not compile otherwise 69 - ++ stdenv.lib.optional (ffcallAvailable && (libffi != null)) "--with-dynamic-ffi" 70 - ++ stdenv.lib.optional ffcallAvailable "--with-ffcall" 71 - ++ stdenv.lib.optional (!ffcallAvailable) "--without-ffcall" 69 + ++ lib.optional (ffcallAvailable && (libffi != null)) "--with-dynamic-ffi" 70 + ++ lib.optional ffcallAvailable "--with-ffcall" 71 + ++ lib.optional (!ffcallAvailable) "--without-ffcall" 72 72 ++ builtins.map (x: " --with-module=" + x) withModules 73 - ++ stdenv.lib.optional threadSupport "--with-threads=POSIX_THREADS"; 73 + ++ lib.optional threadSupport "--with-threads=POSIX_THREADS"; 74 74 75 75 preBuild = '' 76 76 sed -e '/avcall.h/a\#include "config.h"' -i src/foreign.d ··· 79 79 ''; 80 80 81 81 postInstall = 82 - stdenv.lib.optionalString (withModules != []) 82 + lib.optionalString (withModules != []) 83 83 (''./clisp-link add "$out"/lib/clisp*/base "$(dirname "$out"/lib/clisp*/base)"/full'' 84 - + stdenv.lib.concatMapStrings (x: " " + x) withModules); 84 + + lib.concatMapStrings (x: " " + x) withModules); 85 85 86 - NIX_CFLAGS_COMPILE = "-O0 ${stdenv.lib.optionalString (!stdenv.is64bit) "-falign-functions=4"}"; 86 + NIX_CFLAGS_COMPILE = "-O0 ${lib.optionalString (!stdenv.is64bit) "-falign-functions=4"}"; 87 87 88 88 # TODO : make mod-check fails 89 89 doCheck = false; ··· 91 91 meta = { 92 92 description = "ANSI Common Lisp Implementation"; 93 93 homepage = "http://clisp.cons.org"; 94 - maintainers = with stdenv.lib.maintainers; [raskin tohl]; 94 + maintainers = with lib.maintainers; [raskin tohl]; 95 95 # problems on Darwin: https://github.com/NixOS/nixpkgs/issues/20062 96 - platforms = stdenv.lib.platforms.linux; 96 + platforms = lib.platforms.linux; 97 97 }; 98 98 }
+3 -3
pkgs/development/interpreters/clojure/babashka.nix
··· 1 - { stdenv, fetchurl, graalvm11-ce, glibcLocales }: 1 + { lib, stdenv, fetchurl, graalvm11-ce, glibcLocales }: 2 2 3 - with stdenv.lib; 3 + with lib; 4 4 stdenv.mkDerivation rec { 5 5 pname = "babashka"; 6 6 version = "0.2.3"; ··· 50 50 cp bb $out/bin/bb 51 51 ''; 52 52 53 - meta = with stdenv.lib; { 53 + meta = with lib; { 54 54 description = "A Clojure babushka for the grey areas of Bash"; 55 55 longDescription = '' 56 56 The main idea behind babashka is to leverage Clojure in places where you
+2 -2
pkgs/development/interpreters/clojure/clooj.nix
··· 1 - { stdenv, fetchurl, jre, makeWrapper }: 1 + { lib, stdenv, fetchurl, jre, makeWrapper }: 2 2 3 3 let version = "0.4.4"; in 4 4 ··· 25 25 meta = { 26 26 description = "A lightweight IDE for Clojure"; 27 27 homepage = "https://github.com/arthuredelstein/clooj"; 28 - license = stdenv.lib.licenses.bsd3; 28 + license = lib.licenses.bsd3; 29 29 }; 30 30 }
+3 -3
pkgs/development/interpreters/clojure/default.nix
··· 1 - { stdenv, fetchurl, installShellFiles, jdk, rlwrap, makeWrapper }: 1 + { lib, stdenv, fetchurl, installShellFiles, jdk, rlwrap, makeWrapper }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "clojure"; ··· 17 17 # See https://github.com/clojure/brew-install/blob/1.10.1/src/main/resources/clojure/install/linux-install.sh 18 18 installPhase = 19 19 let 20 - binPath = stdenv.lib.makeBinPath [ rlwrap jdk ]; 20 + binPath = lib.makeBinPath [ rlwrap jdk ]; 21 21 in 22 22 '' 23 23 clojure_lib_dir=$out ··· 47 47 -Sverbose \ 48 48 -Scp $out/libexec/clojure-tools-${version}.jar 49 49 ''; 50 - meta = with stdenv.lib; { 50 + meta = with lib; { 51 51 description = "A Lisp dialect for the JVM"; 52 52 homepage = "https://clojure.org/"; 53 53 license = licenses.epl10;
+3 -3
pkgs/development/interpreters/clojurescript/lumo/default.nix
··· 280 280 making it the fastest Clojure REPL in existence. 281 281 ''; 282 282 homepage = "https://github.com/anmonteiro/lumo"; 283 - license = stdenv.lib.licenses.epl10; 284 - maintainers = [ stdenv.lib.maintainers.hlolli ]; 285 - platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin; 283 + license = lib.licenses.epl10; 284 + maintainers = [ lib.maintainers.hlolli ]; 285 + platforms = lib.platforms.linux ++ lib.platforms.darwin; 286 286 }; 287 287 }
+4 -4
pkgs/development/interpreters/cyclone/default.nix
··· 1 - { stdenv, fetchFromGitHub, libck, darwin }: 1 + { lib, stdenv, fetchFromGitHub, libck, darwin }: 2 2 3 3 let 4 4 version = "0.21"; ··· 15 15 16 16 enableParallelBuilding = true; 17 17 18 - nativeBuildInputs = stdenv.lib.optionals stdenv.isDarwin [ darwin.cctools ]; 18 + nativeBuildInputs = lib.optionals stdenv.isDarwin [ darwin.cctools ]; 19 19 20 20 buildInputs = [ libck ]; 21 21 ··· 36 36 enableParallelBuilding = true; 37 37 38 38 nativeBuildInputs = [ bootstrap ] 39 - ++ stdenv.lib.optionals stdenv.isDarwin [ darwin.cctools ]; 39 + ++ lib.optionals stdenv.isDarwin [ darwin.cctools ]; 40 40 41 41 buildInputs = [ libck ]; 42 42 43 43 makeFlags = [ "PREFIX=${placeholder "out"}" ]; 44 44 45 - meta = with stdenv.lib; { 45 + meta = with lib; { 46 46 homepage = "https://justinethier.github.io/cyclone/"; 47 47 description = "A brand-new compiler that allows practical application development using R7RS Scheme"; 48 48 license = licenses.mit;
+2 -2
pkgs/development/interpreters/dart/default.nix
··· 1 - { stdenv, fetchurl, unzip, version ? "2.7.2" }: 1 + { lib, stdenv, fetchurl, unzip, version ? "2.7.2" }: 2 2 3 3 let 4 4 ··· 80 80 81 81 in 82 82 83 - with stdenv.lib; 83 + with lib; 84 84 85 85 stdenv.mkDerivation { 86 86
+2 -2
pkgs/development/interpreters/duktape/default.nix
··· 1 - { stdenv, fetchurl }: 1 + { lib, stdenv, fetchurl }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "duktape"; ··· 21 21 ''; 22 22 enableParallelBuilding = true; 23 23 24 - meta = with stdenv.lib; { 24 + meta = with lib; { 25 25 description = "An embeddable Javascript engine, with a focus on portability and compact footprint"; 26 26 homepage = "https://duktape.org/"; 27 27 downloadPage = "https://duktape.org/download.html";
+2 -2
pkgs/development/interpreters/eff/default.nix
··· 1 - { stdenv, fetchFromGitHub, which, ocamlPackages }: 1 + { lib, stdenv, fetchFromGitHub, which, ocamlPackages }: 2 2 3 3 let version = "5.0"; in 4 4 ··· 25 25 doCheck = true; 26 26 checkTarget = "test"; 27 27 28 - meta = with stdenv.lib; { 28 + meta = with lib; { 29 29 homepage = "https://www.eff-lang.org"; 30 30 description = "A functional programming language based on algebraic effects and their handlers"; 31 31 longDescription = ''
+4 -4
pkgs/development/interpreters/elixir/generic-builder.nix
··· 1 - { pkgs, stdenv, fetchFromGitHub, erlang, makeWrapper, 1 + { pkgs, lib, stdenv, fetchFromGitHub, erlang, makeWrapper, 2 2 coreutils, curl, bash, debugInfo ? false }: 3 3 4 4 { baseName ? "elixir" ··· 10 10 } @ args: 11 11 12 12 let 13 - inherit (stdenv.lib) getVersion versionAtLeast optional; 13 + inherit (lib) getVersion versionAtLeast optional; 14 14 15 15 in 16 16 assert versionAtLeast (getVersion erlang) minimumOTPVersion; ··· 46 46 b=$(basename $f) 47 47 if [ "$b" = mix ]; then continue; fi 48 48 wrapProgram $f \ 49 - --prefix PATH ":" "${stdenv.lib.makeBinPath [ erlang coreutils curl bash ]}" \ 49 + --prefix PATH ":" "${lib.makeBinPath [ erlang coreutils curl bash ]}" \ 50 50 --set CURL_CA_BUNDLE /etc/ssl/certs/ca-certificates.crt 51 51 done 52 52 ··· 55 55 ''; 56 56 57 57 pos = builtins.unsafeGetAttrPos "sha256" args; 58 - meta = with stdenv.lib; { 58 + meta = with lib; { 59 59 homepage = "https://elixir-lang.org/"; 60 60 description = "A functional, meta-programming aware language built on top of the Erlang VM"; 61 61
+4 -4
pkgs/development/interpreters/erlang/generic-builder.nix
··· 1 - { pkgs, stdenv, fetchFromGitHub, makeWrapper, gawk, gnum4, gnused 1 + { pkgs, lib, stdenv, fetchFromGitHub, makeWrapper, gawk, gnum4, gnused 2 2 , libxml2, libxslt, ncurses, openssl, perl, autoconf 3 3 # TODO: use jdk https://github.com/NixOS/nixpkgs/pull/89731 4 4 , openjdk8 ? null # javacSupport ··· 41 41 assert javacSupport -> openjdk8 != null; 42 42 43 43 let 44 - inherit (stdenv.lib) optional optionals optionalAttrs optionalString; 44 + inherit (lib) optional optionals optionalAttrs optionalString; 45 45 wxPackages2 = if stdenv.isDarwin then [ wxmac ] else wxPackages; 46 46 47 47 in stdenv.mkDerivation ({ ··· 106 106 # Some erlang bin/ scripts run sed and awk 107 107 postFixup = '' 108 108 wrapProgram $out/lib/erlang/bin/erl --prefix PATH ":" "${gnused}/bin/" 109 - wrapProgram $out/lib/erlang/bin/start_erl --prefix PATH ":" "${stdenv.lib.makeBinPath [ gnused gawk ]}" 109 + wrapProgram $out/lib/erlang/bin/start_erl --prefix PATH ":" "${lib.makeBinPath [ gnused gawk ]}" 110 110 ''; 111 111 112 112 setupHook = ./setup-hook.sh; 113 113 114 - meta = with stdenv.lib; ({ 114 + meta = with lib; ({ 115 115 homepage = "https://www.erlang.org/"; 116 116 downloadPage = "https://www.erlang.org/download.html"; 117 117 description = "Programming language used for massively scalable soft real-time systems";
+4 -4
pkgs/development/interpreters/evcxr/default.nix
··· 1 - { cargo, fetchFromGitHub, makeWrapper, pkg-config, rustPlatform, stdenv, gcc, Security, cmake }: 1 + { cargo, fetchFromGitHub, makeWrapper, pkg-config, rustPlatform, lib, stdenv, gcc, Security, cmake }: 2 2 3 3 rustPlatform.buildRustPackage rec { 4 4 pname = "evcxr"; ··· 16 16 RUST_SRC_PATH = "${rustPlatform.rustLibSrc}"; 17 17 18 18 nativeBuildInputs = [ pkg-config makeWrapper cmake ]; 19 - buildInputs = stdenv.lib.optional stdenv.isDarwin Security; 19 + buildInputs = lib.optional stdenv.isDarwin Security; 20 20 postInstall = let 21 21 wrap = exe: '' 22 22 wrapProgram $out/bin/${exe} \ 23 - --prefix PATH : ${stdenv.lib.makeBinPath [ cargo gcc ]} \ 23 + --prefix PATH : ${lib.makeBinPath [ cargo gcc ]} \ 24 24 --set-default RUST_SRC_PATH "$RUST_SRC_PATH" 25 25 ''; 26 26 in '' ··· 29 29 rm $out/bin/testing_runtime 30 30 ''; 31 31 32 - meta = with stdenv.lib; { 32 + meta = with lib; { 33 33 description = "An evaluation context for Rust"; 34 34 homepage = "https://github.com/google/evcxr"; 35 35 license = licenses.asl20;
+4 -4
pkgs/development/interpreters/falcon/default.nix
··· 1 - { stdenv, fetchFromGitHub, cmake, pkg-config, pcre, zlib, sqlite }: 1 + { lib, stdenv, fetchFromGitHub, cmake, pkg-config, pcre, zlib, sqlite }: 2 2 3 3 stdenv.mkDerivation { 4 4 pname = "falcon"; ··· 11 11 sha256 = "1x3gdcz1gqhi060ngqi0ghryf69v8bn50yrbzfad8bhblvhzzdlf"; 12 12 }; 13 13 14 - nativeBuildInputs = [ pkg-config ]; 15 - buildInputs = [ cmake pcre zlib sqlite ]; 14 + nativeBuildInputs = [ cmake pkg-config ]; 15 + buildInputs = [ pcre zlib sqlite ]; 16 16 17 - meta = with stdenv.lib; { 17 + meta = with lib; { 18 18 description = "Programming language with macros and syntax at once"; 19 19 license = licenses.gpl2; 20 20 maintainers = with maintainers; [ pSub ];
+4 -4
pkgs/development/interpreters/gnu-apl/default.nix
··· 1 - { stdenv, fetchurl, readline, gettext, ncurses }: 1 + { lib, stdenv, fetchurl, readline, gettext, ncurses }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "gnu-apl"; ··· 12 12 buildInputs = [ readline gettext ncurses ]; 13 13 14 14 # Needed with GCC 8 15 - NIX_CFLAGS_COMPILE = with stdenv.lib; toString ((optionals stdenv.cc.isGNU [ 15 + NIX_CFLAGS_COMPILE = with lib; toString ((optionals stdenv.cc.isGNU [ 16 16 "-Wno-error=int-in-bool-context" 17 17 "-Wno-error=class-memaccess" 18 18 "-Wno-error=restrict" 19 19 "-Wno-error=format-truncation" 20 20 ]) ++ optional stdenv.cc.isClang "-Wno-error=null-dereference"); 21 21 22 - patchPhase = stdenv.lib.optionalString stdenv.isDarwin '' 22 + patchPhase = lib.optionalString stdenv.isDarwin '' 23 23 substituteInPlace src/LApack.cc --replace "malloc.h" "malloc/malloc.h" 24 24 ''; 25 25 ··· 28 28 find $out/share/doc/support-files -name 'Makefile*' -delete 29 29 ''; 30 30 31 - meta = with stdenv.lib; { 31 + meta = with lib; { 32 32 description = "Free interpreter for the APL programming language"; 33 33 homepage = "https://www.gnu.org/software/apl/"; 34 34 license = licenses.gpl3Plus;
+2 -2
pkgs/development/interpreters/groovy/default.nix
··· 1 - { stdenv, fetchurl, unzip, which, makeWrapper, jdk }: 1 + { lib, stdenv, fetchurl, unzip, which, makeWrapper, jdk }: 2 2 3 3 # at runtime, need jdk 4 4 ··· 29 29 done 30 30 ''; 31 31 32 - meta = with stdenv.lib; { 32 + meta = with lib; { 33 33 description = "An agile dynamic language for the Java Platform"; 34 34 homepage = "http://groovy-lang.org/"; 35 35 license = licenses.asl20;
+2 -2
pkgs/development/interpreters/gtk-server/default.nix
··· 1 - { stdenv, fetchurl 1 + { lib, stdenv, fetchurl 2 2 , glib 3 3 , gtk3 4 4 , libffcall ··· 24 24 25 25 configureOptions = [ "--with-gtk3" ]; 26 26 27 - meta = with stdenv.lib; { 27 + meta = with lib; { 28 28 description = "gtk-server for interpreted GUI programming"; 29 29 homepage = "http://www.gtk-server.org/"; 30 30 license = licenses.gpl2Plus;
+6 -6
pkgs/development/interpreters/guile/1.8.nix
··· 1 - { stdenv, pkgsBuildBuild, buildPackages 1 + { lib, stdenv, pkgsBuildBuild, buildPackages 2 2 , fetchurl, makeWrapper, gawk, pkg-config 3 3 , libtool, readline, gmp 4 4 }: ··· 18 18 configureFlags = [ "--disable-error-on-warning" ] 19 19 # Guile needs patching to preset results for the configure tests about 20 20 # pthreads, which work only in native builds. 21 - ++ stdenv.lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) 21 + ++ lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) 22 22 "--with-threads=no"; 23 23 24 24 depsBuildBuild = [ buildPackages.stdenv.cc ] 25 - ++ stdenv.lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) 25 + ++ lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) 26 26 pkgsBuildBuild.guile_1_8; 27 27 nativeBuildInputs = [ makeWrapper gawk pkg-config ]; 28 28 buildInputs = [ readline libtool ]; ··· 67 67 meta = { 68 68 description = "Embeddable Scheme implementation"; 69 69 homepage = "https://www.gnu.org/software/guile/"; 70 - license = stdenv.lib.licenses.lgpl2Plus; 71 - maintainers = [ stdenv.lib.maintainers.ludo ]; 72 - platforms = stdenv.lib.platforms.unix; 70 + license = lib.licenses.lgpl2Plus; 71 + maintainers = [ lib.maintainers.ludo ]; 72 + platforms = lib.platforms.unix; 73 73 74 74 longDescription = '' 75 75 GNU Guile is an interpreter for the Scheme programming language,
+10 -10
pkgs/development/interpreters/guile/2.0.nix
··· 1 - { stdenv, pkgsBuildBuild, buildPackages 1 + { lib, stdenv, pkgsBuildBuild, buildPackages 2 2 , fetchpatch, fetchurl, makeWrapper, gawk, pkg-config 3 3 , libffi, libtool, readline, gmp, boehmgc, libunistring 4 4 , coverageAnalysis ? null ··· 21 21 setOutputFlags = false; # $dev gets into the library otherwise 22 22 23 23 depsBuildBuild = [ buildPackages.stdenv.cc ] 24 - ++ stdenv.lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) 24 + ++ lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) 25 25 pkgsBuildBuild.guile_2_0; 26 26 nativeBuildInputs = [ makeWrapper gawk pkg-config ]; 27 27 buildInputs = [ readline libtool libunistring libffi ]; ··· 46 46 }) 47 47 ./riscv.patch 48 48 ] ++ 49 - (stdenv.lib.optional (coverageAnalysis != null) ./gcov-file-name.patch) 50 - ++ stdenv.lib.optionals stdenv.isDarwin [ 49 + (lib.optional (coverageAnalysis != null) ./gcov-file-name.patch) 50 + ++ lib.optionals stdenv.isDarwin [ 51 51 (fetchpatch { 52 52 url = "https://gitlab.gnome.org/GNOME/gtk-osx/raw/52898977f165777ad9ef169f7d4818f2d4c9b731/patches/guile-clocktime.patch"; 53 53 sha256 = "12wvwdna9j8795x59ldryv9d84c1j3qdk2iskw09306idfsis207"; ··· 59 59 # "libgcc_s.so.1 must be installed for pthread_cancel to work". 60 60 61 61 # don't have "libgcc_s.so.1" on darwin 62 - LDFLAGS = stdenv.lib.optionalString (!stdenv.isDarwin && !stdenv.hostPlatform.isMusl) "-lgcc_s"; 62 + LDFLAGS = lib.optionalString (!stdenv.isDarwin && !stdenv.hostPlatform.isMusl) "-lgcc_s"; 63 63 64 64 configureFlags = [ "--with-libreadline-prefix" ] 65 - ++ stdenv.lib.optionals stdenv.isSunOS [ 65 + ++ lib.optionals stdenv.isSunOS [ 66 66 # Make sure the right <gmp.h> is found, and not the incompatible 67 67 # /usr/include/mp.h from OpenSolaris. See 68 68 # <https://lists.gnu.org/archive/html/hydra-users/2012-08/msg00000.html> ··· 102 102 meta = { 103 103 description = "Embeddable Scheme implementation"; 104 104 homepage = "https://www.gnu.org/software/guile/"; 105 - license = stdenv.lib.licenses.lgpl3Plus; 106 - maintainers = with stdenv.lib.maintainers; [ ludo lovek323 ]; 107 - platforms = stdenv.lib.platforms.all; 105 + license = lib.licenses.lgpl3Plus; 106 + maintainers = with lib.maintainers; [ ludo lovek323 ]; 107 + platforms = lib.platforms.all; 108 108 109 109 longDescription = '' 110 110 GNU Guile is an implementation of the Scheme programming language, with ··· 120 120 121 121 // 122 122 123 - (stdenv.lib.optionalAttrs (!stdenv.isLinux) { 123 + (lib.optionalAttrs (!stdenv.isLinux) { 124 124 # Work around <https://bugs.gnu.org/14201>. 125 125 SHELL = stdenv.shell; 126 126 CONFIG_SHELL = stdenv.shell;
+9 -9
pkgs/development/interpreters/guile/default.nix
··· 1 - { stdenv, pkgsBuildBuild, buildPackages 1 + { lib, stdenv, pkgsBuildBuild, buildPackages 2 2 , fetchurl, makeWrapper, gawk, pkg-config 3 3 , libffi, libtool, readline, gmp, boehmgc, libunistring 4 4 , coverageAnalysis ? null ··· 23 23 setOutputFlags = false; # $dev gets into the library otherwise 24 24 25 25 depsBuildBuild = [ buildPackages.stdenv.cc ] 26 - ++ stdenv.lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) 26 + ++ lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) 27 27 pkgsBuildBuild.guile; 28 28 nativeBuildInputs = [ makeWrapper gawk pkg-config ]; 29 29 buildInputs = [ readline libtool libunistring libffi ]; ··· 48 48 49 49 patches = [ 50 50 ./eai_system.patch 51 - ] ++ stdenv.lib.optional (coverageAnalysis != null) ./gcov-file-name.patch 52 - ++ stdenv.lib.optional stdenv.isDarwin (fetchpatch { 51 + ] ++ lib.optional (coverageAnalysis != null) ./gcov-file-name.patch 52 + ++ lib.optional stdenv.isDarwin (fetchpatch { 53 53 url = "https://gitlab.gnome.org/GNOME/gtk-osx/raw/52898977f165777ad9ef169f7d4818f2d4c9b731/patches/guile-clocktime.patch"; 54 54 sha256 = "12wvwdna9j8795x59ldryv9d84c1j3qdk2iskw09306idfsis207"; 55 55 }); ··· 58 58 # "libgcc_s.so.1 must be installed for pthread_cancel to work". 59 59 60 60 # don't have "libgcc_s.so.1" on darwin 61 - LDFLAGS = stdenv.lib.optionalString 61 + LDFLAGS = lib.optionalString 62 62 (!stdenv.isDarwin && !stdenv.hostPlatform.isStatic) "-lgcc_s"; 63 63 64 64 configureFlags = [ "--with-libreadline-prefix=${readline.dev}" ] 65 - ++ stdenv.lib.optionals stdenv.isSunOS [ 65 + ++ lib.optionals stdenv.isSunOS [ 66 66 # Make sure the right <gmp.h> is found, and not the incompatible 67 67 # /usr/include/mp.h from OpenSolaris. See 68 68 # <https://lists.gnu.org/archive/html/hydra-users/2012-08/msg00000.html> ··· 101 101 meta = { 102 102 description = "Embeddable Scheme implementation"; 103 103 homepage = "https://www.gnu.org/software/guile/"; 104 - license = stdenv.lib.licenses.lgpl3Plus; 105 - maintainers = with stdenv.lib.maintainers; [ ludo lovek323 vrthra ]; 106 - platforms = stdenv.lib.platforms.all; 104 + license = lib.licenses.lgpl3Plus; 105 + maintainers = with lib.maintainers; [ ludo lovek323 vrthra ]; 106 + platforms = lib.platforms.all; 107 107 108 108 longDescription = '' 109 109 GNU Guile is an implementation of the Scheme programming language, with
+2 -2
pkgs/development/interpreters/hugs/default.nix
··· 1 - { stdenv, fetchurl, bison }: 1 + { lib, stdenv, fetchurl, bison }: 2 2 3 3 stdenv.mkDerivation { 4 4 ··· 39 39 "--enable-pthreads" # build Hugs using POSIX threads C library 40 40 ]; 41 41 42 - meta = with stdenv.lib; { 42 + meta = with lib; { 43 43 homepage = "https://www.haskell.org/hugs"; 44 44 description = "Haskell interpreter"; 45 45 maintainers = with maintainers; [ joachifm ];
+2 -2
pkgs/development/interpreters/hy/default.nix
··· 1 - { stdenv, python3Packages }: 1 + { lib, stdenv, python3Packages }: 2 2 3 3 python3Packages.buildPythonApplication rec { 4 4 pname = "hy"; ··· 27 27 $out/bin/hy --help > /dev/null 28 28 ''; 29 29 30 - meta = with stdenv.lib; { 30 + meta = with lib; { 31 31 description = "A LISP dialect embedded in Python"; 32 32 homepage = "http://hylang.org/"; 33 33 license = licenses.mit;
+3 -3
pkgs/development/interpreters/icon-lang/default.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 , fetchFromGitHub 3 3 , libX11 4 4 , libXt ··· 15 15 sha256 = "1lj2f13pbaajcy4v3744bz46rghhw5sv4dwwfnzhsllbj5gnjsv2"; 16 16 }; 17 17 18 - buildInputs = stdenv.lib.optionals withGraphics [ libX11 libXt ]; 18 + buildInputs = lib.optionals withGraphics [ libX11 libXt ]; 19 19 20 20 configurePhase = 21 21 let ··· 37 37 mv $out/doc $out/share/doc/icon 38 38 ''; 39 39 40 - meta = with stdenv.lib; { 40 + meta = with lib; { 41 41 description = "A very high level general-purpose programming language"; 42 42 maintainers = with maintainers; [ vrthra yurrriq ]; 43 43 platforms = with platforms; linux ++ darwin ++ freebsd ++ netbsd ++ openbsd ++ cygwin ++ illumos;
+2 -2
pkgs/development/interpreters/io/default.nix
··· 1 - { stdenv, fetchFromGitHub, cmake, zlib, sqlite, gmp, libffi, cairo, 1 + { lib, stdenv, fetchFromGitHub, cmake, zlib, sqlite, gmp, libffi, cairo, 2 2 ncurses, freetype, libGLU, libGL, libpng, libtiff, libjpeg, readline, libsndfile, 3 3 libxml2, freeglut, libsamplerate, pcre, libevent, libedit, yajl, 4 4 python3, openssl, glfw, pkg-config, libpthreadstubs, libXdmcp, libmemcached ··· 37 37 # for gcc5; c11 inline semantics breaks the build 38 38 NIX_CFLAGS_COMPILE = "-fgnu89-inline"; 39 39 40 - meta = with stdenv.lib; { 40 + meta = with lib; { 41 41 description = "Io programming language"; 42 42 homepage = "http://iolanguage.org/"; 43 43 license = licenses.bsd3;
+3 -3
pkgs/development/interpreters/j/default.nix
··· 1 - { stdenv, fetchFromGitHub, readline, libedit, bc 1 + { lib, stdenv, fetchFromGitHub, readline, libedit, bc 2 2 , avxSupport ? stdenv.hostPlatform.avxSupport 3 3 }: 4 4 ··· 28 28 doCheck = true; 29 29 30 30 # Causes build failure due to warning 31 - hardeningDisable = stdenv.lib.optional stdenv.cc.isClang "strictoverflow"; 31 + hardeningDisable = lib.optional stdenv.cc.isClang "strictoverflow"; 32 32 33 33 buildPhase = '' 34 34 export SOURCE_DIR=$(pwd) ··· 68 68 cp -r $JLIB/bin "$out" 69 69 ''; 70 70 71 - meta = with stdenv.lib; { 71 + meta = with lib; { 72 72 description = "J programming language, an ASCII-based APL successor"; 73 73 maintainers = with maintainers; [ raskin synthetica ]; 74 74 platforms = with platforms; linux ++ darwin;
+2 -2
pkgs/development/interpreters/janet/default.nix
··· 1 - { stdenv, fetchFromGitHub, meson, ninja }: 1 + { lib, stdenv, fetchFromGitHub, meson, ninja }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "janet"; ··· 16 16 17 17 doCheck = true; 18 18 19 - meta = with stdenv.lib; { 19 + meta = with lib; { 20 20 description = "Janet programming language"; 21 21 homepage = "https://janet-lang.org/"; 22 22 license = licenses.mit;
+5 -5
pkgs/development/interpreters/jimtcl/default.nix
··· 1 - { stdenv, fetchFromGitHub, sqlite, readline, asciidoc, SDL, SDL_gfx }: 1 + { lib, stdenv, fetchFromGitHub, sqlite, readline, asciidoc, SDL, SDL_gfx }: 2 2 3 3 let 4 - makeSDLFlags = map (p: "-I${stdenv.lib.getDev p}/include/SDL"); 4 + makeSDLFlags = map (p: "-I${lib.getDev p}/include/SDL"); 5 5 6 6 in stdenv.mkDerivation rec { 7 7 pname = "jimtcl"; ··· 52 52 meta = { 53 53 description = "An open source small-footprint implementation of the Tcl programming language"; 54 54 homepage = "http://jim.tcl.tk/"; 55 - license = stdenv.lib.licenses.bsd2; 56 - platforms = stdenv.lib.platforms.all; 57 - maintainers = with stdenv.lib.maintainers; [ dbohdan vrthra ]; 55 + license = lib.licenses.bsd2; 56 + platforms = lib.platforms.all; 57 + maintainers = with lib.maintainers; [ dbohdan vrthra ]; 58 58 }; 59 59 }
+2 -2
pkgs/development/interpreters/joker/default.nix
··· 1 - { stdenv, buildGoModule, fetchFromGitHub }: 1 + { lib, stdenv, buildGoModule, fetchFromGitHub }: 2 2 3 3 buildGoModule rec { 4 4 pname = "joker"; ··· 21 21 22 22 subPackages = [ "." ]; 23 23 24 - meta = with stdenv.lib; { 24 + meta = with lib; { 25 25 homepage = "https://github.com/candid82/joker"; 26 26 description = "A small Clojure interpreter and linter written in Go"; 27 27 license = licenses.epl10;
+2 -2
pkgs/development/interpreters/jruby/default.nix
··· 1 - { stdenv, callPackage, fetchurl, makeWrapper, jre }: 1 + { lib, stdenv, callPackage, fetchurl, makeWrapper, jre }: 2 2 3 3 let 4 4 # The version number here is whatever is reported by the RUBY_VERSION string ··· 50 50 libPath = "lib/${rubyEngine}/${rubyVersion.libDir}"; 51 51 }; 52 52 53 - meta = with stdenv.lib; { 53 + meta = with lib; { 54 54 description = "Ruby interpreter written in Java"; 55 55 homepage = "http://jruby.org/"; 56 56 license = with licenses; [ cpl10 gpl2 lgpl21 ];
+2 -2
pkgs/development/interpreters/jython/default.nix
··· 1 - { stdenv, fetchurl, makeWrapper, jre }: 1 + { lib, stdenv, fetchurl, makeWrapper, jre }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "jython"; ··· 23 23 meta = { 24 24 description = "Python interpreter written in Java"; 25 25 homepage = "https://jython.org/"; 26 - license = stdenv.lib.licenses.psfl; 26 + license = lib.licenses.psfl; 27 27 platforms = jre.meta.platforms; 28 28 }; 29 29 }
+2 -2
pkgs/development/interpreters/kona/default.nix
··· 1 - { stdenv, fetchurl }: 1 + { lib, stdenv, fetchurl }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "kona"; ··· 11 11 makeFlags = [ "PREFIX=$(out)" ]; 12 12 preInstall = ''mkdir -p "$out/bin"''; 13 13 14 - meta = with stdenv.lib; { 14 + meta = with lib; { 15 15 description = "An interpreter of K, APL-like programming language"; 16 16 homepage = "https://github.com/kevinlawler/kona/"; 17 17 maintainers = with maintainers; [ raskin ];
+3 -3
pkgs/development/interpreters/lfe/generic-builder.nix
··· 1 - { stdenv, fetchFromGitHub, erlang, makeWrapper, coreutils, bash, buildRebar3, buildHex }: 1 + { lib, stdenv, fetchFromGitHub, erlang, makeWrapper, coreutils, bash, buildRebar3, buildHex }: 2 2 3 3 { baseName ? "lfe" 4 4 , version ··· 10 10 }: 11 11 12 12 let 13 - inherit (stdenv.lib) 13 + inherit (lib) 14 14 assertMsg makeBinPath optionalString 15 15 getVersion versionAtLeast versionOlder versions; 16 16 ··· 75 75 done 76 76 ''; 77 77 78 - meta = with stdenv.lib; { 78 + meta = with lib; { 79 79 description = "The best of Erlang and of Lisp; at the same time!"; 80 80 longDescription = '' 81 81 LFE, Lisp Flavoured Erlang, is a lisp syntax front-end to the Erlang
+3 -3
pkgs/development/interpreters/lolcode/default.nix
··· 1 - { stdenv, fetchurl, pkg-config, doxygen, cmake, readline }: 1 + { lib, stdenv, fetchurl, pkg-config, doxygen, cmake, readline }: 2 2 3 - with stdenv.lib; 3 + with lib; 4 4 stdenv.mkDerivation rec { 5 5 6 6 pname = "lolcode"; ··· 26 26 ''; 27 27 license = licenses.gpl3; 28 28 maintainers = [ maintainers.AndersonTorres ]; 29 - platforms = stdenv.lib.platforms.unix; 29 + platforms = lib.platforms.unix; 30 30 }; 31 31 32 32 }
+4 -4
pkgs/development/interpreters/love/0.10.nix
··· 1 - { stdenv, fetchFromBitbucket, pkg-config, SDL2, libGLU, libGL, openal, luajit, 1 + { lib, stdenv, fetchFromBitbucket, pkg-config, SDL2, libGLU, libGL, openal, luajit, 2 2 libdevil, freetype, physfs, libmodplug, mpg123, libvorbis, libogg, 3 3 libtheora, which, autoconf, automake, libtool 4 4 }: ··· 34 34 meta = { 35 35 homepage = "http://love2d.org"; 36 36 description = "A Lua-based 2D game engine/scripting language"; 37 - license = stdenv.lib.licenses.zlib; 38 - platforms = stdenv.lib.platforms.linux; 39 - maintainers = [ stdenv.lib.maintainers.raskin ]; 37 + license = lib.licenses.zlib; 38 + platforms = lib.platforms.linux; 39 + maintainers = [ lib.maintainers.raskin ]; 40 40 }; 41 41 }
+4 -4
pkgs/development/interpreters/love/0.7.nix
··· 1 - { stdenv, fetchurl, pkg-config 1 + { lib, stdenv, fetchurl, pkg-config 2 2 , SDL, libGLU, libGL, openal, lua 3 3 , libdevil, freetype, physfs 4 4 , libmodplug, mpg123, libvorbis, libogg ··· 48 48 meta = { 49 49 homepage = "http://love2d.org"; 50 50 description = "A Lua-based 2D game engine/scripting language"; 51 - license = stdenv.lib.licenses.zlib; 51 + license = lib.licenses.zlib; 52 52 53 - platforms = stdenv.lib.platforms.linux; 54 - maintainers = [ stdenv.lib.maintainers.raskin ]; 53 + platforms = lib.platforms.linux; 54 + maintainers = [ lib.maintainers.raskin ]; 55 55 }; 56 56 }
+4 -4
pkgs/development/interpreters/love/0.8.nix
··· 1 - { stdenv, fetchurl, pkg-config 1 + { lib, stdenv, fetchurl, pkg-config 2 2 , SDL, libGLU, libGL, openal, lua 3 3 , libdevil, freetype, physfs 4 4 , libmodplug, mpg123, libvorbis, libogg ··· 47 47 meta = { 48 48 homepage = "http://love2d.org"; 49 49 description = "A Lua-based 2D game engine/scripting language"; 50 - license = stdenv.lib.licenses.zlib; 50 + license = lib.licenses.zlib; 51 51 52 - platforms = stdenv.lib.platforms.linux; 53 - maintainers = [ stdenv.lib.maintainers.raskin ]; 52 + platforms = lib.platforms.linux; 53 + maintainers = [ lib.maintainers.raskin ]; 54 54 }; 55 55 }
+4 -4
pkgs/development/interpreters/love/0.9.nix
··· 1 - { stdenv, fetchurl, pkg-config 1 + { lib, stdenv, fetchurl, pkg-config 2 2 , SDL2, libGLU, libGL, openal, luajit 3 3 , libdevil, freetype, physfs 4 4 , libmodplug, mpg123, libvorbis, libogg ··· 26 26 meta = { 27 27 homepage = "http://love2d.org"; 28 28 description = "A Lua-based 2D game engine/scripting language"; 29 - license = stdenv.lib.licenses.zlib; 29 + license = lib.licenses.zlib; 30 30 31 - platforms = stdenv.lib.platforms.linux; 32 - maintainers = [ stdenv.lib.maintainers.raskin ]; 31 + platforms = lib.platforms.linux; 32 + maintainers = [ lib.maintainers.raskin ]; 33 33 broken = true; 34 34 }; 35 35 }
+4 -4
pkgs/development/interpreters/love/11.1.nix
··· 1 - { stdenv, fetchFromBitbucket, pkg-config, SDL2, libGLU, libGL, openal, luajit, 1 + { lib, stdenv, fetchFromBitbucket, pkg-config, SDL2, libGLU, libGL, openal, luajit, 2 2 libdevil, freetype, physfs, libmodplug, mpg123, libvorbis, libogg, 3 3 libtheora, which, autoconf, automake, libtool 4 4 }: ··· 34 34 meta = { 35 35 homepage = "http://love2d.org"; 36 36 description = "A Lua-based 2D game engine/scripting language"; 37 - license = stdenv.lib.licenses.zlib; 38 - platforms = stdenv.lib.platforms.linux; 39 - maintainers = [ stdenv.lib.maintainers.raskin ]; 37 + license = lib.licenses.zlib; 38 + platforms = lib.platforms.linux; 39 + maintainers = [ lib.maintainers.raskin ]; 40 40 }; 41 41 }
+1 -1
pkgs/development/interpreters/lua-5/default.nix
··· 40 40 sed -e 's/ALL_T *= */& $(LUA_SO)/' -i src/Makefile 41 41 ''; 42 42 43 - postBuild = stdenv.lib.optionalString (!stdenv.isDarwin) '' 43 + postBuild = lib.optionalString (!stdenv.isDarwin) '' 44 44 ( cd src; make $makeFlags "''${makeFlagsArray[@]}" liblua.so ) 45 45 ''; 46 46 };
+1 -1
pkgs/development/interpreters/lua-5/filesystem.nix
··· 20 20 21 21 meta = { 22 22 homepage = "https://github.com/keplerproject/luafilesystem"; 23 - hydraPlatforms = stdenv.lib.platforms.linux; 23 + hydraPlatforms = lib.platforms.linux; 24 24 maintainers = [ ]; 25 25 }; 26 26 }
+4 -4
pkgs/development/interpreters/lua-5/interpreter.nix
··· 1 - { stdenv, fetchurl, readline 1 + { lib, stdenv, fetchurl, readline 2 2 , compat ? false 3 3 , callPackage 4 4 , packageOverrides ? (self: super: {}) ··· 50 50 runHook preConfigure 51 51 52 52 makeFlagsArray+=(CFLAGS="-DLUA_USE_LINUX -O2 -fPIC${if compat then " -DLUA_COMPAT_ALL" else ""}" ) 53 - makeFlagsArray+=(${stdenv.lib.optionalString stdenv.isDarwin "CC=\"$CC\""}${stdenv.lib.optionalString (stdenv.buildPlatform != stdenv.hostPlatform) " 'AR=${stdenv.hostPlatform.config}-ar rcu'"}) 53 + makeFlagsArray+=(${lib.optionalString stdenv.isDarwin "CC=\"$CC\""}${lib.optionalString (stdenv.buildPlatform != stdenv.hostPlatform) " 'AR=${stdenv.hostPlatform.config}-ar rcu'"}) 54 54 55 55 installFlagsArray=( TO_BIN="lua luac" INSTALL_DATA='cp -d' \ 56 56 TO_LIB="${if stdenv.isDarwin then "liblua.${version}.dylib" else "liblua.a liblua.so liblua.so.${luaversion} liblua.so.${version}"}" ) ··· 107 107 management with incremental garbage collection, making it ideal 108 108 for configuration, scripting, and rapid prototyping. 109 109 ''; 110 - license = stdenv.lib.licenses.mit; 111 - platforms = stdenv.lib.platforms.unix; 110 + license = lib.licenses.mit; 111 + platforms = lib.platforms.unix; 112 112 }; 113 113 }; 114 114 in self
+1 -1
pkgs/development/interpreters/lua-5/sockets.nix
··· 19 19 20 20 meta = { 21 21 homepage = "http://w3.impa.br/~diego/software/luasocket/"; 22 - hydraPlatforms = stdenv.lib.platforms.linux; 22 + hydraPlatforms = lib.platforms.linux; 23 23 maintainers = [ ]; 24 24 }; 25 25 }
+3 -3
pkgs/development/interpreters/lua-5/wrapper.nix
··· 1 - { stdenv, lua, buildEnv, makeWrapper 1 + { lib, stdenv, lua, buildEnv, makeWrapper 2 2 , extraLibs ? [] 3 3 , extraOutputsToInstall ? [] 4 4 , postBuild ? "" ··· 28 28 addToLuaPath "$out" 29 29 30 30 # take every binary from lua packages and put them into the env 31 - for path in ${stdenv.lib.concatStringsSep " " paths}; do 31 + for path in ${lib.concatStringsSep " " paths}; do 32 32 nix_debug "looking for binaries in path = $path" 33 33 if [ -d "$path/bin" ]; then 34 34 cd "$path/bin" ··· 37 37 rm -f "$out/bin/$prg" 38 38 if [ -x "$prg" ]; then 39 39 nix_debug "Making wrapper $prg" 40 - makeWrapper "$path/bin/$prg" "$out/bin/$prg" --suffix LUA_PATH ';' "$LUA_PATH" --suffix LUA_CPATH ';' "$LUA_CPATH" ${stdenv.lib.concatStringsSep " " makeWrapperArgs} 40 + makeWrapper "$path/bin/$prg" "$out/bin/$prg" --suffix LUA_PATH ';' "$LUA_PATH" --suffix LUA_CPATH ';' "$LUA_CPATH" ${lib.concatStringsSep " " makeWrapperArgs} 41 41 fi 42 42 fi 43 43 done
+6 -6
pkgs/development/interpreters/luajit/default.nix
··· 1 - { stdenv, fetchFromGitHub, buildPackages 1 + { lib, stdenv, fetchFromGitHub, buildPackages 2 2 , name ? "luajit-${version}" 3 3 , isStable 4 4 , sha256 ··· 26 26 let 27 27 luaPackages = callPackage ../../lua-modules {lua=self; overrides=packageOverrides;}; 28 28 29 - XCFLAGS = with stdenv.lib; 29 + XCFLAGS = with lib; 30 30 optional (!enableFFI) "-DLUAJIT_DISABLE_FFI" 31 31 ++ optional (!enableJIT) "-DLUAJIT_DISABLE_JIT" 32 32 ++ optional enable52Compat "-DLUAJIT_ENABLE_LUA52COMPAT" ··· 59 59 60 60 configurePhase = false; 61 61 62 - buildInputs = stdenv.lib.optional enableValgrindSupport valgrind; 62 + buildInputs = lib.optional enableValgrindSupport valgrind; 63 63 64 64 buildFlags = [ 65 65 "amalg" # Build highly optimized version ··· 70 70 "CROSS=${stdenv.cc.targetPrefix}" 71 71 # TODO: when pointer size differs, we would need e.g. -m32 72 72 "HOST_CC=${buildPackages.stdenv.cc}/bin/cc" 73 - ] ++ stdenv.lib.optional enableJITDebugModule "INSTALL_LJLIBD=$(INSTALL_LMOD)"; 73 + ] ++ lib.optional enableJITDebugModule "INSTALL_LJLIBD=$(INSTALL_LMOD)"; 74 74 enableParallelBuilding = true; 75 75 NIX_CFLAGS_COMPILE = XCFLAGS; 76 76 77 77 postInstall = '' 78 78 ( cd "$out/include"; ln -s luajit-*/* . ) 79 79 ln -s "$out"/bin/luajit-* "$out"/bin/lua 80 - '' + stdenv.lib.optionalString (!isStable) '' 80 + '' + lib.optionalString (!isStable) '' 81 81 ln -s "$out"/bin/luajit-* "$out"/bin/luajit 82 82 ''; 83 83 ··· 99 99 interpreter = "${self}/bin/lua"; 100 100 }; 101 101 102 - meta = with stdenv.lib; { 102 + meta = with lib; { 103 103 description = "High-performance JIT compiler for Lua 5.1"; 104 104 homepage = "http://luajit.org"; 105 105 license = licenses.mit;
+4 -4
pkgs/development/interpreters/lush/default.nix
··· 1 - {stdenv, fetchurl, libX11, xorgproto, indent, readline, gsl, freeglut, libGLU, libGL, SDL 1 + {lib, stdenv, fetchurl, libX11, xorgproto, indent, readline, gsl, freeglut, libGLU, libGL, SDL 2 2 , blas, libbfd, intltool, gettext, zlib, libSM}: 3 3 4 4 stdenv.mkDerivation rec { ··· 22 22 23 23 meta = { 24 24 description = "Lisp Universal SHell"; 25 - license = stdenv.lib.licenses.gpl2Plus ; 26 - maintainers = [ stdenv.lib.maintainers.raskin ]; 27 - platforms = stdenv.lib.platforms.linux; 25 + license = lib.licenses.gpl2Plus ; 26 + maintainers = [ lib.maintainers.raskin ]; 27 + platforms = lib.platforms.linux; 28 28 }; 29 29 }
+5 -5
pkgs/development/interpreters/maude/default.nix
··· 1 - { stdenv, fetchurl, unzip, makeWrapper, flex, bison, ncurses, buddy, tecla 1 + { lib, stdenv, fetchurl, unzip, makeWrapper, flex, bison, ncurses, buddy, tecla 2 2 , libsigsegv, gmpxx, cln, yices 3 3 }: 4 4 ··· 27 27 ]; 28 28 29 29 hardeningDisable = [ "stackprotector" ] ++ 30 - stdenv.lib.optionals stdenv.isi686 [ "pic" "fortify" ]; 30 + lib.optionals stdenv.isi686 [ "pic" "fortify" ]; 31 31 32 32 preConfigure = '' 33 33 configureFlagsArray=( ··· 54 54 meta = { 55 55 homepage = "http://maude.cs.illinois.edu/"; 56 56 description = "High-level specification language"; 57 - license = stdenv.lib.licenses.gpl2Plus; 57 + license = lib.licenses.gpl2Plus; 58 58 59 59 longDescription = '' 60 60 Maude is a high-performance reflective language and system ··· 66 66 rewriting logic computation. 67 67 ''; 68 68 69 - platforms = stdenv.lib.platforms.unix; 70 - maintainers = [ stdenv.lib.maintainers.peti ]; 69 + platforms = lib.platforms.unix; 70 + maintainers = [ lib.maintainers.peti ]; 71 71 }; 72 72 }
+9 -7
pkgs/development/interpreters/metamath/default.nix
··· 1 - { stdenv, fetchFromGitHub, autoreconfHook }: 1 + { lib, stdenv, fetchFromGitHub, autoreconfHook }: 2 2 3 - stdenv.mkDerivation { 3 + let 4 + version = "0.194"; 5 + in stdenv.mkDerivation { 4 6 pname = "metamath"; 5 - version = "0.193"; 7 + inherit version; 6 8 7 9 buildInputs = [ autoreconfHook ]; 8 10 9 11 src = fetchFromGitHub { 10 12 owner = "metamath"; 11 13 repo = "metamath-exe"; 12 - rev = "f973c81222ebe36580a24f0fa7bbb600990af7d6"; 13 - sha256 = "1s9hyknfvhj86g3giayyf3dxzg23iij0rs7bdvj075v9qbyhqn9b"; 14 + rev = "v${version}"; 15 + sha256 = "1bc5h2jdqbgna8zbhqyphlqcldz4vddg72r2rnjjjzxnxb2skvj7"; 14 16 }; 15 17 16 - meta = with stdenv.lib; { 18 + meta = with lib; { 17 19 description = "Interpreter for the metamath proof language"; 18 20 longDescription = '' 19 21 The metamath program is an ASCII-based ANSI C program with a command-line ··· 23 25 ''; 24 26 homepage = "http://us.metamath.org"; 25 27 downloadPage = "http://us.metamath.org/#downloads"; 26 - license = licenses.gpl2; 28 + license = licenses.gpl2Only; 27 29 maintainers = [ maintainers.taneb ]; 28 30 platforms = platforms.all; 29 31 };
+2 -2
pkgs/development/interpreters/mujs/default.nix
··· 1 - { stdenv, fetchurl, readline }: 1 + { lib, stdenv, fetchurl, readline }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "mujs"; ··· 13 13 14 14 makeFlags = [ "prefix=$(out)" ]; 15 15 16 - meta = with stdenv.lib; { 16 + meta = with lib; { 17 17 homepage = "https://mujs.com/"; 18 18 description = "A lightweight, embeddable Javascript interpreter"; 19 19 platforms = platforms.unix;
+2 -2
pkgs/development/interpreters/nix-exec/default.nix
··· 1 - { stdenv, fetchurl, pkg-config, nix, git }: let 1 + { lib, stdenv, fetchurl, pkg-config, nix, git }: let 2 2 version = "4.1.6"; 3 3 in stdenv.mkDerivation { 4 4 pname = "nix-exec"; ··· 17 17 meta = { 18 18 description = "Run programs defined in nix expressions"; 19 19 homepage = "https://github.com/shlevy/nix-exec"; 20 - license = stdenv.lib.licenses.mit; 20 + license = lib.licenses.mit; 21 21 platforms = nix.meta.platforms; 22 22 broken = true; 23 23 };
+2 -2
pkgs/development/interpreters/perl/wrapper.nix
··· 1 - { stdenv, perl, buildEnv, makeWrapper 1 + { lib, stdenv, perl, buildEnv, makeWrapper 2 2 , extraLibs ? [] 3 3 , extraOutputsToInstall ? [] 4 4 , postBuild ? "" ··· 28 28 mkdir -p "$out/bin" 29 29 30 30 # take every binary from perl packages and put them into the env 31 - for path in ${stdenv.lib.concatStringsSep " " paths}; do 31 + for path in ${lib.concatStringsSep " " paths}; do 32 32 if [ -d "$path/bin" ]; then 33 33 cd "$path/bin" 34 34 for prg in *; do
+1 -1
pkgs/development/interpreters/php/generic.nix
··· 269 269 inherit ztsSupport; 270 270 }; 271 271 272 - meta = with stdenv.lib; { 272 + meta = with lib; { 273 273 description = "An HTML-embedded scripting language"; 274 274 homepage = "https://www.php.net/"; 275 275 license = licenses.php301;
+2 -2
pkgs/development/interpreters/picoc/default.nix
··· 1 - { stdenv, fetchFromGitHub, readline }: 1 + { lib, stdenv, fetchFromGitHub, readline }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "picoc"; ··· 31 31 install -m644 *.h $out/include 32 32 ''; 33 33 34 - meta = with stdenv.lib; { 34 + meta = with lib; { 35 35 description = "Very small C interpreter for scripting"; 36 36 longDescription = '' 37 37 PicoC is a very small C interpreter for scripting. It was originally
+2 -2
pkgs/development/interpreters/picolisp/default.nix
··· 1 - { stdenv, fetchurl, jdk, w3m, openssl, makeWrapper }: 2 - with stdenv.lib; 1 + { lib, stdenv, fetchurl, jdk, w3m, openssl, makeWrapper }: 2 + with lib; 3 3 4 4 stdenv.mkDerivation rec { 5 5 pname = "picoLisp";
+6 -6
pkgs/development/interpreters/pixie/default.nix
··· 1 - { stdenv, fetchgit, fetchurl, python2, makeWrapper, pkg-config, gcc, 1 + { lib, stdenv, fetchgit, fetchurl, python2, makeWrapper, pkg-config, gcc, 2 2 pypy, libffi, libedit, libuv, boost, zlib, 3 3 variant ? "jit", buildWithPypy ? false }: 4 4 ··· 23 23 sha256 = "0ylbqvhbcp5m09l15i2q2h3a0vjd055x2r37cq71lkhgmmaxrwbq"; 24 24 }; 25 25 libs = [ libffi libedit libuv boost.dev boost.out zlib ]; 26 - include-path = stdenv.lib.concatStringsSep ":" 26 + include-path = lib.concatStringsSep ":" 27 27 (map (p: "${p}/include") libs); 28 - library-path = stdenv.lib.concatStringsSep ":" 28 + library-path = lib.concatStringsSep ":" 29 29 (map (p: "${p}/lib") libs); 30 - bin-path = stdenv.lib.concatStringsSep ":" 30 + bin-path = lib.concatStringsSep ":" 31 31 (map (p: "${p}/bin") [ gcc ]); 32 32 build = {flags, target}: stdenv.mkDerivation rec { 33 33 pname = "pixie"; ··· 85 85 meta = { 86 86 description = "A clojure-like lisp, built with the pypy vm toolkit"; 87 87 homepage = "https://github.com/pixie-lang/pixie"; 88 - license = stdenv.lib.licenses.lgpl3; 88 + license = lib.licenses.lgpl3; 89 89 platforms = ["x86_64-linux" "i686-linux" "x86_64-darwin"]; 90 - maintainers = with stdenv.lib.maintainers; [ bendlas ]; 90 + maintainers = with lib.maintainers; [ bendlas ]; 91 91 }; 92 92 }; 93 93 in build (builtins.getAttr variant variants)
+3 -3
pkgs/development/interpreters/pixie/dust.nix
··· 1 - { stdenv, pixie, fetchFromGitHub }: 1 + { lib, stdenv, pixie, fetchFromGitHub }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "dust-0-91"; ··· 29 29 meta = { 30 30 description = "Provides tooling around pixie, e.g. a nicer repl, running tests and fetching dependencies"; 31 31 homepage = src.meta.homepage; 32 - license = stdenv.lib.licenses.lgpl3; 33 - platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin; 32 + license = lib.licenses.lgpl3; 33 + platforms = lib.platforms.linux ++ lib.platforms.darwin; 34 34 }; 35 35 }
+2 -2
pkgs/development/interpreters/proglodyte-wasm/default.nix
··· 1 - { stdenv, fetchFromGitHub, cmake, clang, python, v8, coreutils }: 1 + { lib, stdenv, fetchFromGitHub, cmake, clang, python, v8, coreutils }: 2 2 3 3 let 4 4 sexpr_wasm_prototype = stdenv.mkDerivation { ··· 51 51 make install 52 52 ''; 53 53 54 - meta = with stdenv.lib; { 54 + meta = with lib; { 55 55 description = "wasm runs WebAssembly from the command line"; 56 56 maintainers = with maintainers; [ proglodyte ]; 57 57 platforms = platforms.linux;
+2 -2
pkgs/development/interpreters/pyrex/0.9.5.nix
··· 1 - { stdenv, fetchurl, python2Packages }: 1 + { lib, stdenv, fetchurl, python2Packages }: 2 2 3 3 let version = "0.9.5.1.1"; in 4 4 ··· 16 16 meta = { 17 17 homepage = "http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/"; 18 18 description = "A language for writing Python extension modules"; 19 - license = stdenv.lib.licenses.asl20; 19 + license = lib.licenses.asl20; 20 20 }; 21 21 }
+2 -2
pkgs/development/interpreters/pyrex/0.9.6.nix
··· 1 - { stdenv, fetchurl, python2Packages }: 1 + { lib, stdenv, fetchurl, python2Packages }: 2 2 3 3 let version = "0.9.6.4"; in 4 4 ··· 16 16 meta = { 17 17 homepage = "http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/"; 18 18 description = "A language for writing Python extension modules"; 19 - license = stdenv.lib.licenses.asl20; 19 + license = lib.licenses.asl20; 20 20 }; 21 21 }
+7 -7
pkgs/development/interpreters/python/cpython/2.7/default.nix
··· 1 - { stdenv, fetchurl, fetchpatch 1 + { lib, stdenv, fetchurl, fetchpatch 2 2 , bzip2 3 3 , expat 4 4 , libffi ··· 36 36 && xlibsWrapper != null 37 37 && libX11 != null; 38 38 39 - with stdenv.lib; 39 + with lib; 40 40 41 41 let 42 42 buildPackages = pkgsBuildHost; ··· 215 215 }; 216 216 217 217 # Python 2.7 needs this 218 - crossCompileEnv = stdenv.lib.optionalAttrs (stdenv.hostPlatform != stdenv.buildPlatform) 218 + crossCompileEnv = lib.optionalAttrs (stdenv.hostPlatform != stdenv.buildPlatform) 219 219 { _PYTHON_HOST_PLATFORM = stdenv.hostPlatform.config; }; 220 220 221 221 # Build the basic Python interpreter without modules that have ··· 227 227 228 228 inherit src patches buildInputs nativeBuildInputs preConfigure configureFlags; 229 229 230 - LDFLAGS = stdenv.lib.optionalString (!stdenv.isDarwin) "-lgcc_s"; 230 + LDFLAGS = lib.optionalString (!stdenv.isDarwin) "-lgcc_s"; 231 231 inherit (mkPaths buildInputs) C_INCLUDE_PATH LIBRARY_PATH; 232 232 233 233 NIX_CFLAGS_COMPILE = optionalString stdenv.isDarwin "-msse2" ··· 298 298 hierarchical packages; exception-based error handling; and very 299 299 high level dynamic data types. 300 300 ''; 301 - license = stdenv.lib.licenses.psfl; 302 - platforms = stdenv.lib.platforms.all; 303 - maintainers = with stdenv.lib.maintainers; [ fridh ]; 301 + license = lib.licenses.psfl; 302 + platforms = lib.platforms.all; 303 + maintainers = with lib.maintainers; [ fridh ]; 304 304 # Higher priority than Python 3.x so that `/bin/python` points to `/bin/python2` 305 305 # in case both 2 and 3 are installed. 306 306 priority = -100;
+7 -7
pkgs/development/interpreters/python/cpython/default.nix
··· 1 - { stdenv, fetchurl, fetchpatch 1 + { lib, stdenv, fetchurl, fetchpatch 2 2 , bzip2 3 3 , expat 4 4 , libffi ··· 54 54 55 55 assert bluezSupport -> bluez != null; 56 56 57 - with stdenv.lib; 57 + with lib; 58 58 59 59 let 60 60 buildPackages = pkgsBuildHost; ··· 369 369 find $out -type d -name __pycache__ -print0 | xargs -0 -I {} rm -rf "{}" 370 370 ''; 371 371 372 - preFixup = stdenv.lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) '' 372 + preFixup = lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) '' 373 373 # Ensure patch-shebangs uses shebangs of host interpreter. 374 - export PATH=${stdenv.lib.makeBinPath [ "$out" bash ]}:$PATH 374 + export PATH=${lib.makeBinPath [ "$out" bash ]}:$PATH 375 375 ''; 376 376 377 377 # Add CPython specific setup-hook that configures distutils.sysconfig to 378 378 # always load sysconfigdata from host Python. 379 - postFixup = stdenv.lib.optionalString (!stdenv.hostPlatform.isDarwin) '' 379 + postFixup = lib.optionalString (!stdenv.hostPlatform.isDarwin) '' 380 380 cat << "EOF" >> "$out/nix-support/setup-hook" 381 381 ${sysconfigdataHook} 382 382 EOF ··· 385 385 # Enforce that we don't have references to the OpenSSL -dev package, which we 386 386 # explicitly specify in our configure flags above. 387 387 disallowedReferences = 388 - stdenv.lib.optionals (openssl != null && !static) [ openssl.dev ] 389 - ++ stdenv.lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ 388 + lib.optionals (openssl != null && !static) [ openssl.dev ] 389 + ++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ 390 390 # Ensure we don't have references to build-time packages. 391 391 # These typically end up in shebangs. 392 392 pythonForBuild buildPackages.bash
+5 -5
pkgs/development/interpreters/python/pypy/default.nix
··· 1 - { stdenv, substituteAll, fetchurl 1 + { lib, stdenv, substituteAll, fetchurl 2 2 , zlib ? null, zlibSupport ? true, bzip2, pkg-config, libffi, libunwind, Security 3 3 , sqlite, openssl, ncurses, python, expat, tcl, tk, tix, xlibsWrapper, libX11 4 4 , self, gdbm, db, lzma ··· 14 14 , pythonVersion 15 15 , sha256 16 16 , passthruFun 17 - , pythonAttr ? "pypy${stdenv.lib.substring 0 1 pythonVersion}${stdenv.lib.substring 2 3 pythonVersion}" 17 + , pythonAttr ? "pypy${lib.substring 0 1 pythonVersion}${lib.substring 2 3 pythonVersion}" 18 18 }: 19 19 20 20 assert zlibSupport -> zlib != null; 21 21 22 - with stdenv.lib; 22 + with lib; 23 23 24 24 let 25 25 isPy3k = substring 0 1 pythonVersion == "3"; ··· 144 144 ln -s $out/${executable}-c/include $out/include/${libPrefix} 145 145 ln -s $out/${executable}-c/lib-python/${if isPy3k then "3" else pythonVersion} $out/lib/${libPrefix} 146 146 147 - ${stdenv.lib.optionalString stdenv.isDarwin '' 147 + ${lib.optionalString stdenv.isDarwin '' 148 148 install_name_tool -change @rpath/libpypy${optionalString isPy3k "3"}-c.dylib $out/lib/libpypy${optionalString isPy3k "3"}-c.dylib $out/bin/${executable} 149 149 ''} 150 150 ··· 158 158 inherit passthru; 159 159 enableParallelBuilding = true; # almost no parallelization without STM 160 160 161 - meta = with stdenv.lib; { 161 + meta = with lib; { 162 162 homepage = "http://pypy.org/"; 163 163 description = "Fast, compliant alternative implementation of the Python language (${pythonVersion})"; 164 164 license = licenses.mit;
+3 -3
pkgs/development/interpreters/python/pypy/prebuilt.nix
··· 22 22 # This version of PyPy is primarily added to speed-up translation of 23 23 # our PyPy source build when developing that expression. 24 24 25 - with stdenv.lib; 25 + with lib; 26 26 27 27 let 28 28 isPy3k = majorVersion == "3"; ··· 78 78 79 79 pushd $out 80 80 find {lib,lib_pypy*} -name "*.so" -exec patchelf --remove-needed libncursesw.so.6 --replace-needed libtinfow.so.6 libncursesw.so.6 {} \; 81 - find {lib,lib_pypy*} -name "*.so" -exec patchelf --set-rpath ${stdenv.lib.makeLibraryPath deps}:$out/lib {} \; 81 + find {lib,lib_pypy*} -name "*.so" -exec patchelf --set-rpath ${lib.makeLibraryPath deps}:$out/lib {} \; 82 82 83 83 echo "Removing bytecode" 84 84 find . -name "__pycache__" -type d -depth -exec rm -rf {} \; ··· 115 115 116 116 inherit passthru; 117 117 118 - meta = with stdenv.lib; { 118 + meta = with lib; { 119 119 homepage = "http://pypy.org/"; 120 120 description = "Fast, compliant alternative implementation of the Python language (${pythonVersion})"; 121 121 license = licenses.mit;
+1 -1
pkgs/development/interpreters/python/tests.nix
··· 93 93 94 94 95 95 96 - in stdenv.lib.optionalAttrs (stdenv.hostPlatform == stdenv.buildPlatform ) (environmentTests // integrationTests) 96 + in lib.optionalAttrs (stdenv.hostPlatform == stdenv.buildPlatform ) (environmentTests // integrationTests)
+3 -3
pkgs/development/interpreters/python/wrapper.nix
··· 1 - { stdenv, python, buildEnv, makeWrapper 1 + { lib, stdenv, python, buildEnv, makeWrapper 2 2 , extraLibs ? [] 3 3 , extraOutputsToInstall ? [] 4 4 , postBuild ? "" ··· 30 30 fi 31 31 mkdir -p "$out/bin" 32 32 33 - for path in ${stdenv.lib.concatStringsSep " " paths}; do 33 + for path in ${lib.concatStringsSep " " paths}; do 34 34 if [ -d "$path/bin" ]; then 35 35 cd "$path/bin" 36 36 for prg in *; do 37 37 if [ -f "$prg" ]; then 38 38 rm -f "$out/bin/$prg" 39 39 if [ -x "$prg" ]; then 40 - makeWrapper "$path/bin/$prg" "$out/bin/$prg" --set NIX_PYTHONPREFIX "$out" --set NIX_PYTHONEXECUTABLE ${pythonExecutable} --set NIX_PYTHONPATH ${pythonPath} ${if permitUserSite then "" else ''--set PYTHONNOUSERSITE "true"''} ${stdenv.lib.concatStringsSep " " makeWrapperArgs} 40 + makeWrapper "$path/bin/$prg" "$out/bin/$prg" --set NIX_PYTHONPREFIX "$out" --set NIX_PYTHONEXECUTABLE ${pythonExecutable} --set NIX_PYTHONPATH ${pythonPath} ${if permitUserSite then "" else ''--set PYTHONNOUSERSITE "true"''} ${lib.concatStringsSep " " makeWrapperArgs} 41 41 fi 42 42 fi 43 43 done
+4 -4
pkgs/development/interpreters/qnial/default.nix
··· 1 - { stdenv, fetchFromGitHub, unzip, pkg-config, makeWrapper, ncurses }: 1 + { lib, stdenv, fetchFromGitHub, unzip, pkg-config, makeWrapper, ncurses }: 2 2 3 3 stdenv.mkDerivation { 4 4 pname = "qnial"; ··· 33 33 meta = { 34 34 description = "An array language from Nial Systems"; 35 35 homepage = "https://github.com/vrthra/qnial"; 36 - license = stdenv.lib.licenses.artistic1; 37 - maintainers = [ stdenv.lib.maintainers.vrthra ]; 38 - platforms = stdenv.lib.platforms.linux; 36 + license = lib.licenses.artistic1; 37 + maintainers = [ lib.maintainers.vrthra ]; 38 + platforms = lib.platforms.linux; 39 39 }; 40 40 }
+2 -2
pkgs/development/interpreters/quickjs/default.nix
··· 1 - { stdenv, fetchurl }: 1 + { lib, stdenv, fetchurl }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "quickjs"; ··· 32 32 out=$(mktemp) && qjsbnc -flto "$temp" -o "$out" && "$out" | grep -q "Output from compiled program" 33 33 ''; 34 34 35 - meta = with stdenv.lib; { 35 + meta = with lib; { 36 36 description = "A small and embeddable Javascript engine"; 37 37 homepage = "https://bellard.org/quickjs/"; 38 38 maintainers = with maintainers; [ stesie ];
+10 -10
pkgs/development/interpreters/racket/default.nix
··· 1 - { stdenv, fetchurl, makeFontsConf 1 + { lib, stdenv, fetchurl, makeFontsConf 2 2 , cacert 3 3 , cairo, coreutils, fontconfig, freefont_ttf 4 4 , glib, gmp ··· 22 22 fontDirectories = [ freefont_ttf ]; 23 23 }; 24 24 25 - libPath = stdenv.lib.makeLibraryPath [ 25 + libPath = lib.makeLibraryPath [ 26 26 cairo 27 27 fontconfig 28 28 glib ··· 48 48 pname = "racket"; 49 49 version = "7.9"; # always change at once with ./minimal.nix 50 50 51 - src = (stdenv.lib.makeOverridable ({ name, sha256 }: 51 + src = (lib.makeOverridable ({ name, sha256 }: 52 52 fetchurl { 53 53 url = "https://mirror.racket-lang.org/installers/${version}/${name}-src.tgz"; 54 54 inherit sha256; ··· 60 60 61 61 FONTCONFIG_FILE = fontsConf; 62 62 LD_LIBRARY_PATH = libPath; 63 - NIX_LDFLAGS = stdenv.lib.concatStringsSep " " [ 64 - (stdenv.lib.optionalString (stdenv.cc.isGNU && ! stdenv.isDarwin) "-lgcc_s") 65 - (stdenv.lib.optionalString stdenv.isDarwin "-framework CoreFoundation") 63 + NIX_LDFLAGS = lib.concatStringsSep " " [ 64 + (lib.optionalString (stdenv.cc.isGNU && ! stdenv.isDarwin) "-lgcc_s") 65 + (lib.optionalString stdenv.isDarwin "-framework CoreFoundation") 66 66 ]; 67 67 68 68 nativeBuildInputs = [ cacert wrapGAppsHook ]; 69 69 70 70 buildInputs = [ fontconfig libffi libtool sqlite gsettings-desktop-schemas gtk3 ] 71 - ++ stdenv.lib.optionals stdenv.isDarwin [ libiconv CoreFoundation ]; 71 + ++ lib.optionals stdenv.isDarwin [ libiconv CoreFoundation ]; 72 72 73 73 preConfigure = '' 74 74 unset AR ··· 83 83 84 84 shared = if stdenv.isDarwin then "dylib" else "shared"; 85 85 configureFlags = [ "--enable-${shared}" "--enable-lt=${libtool}/bin/libtool" ] 86 - ++ stdenv.lib.optional disableDocs [ "--disable-docs" ] 87 - ++ stdenv.lib.optional stdenv.isDarwin [ "--enable-xonx" ]; 86 + ++ lib.optional disableDocs [ "--disable-docs" ] 87 + ++ lib.optional stdenv.isDarwin [ "--enable-xonx" ]; 88 88 89 89 configureScript = "../configure"; 90 90 91 91 enableParallelBuilding = false; 92 92 93 93 94 - meta = with stdenv.lib; { 94 + meta = with lib; { 95 95 description = "A programmable programming language"; 96 96 longDescription = '' 97 97 Racket is a full-spectrum programming language. It goes beyond
+1 -1
pkgs/development/interpreters/rakudo/default.nix
··· 22 22 # Some tests fail on Darwin 23 23 doCheck = !stdenv.isDarwin; 24 24 25 - meta = with stdenv.lib; { 25 + meta = with lib; { 26 26 description = "Raku implementation on top of Moar virtual machine"; 27 27 homepage = "https://www.rakudo.org"; 28 28 license = licenses.artistic2;
+3 -3
pkgs/development/interpreters/rakudo/moarvm.nix
··· 1 - { stdenv, fetchurl, perl 1 + { lib, stdenv, fetchurl, perl 2 2 , CoreServices, ApplicationServices }: 3 3 4 4 stdenv.mkDerivation rec { ··· 10 10 sha256 = "18iys1bdb92asggrsz7sg1hh76j7kq63c3fgg33fnla18qf4z488"; 11 11 }; 12 12 13 - buildInputs = [ perl ] ++ stdenv.lib.optionals stdenv.isDarwin [ CoreServices ApplicationServices ]; 13 + buildInputs = [ perl ] ++ lib.optionals stdenv.isDarwin [ CoreServices ApplicationServices ]; 14 14 doCheck = false; # MoarVM does not come with its own test suite 15 15 16 16 configureScript = "${perl}/bin/perl ./Configure.pl"; 17 17 18 - meta = with stdenv.lib; { 18 + meta = with lib; { 19 19 description = "VM with adaptive optimization and JIT compilation, built for Rakudo"; 20 20 homepage = "https://www.moarvm.org/"; 21 21 license = licenses.artistic2;
+1 -1
pkgs/development/interpreters/rakudo/nqp.nix
··· 19 19 20 20 doCheck = true; 21 21 22 - meta = with stdenv.lib; { 22 + meta = with lib; { 23 23 description = "Not Quite Perl -- a lightweight Raku-like environment for virtual machines"; 24 24 homepage = "https://github.com/perl6/nqp"; 25 25 license = licenses.artistic2;
+2 -2
pkgs/development/interpreters/rakudo/zef.nix
··· 1 - { stdenv, fetchFromGitHub, rakudo, makeWrapper }: 1 + { lib, stdenv, fetchFromGitHub, rakudo, makeWrapper }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "zef"; ··· 24 24 wrapProgram $out/bin/zef --prefix RAKUDOLIB , "inst#$out" 25 25 ''; 26 26 27 - meta = with stdenv.lib; { 27 + meta = with lib; { 28 28 description = "Raku / Perl6 Module Management"; 29 29 homepage = "https://github.com/ugexe/zef"; 30 30 license = licenses.artistic2;
+4 -4
pkgs/development/interpreters/rascal/default.nix
··· 1 - { stdenv, fetchurl, makeWrapper, jdk }: 1 + { lib, stdenv, fetchurl, makeWrapper, jdk }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "rascal-0.6.2"; ··· 22 22 meta = { 23 23 homepage = "https://www.rascal-mpl.org/"; 24 24 description = "Command-line REPL for the Rascal metaprogramming language"; 25 - license = stdenv.lib.licenses.epl10; 26 - maintainers = [ stdenv.lib.maintainers.eelco ]; 27 - platforms = stdenv.lib.platforms.unix; 25 + license = lib.licenses.epl10; 26 + maintainers = [ lib.maintainers.eelco ]; 27 + platforms = lib.platforms.unix; 28 28 }; 29 29 }
+1 -1
pkgs/development/interpreters/rebol/default.nix
··· 33 33 cp r3 $out/bin 34 34 ''; 35 35 36 - meta = with stdenv.lib; { 36 + meta = with lib; { 37 37 description = "Relative expression based object language, a language where code is data"; 38 38 maintainers = with maintainers; [ vrthra ]; 39 39 platforms = [ "x86_64-linux" ];
+2 -2
pkgs/development/interpreters/red/default.nix
··· 1 - { stdenv, stdenv_32bit, pkgsi686Linux, fetchFromGitHub, fetchurl }: 1 + { lib, stdenv, stdenv_32bit, pkgsi686Linux, fetchFromGitHub, fetchurl }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "red"; ··· 77 77 78 78 ''; 79 79 80 - meta = with stdenv.lib; { 80 + meta = with lib; { 81 81 description = '' 82 82 New programming language strongly inspired by Rebol, but with a 83 83 broader field of usage thanks to its native-code compiler, from system
+2 -2
pkgs/development/interpreters/regina/default.nix
··· 1 - { stdenv, fetchurl, ncurses }: 1 + { lib, stdenv, fetchurl, ncurses }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "Regina-REXX"; ··· 15 15 "--libdir=$(out)/lib" 16 16 ]; 17 17 18 - meta = with stdenv.lib; { 18 + meta = with lib; { 19 19 description = "REXX interpreter"; 20 20 maintainers = [ maintainers.raskin ]; 21 21 platforms = platforms.linux;
+3 -3
pkgs/development/interpreters/renpy/default.nix
··· 1 - { stdenv, fetchurl, python2Packages, pkg-config, SDL2 1 + { lib, stdenv, fetchurl, python2Packages, pkg-config, SDL2 2 2 , libpng, ffmpeg_3, freetype, glew, libGL, libGLU, fribidi, zlib 3 3 , glib 4 4 }: ··· 9 9 pname = "renpy"; 10 10 version = "7.3.5"; 11 11 12 - meta = with stdenv.lib; { 12 + meta = with lib; { 13 13 description = "Ren'Py Visual Novel Engine"; 14 14 homepage = "https://renpy.org/"; 15 15 license = licenses.mit; ··· 37 37 38 38 pythonPath = [ pygame_sdl2 tkinter ]; 39 39 40 - RENPY_DEPS_INSTALL = stdenv.lib.concatStringsSep "::" (map (path: path) [ 40 + RENPY_DEPS_INSTALL = lib.concatStringsSep "::" (map (path: path) [ 41 41 SDL2 SDL2.dev libpng ffmpeg_3 ffmpeg_3.out freetype glew.dev glew.out libGLU libGL fribidi zlib 42 42 ]); 43 43
+2 -2
pkgs/development/interpreters/ruby/default.nix
··· 159 159 export GEM_HOME="$out/${passthru.gemPath}" 160 160 ''; 161 161 162 - installFlags = stdenv.lib.optional docSupport "install-doc"; 162 + installFlags = lib.optional docSupport "install-doc"; 163 163 # Bundler tries to create this directory 164 164 postInstall = '' 165 165 # Remove unnecessary groff reference from runtime closure, since it's big ··· 208 208 209 209 disallowedRequisites = op (!jitSupport) stdenv.cc.cc; 210 210 211 - meta = with stdenv.lib; { 211 + meta = with lib; { 212 212 description = "The Ruby language"; 213 213 homepage = "http://www.ruby-lang.org/en/"; 214 214 license = licenses.ruby;
+3 -3
pkgs/development/interpreters/scheme48/default.nix
··· 1 - { stdenv, fetchurl }: 1 + { lib, stdenv, fetchurl }: 2 2 3 3 stdenv.mkDerivation { 4 4 name = "scheme48-1.9.2"; ··· 6 6 meta = { 7 7 homepage = "http://s48.org/"; 8 8 description = "Scheme 48"; 9 - platforms = with stdenv.lib.platforms; unix; 10 - license = stdenv.lib.licenses.bsd3; 9 + platforms = with lib.platforms; unix; 10 + license = lib.licenses.bsd3; 11 11 }; 12 12 13 13 src = fetchurl {
+2 -2
pkgs/development/interpreters/scsh/default.nix
··· 1 - { stdenv, fetchgit, autoreconfHook, scheme48 }: 1 + { lib, stdenv, fetchgit, autoreconfHook, scheme48 }: 2 2 3 3 stdenv.mkDerivation { 4 4 name = "scsh-0.7pre"; ··· 14 14 buildInputs = [ scheme48 ]; 15 15 configureFlags = [ "--with-scheme48=${scheme48}" ]; 16 16 17 - meta = with stdenv.lib; { 17 + meta = with lib; { 18 18 description = "A Scheme shell"; 19 19 homepage = "http://www.scsh.net/"; 20 20 license = licenses.bsd3;
+2 -2
pkgs/development/interpreters/self/default.nix
··· 1 - { stdenv, fetchFromGitHub, libX11, libXext, makeWrapper, ncurses, cmake }: 1 + { lib, stdenv, fetchFromGitHub, libX11, libXext, makeWrapper, ncurses, cmake }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 # The Self wrapper stores source in $XDG_DATA_HOME/self or ~/.local/share/self ··· 35 35 --set SELF_ROOT "$out" 36 36 ''; 37 37 38 - meta = with stdenv.lib; { 38 + meta = with lib; { 39 39 description = "A prototype-based dynamic object-oriented programming language, environment, and virtual machine"; 40 40 homepage = "https://selflanguage.org/"; 41 41 license = licenses.bsd3;
+2 -2
pkgs/development/interpreters/shen-sbcl/default.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 , fetchurl 3 3 , shen-sources 4 4 , sbcl ··· 22 22 mkdir -p $out 23 23 install -m755 -D bin/sbcl/shen $out/bin/shen-sbcl 24 24 ''; 25 - meta = with stdenv.lib; { 25 + meta = with lib; { 26 26 homepage = https://shenlanguage.org; 27 27 description = "Port of Shen running on Steel Bank Common Lisp"; 28 28 platforms = sbcl.meta.platforms;
+2 -2
pkgs/development/interpreters/shen-sources/default.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 , fetchurl 3 3 }: 4 4 ··· 18 18 cp . $out -R 19 19 ''; 20 20 21 - meta = with stdenv.lib; { 21 + meta = with lib; { 22 22 homepage = https://shenlanguage.org; 23 23 description = "Source code for the Shen Language"; 24 24 platforms = platforms.all;
+3 -3
pkgs/development/interpreters/spidermonkey/1.8.5.nix
··· 28 28 url = "https://sources.debian.org/data/main/m/mozjs/1.8.5-1.0.0+dfsg-6/debian/patches/fix-811665.patch"; 29 29 sha256 = "1q8477xqxiy5d8376k5902l45gd0qkd4nxmhl8vr6rr1pxfcny99"; 30 30 }) 31 - ] ++ stdenv.lib.optionals stdenv.isAarch32 [ 31 + ] ++ lib.optionals stdenv.isAarch32 [ 32 32 # Explained below in configureFlags for ARM 33 33 ./1.8.5-findvanilla.patch 34 34 # Fix for hard float flags. ··· 49 49 # of polkit, which is what matters most, it does not override the allocator 50 50 # so the failure of that test does not matter much. 51 51 configureFlags = [ "--enable-threadsafe" "--with-system-nspr" ] ++ 52 - stdenv.lib.optionals (stdenv.hostPlatform.system == "armv5tel-linux") [ 52 + lib.optionals (stdenv.hostPlatform.system == "armv5tel-linux") [ 53 53 "--with-cpu-arch=armv5t" 54 54 "--disable-tracejit" ]; 55 55 ··· 67 67 rm jit-test/tests/sunspider/check-date-format-tofte.js # https://bugzil.la/600522 68 68 ''; 69 69 70 - meta = with stdenv.lib; { 70 + meta = with lib; { 71 71 description = "Mozilla's JavaScript engine written in C/C++"; 72 72 homepage = "https://developer.mozilla.org/en/SpiderMonkey"; 73 73 # TODO: MPL/GPL/LGPL tri-license.
+4 -4
pkgs/development/interpreters/spidermonkey/38.nix
··· 1 - { stdenv, fetchurl, pkg-config, gnused_422, perl, python2, zip, libffi, readline, icu, zlib, buildPackages 1 + { lib, stdenv, fetchurl, pkg-config, gnused_422, perl, python2, zip, libffi, readline, icu, zlib, buildPackages 2 2 , libobjc }: 3 3 4 - with stdenv.lib; 4 + with lib; 5 5 6 6 stdenv.mkDerivation rec { 7 7 version = "38.8.0"; ··· 13 13 }; 14 14 15 15 buildInputs = [ libffi readline icu zlib ] 16 - ++ stdenv.lib.optional stdenv.isDarwin libobjc; 16 + ++ lib.optional stdenv.isDarwin libobjc; 17 17 nativeBuildInputs = [ pkg-config perl python2 zip gnused_422 ]; 18 18 19 19 postUnpack = "sourceRoot=\${sourceRoot}/js/src"; ··· 60 60 done 61 61 ''; 62 62 63 - meta = with stdenv.lib; { 63 + meta = with lib; { 64 64 description = "Mozilla's JavaScript engine written in C/C++"; 65 65 homepage = "https://developer.mozilla.org/en/SpiderMonkey"; 66 66 # TODO: MPL/GPL/LGPL tri-license.
+3 -3
pkgs/development/interpreters/spidermonkey/60.nix
··· 1 - { stdenv, fetchurl, fetchpatch, autoconf213, pkg-config, perl, python2, zip, buildPackages 1 + { lib, stdenv, fetchurl, fetchpatch, autoconf213, pkg-config, perl, python2, zip, buildPackages 2 2 , which, readline, zlib, icu }: 3 3 4 - with stdenv.lib; 4 + with lib; 5 5 6 6 let 7 7 version = "60.9.0"; ··· 73 73 74 74 enableParallelBuilding = true; 75 75 76 - meta = with stdenv.lib; { 76 + meta = with lib; { 77 77 description = "Mozilla's JavaScript engine written in C/C++"; 78 78 homepage = "https://developer.mozilla.org/en/SpiderMonkey"; 79 79 license = licenses.gpl2; # TODO: MPL/GPL/LGPL tri-license.
+3 -3
pkgs/development/interpreters/spidermonkey/68.nix
··· 1 - { stdenv, fetchurl, fetchpatch, autoconf213, pkg-config, perl, python2, python3, zip, buildPackages 1 + { lib, stdenv, fetchurl, fetchpatch, autoconf213, pkg-config, perl, python2, python3, zip, buildPackages 2 2 , which, readline, zlib, icu, cargo, rustc, llvmPackages }: 3 3 4 - with stdenv.lib; 4 + with lib; 5 5 6 6 let 7 7 python3Env = buildPackages.python3.withPackages (p: [p.six]); ··· 85 85 86 86 enableParallelBuilding = true; 87 87 88 - meta = with stdenv.lib; { 88 + meta = with lib; { 89 89 description = "Mozilla's JavaScript engine written in C/C++"; 90 90 homepage = "https://developer.mozilla.org/en/SpiderMonkey"; 91 91 license = licenses.gpl2; # TODO: MPL/GPL/LGPL tri-license.
+3 -3
pkgs/development/interpreters/spidermonkey/78.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 , fetchurl 3 3 , fetchpatch 4 4 , autoconf213 ··· 76 76 # https://src.fedoraproject.org/rpms/mozjs38/c/761399aba092bcb1299bb4fccfd60f370ab4216e 77 77 "--enable-optimize" 78 78 "--enable-release" 79 - ] ++ stdenv.lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ 79 + ] ++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ 80 80 # Spidermonkey seems to use different host/build terminology for cross 81 81 # compilation here. 82 82 "--host=${stdenv.buildPlatform.config}" ··· 96 96 97 97 enableParallelBuilding = true; 98 98 99 - meta = with stdenv.lib; { 99 + meta = with lib; { 100 100 description = "Mozilla's JavaScript engine written in C/C++"; 101 101 homepage = "https://developer.mozilla.org/en/SpiderMonkey"; 102 102 license = licenses.gpl2; # TODO: MPL/GPL/LGPL tri-license.
+3 -3
pkgs/development/interpreters/supercollider/default.nix
··· 1 - { stdenv, fetchurl, cmake, pkg-config, alsaLib 1 + { lib, stdenv, fetchurl, cmake, pkg-config, alsaLib 2 2 , libjack2, libsndfile, fftw, curl, gcc 3 3 , libXt, qtbase, qttools, qtwebengine 4 4 , readline, qtwebsockets, useSCEL ? false, emacs 5 5 }: 6 6 7 - let optional = stdenv.lib.optional; 7 + let optional = lib.optional; 8 8 in 9 9 10 10 stdenv.mkDerivation rec { ··· 31 31 ++ optional (!stdenv.isDarwin) alsaLib 32 32 ++ optional useSCEL emacs; 33 33 34 - meta = with stdenv.lib; { 34 + meta = with lib; { 35 35 description = "Programming language for real time audio synthesis"; 36 36 homepage = "https://supercollider.github.io"; 37 37 maintainers = with maintainers; [ mrmebelman ];
+3 -3
pkgs/development/interpreters/tcl/generic.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 3 3 # Version specific stuff 4 4 , release, version, src ··· 27 27 # Don't install tzdata because NixOS already has a more up-to-date copy. 28 28 "--with-tzdata=no" 29 29 "tcl_cv_strtod_unbroken=ok" 30 - ] ++ stdenv.lib.optional stdenv.is64bit "--enable-64bit"; 30 + ] ++ lib.optional stdenv.is64bit "--enable-64bit"; 31 31 32 32 enableParallelBuilding = true; 33 33 ··· 39 39 ln -s $out/lib/libtcl${release}${dllExtension} $out/lib/libtcl${dllExtension} 40 40 ''; 41 41 42 - meta = with stdenv.lib; { 42 + meta = with lib; { 43 43 description = "The Tcl scripting language"; 44 44 homepage = "https://www.tcl.tk/"; 45 45 license = licenses.tcltk;
+3 -3
pkgs/development/interpreters/tclreadline/default.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 , fetchFromGitHub 3 3 , automake 4 4 , autoconf ··· 43 43 44 44 # The provided makefile leaves a wrong reference to /build/ in RPATH, 45 45 # so we fix it after checking that everything is also present in $out 46 - preFixup = stdenv.lib.optionalString stdenv.isLinux '' 46 + preFixup = lib.optionalString stdenv.isLinux '' 47 47 needed_libraries=$(ls .libs | grep '\.\(so\|la\)$') 48 48 for lib in $needed_libraries; do 49 49 if ! ls $out/lib | grep "$lib"; then ··· 58 58 done 59 59 ''; 60 60 61 - meta = with stdenv.lib; { 61 + meta = with lib; { 62 62 description = "GNU readline for interactive tcl shells"; 63 63 homepage = "https://github.com/flightaware/tclreadline"; 64 64 license = licenses.bsd3;
+2 -2
pkgs/development/interpreters/tinyscheme/default.nix
··· 1 - { stdenv, fetchurl }: 1 + { lib, stdenv, fetchurl }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "tinyscheme"; ··· 19 19 cp scheme $out/bin/tinyscheme 20 20 ''; 21 21 22 - meta = with stdenv.lib; { 22 + meta = with lib; { 23 23 description = "Lightweight Scheme implementation"; 24 24 longDescription = '' 25 25 TinyScheme is a lightweight Scheme interpreter that implements as large a
+2 -2
pkgs/development/interpreters/unicon-lang/default.nix
··· 1 - { stdenv, fetchurl, unzip, libX11, libXt, libnsl }: 1 + { lib, stdenv, fetchurl, unzip, libX11, libXt, libnsl }: 2 2 3 3 stdenv.mkDerivation { 4 4 pname = "unicon-lang"; ··· 33 33 cp -r bin $out/ 34 34 ''; 35 35 36 - meta = with stdenv.lib; { 36 + meta = with lib; { 37 37 description = "A very high level, goal-directed, object-oriented, general purpose applications language"; 38 38 maintainers = with maintainers; [ vrthra ]; 39 39 platforms = platforms.linux;
+3 -3
pkgs/development/java-modules/build-maven-package.nix
··· 1 - { stdenv, maven, pkgs }: 1 + { lib, stdenv, maven, pkgs }: 2 2 { mavenDeps, src, name, meta, m2Path, skipTests ? true, quiet ? true, ... }: 3 3 4 4 with builtins; 5 - with stdenv.lib; 5 + with lib; 6 6 7 7 let 8 - mavenMinimal = import ./maven-minimal.nix { inherit pkgs stdenv; }; 8 + mavenMinimal = import ./maven-minimal.nix { inherit lib pkgs stdenv; }; 9 9 in stdenv.mkDerivation rec { 10 10 inherit mavenDeps src name meta m2Path; 11 11
+4 -4
pkgs/development/java-modules/junit/default.nix
··· 1 - { stdenv, pkgs, mavenbuild, fetchMaven }: 1 + { lib, stdenv, pkgs, mavenbuild, fetchMaven }: 2 2 3 3 with pkgs.javaPackages; 4 4 ··· 21 21 meta = { 22 22 homepage = "https://junit.org/junit4/"; 23 23 description = "Simple framework to write repeatable tests. It is an instance of the xUnit architecture for unit testing frameworks"; 24 - license = stdenv.lib.licenses.epl10; 25 - platforms = stdenv.lib.platforms.all; 26 - maintainers = with stdenv.lib.maintainers; 24 + license = lib.licenses.epl10; 25 + platforms = lib.platforms.all; 26 + maintainers = with lib.maintainers; 27 27 [ nequissimus ]; 28 28 }; 29 29 };
+4 -4
pkgs/development/java-modules/maven-hello/default.nix
··· 1 - { stdenv, pkgs, mavenbuild }: 1 + { lib, stdenv, pkgs, mavenbuild }: 2 2 3 3 with pkgs.javaPackages; 4 4 ··· 20 20 meta = { 21 21 homepage = "https://github.com/NeQuissimus/maven-hello/"; 22 22 description = "Maven Hello World"; 23 - license = stdenv.lib.licenses.unlicense; 24 - platforms = stdenv.lib.platforms.all; 25 - maintainers = with stdenv.lib.maintainers; 23 + license = lib.licenses.unlicense; 24 + platforms = lib.platforms.all; 25 + maintainers = with lib.maintainers; 26 26 [ nequissimus ]; 27 27 }; 28 28 };
+2 -2
pkgs/development/java-modules/maven-minimal.nix
··· 1 - { stdenv, pkgs }: 1 + { lib, stdenv, pkgs }: 2 2 3 - with stdenv.lib; 3 + with lib; 4 4 with pkgs.javaPackages; 5 5 6 6 let
+1 -1
pkgs/development/libraries/SDL/default.nix
··· 1 1 { lib, stdenv, config, fetchurl, fetchpatch, pkg-config, audiofile, libcap, libiconv 2 - , libGLSupported ? lib.elem stdenv.hostPlatform.system stdenv.lib.platforms.mesaPlatforms 2 + , libGLSupported ? lib.elem stdenv.hostPlatform.system lib.platforms.mesaPlatforms 3 3 , openglSupport ? libGLSupported, libGL, libGLU 4 4 , alsaSupport ? stdenv.isLinux && !stdenv.hostPlatform.isAndroid, alsaLib 5 5 , x11Support ? !stdenv.isCygwin && !stdenv.hostPlatform.isAndroid
+1 -1
pkgs/development/libraries/SDL2/default.nix
··· 1 1 { lib, stdenv, config, fetchurl, pkg-config 2 - , libGLSupported ? lib.elem stdenv.hostPlatform.system stdenv.lib.platforms.mesaPlatforms 2 + , libGLSupported ? lib.elem stdenv.hostPlatform.system lib.platforms.mesaPlatforms 3 3 , openglSupport ? libGLSupported, libGL 4 4 , alsaSupport ? stdenv.isLinux && !stdenv.hostPlatform.isAndroid, alsaLib 5 5 , x11Support ? !stdenv.isCygwin && !stdenv.hostPlatform.isAndroid
+1 -1
pkgs/development/libraries/aravis/default.nix
··· 20 20 let 21 21 gstreamerAtLeastVersion1 = 22 22 lib.all 23 - (pkg: pkg != null && lib.versionAtLeast (stdenv.lib.getVersion pkg) "1.0") 23 + (pkg: pkg != null && lib.versionAtLeast (lib.getVersion pkg) "1.0") 24 24 [ gstreamer gst-plugins-base gst-plugins-good gst-plugins-bad ]; 25 25 in 26 26 assert enableGstPlugin -> lib.all (pkg: pkg != null) [ gstreamer gst-plugins-base gst-plugins-good gst-plugins-bad ];
+1 -1
pkgs/development/libraries/atk/default.nix
··· 55 55 license = lib.licenses.lgpl2Plus; 56 56 57 57 maintainers = with lib.maintainers; [ raskin ]; 58 - platforms = lib.platforms.linux ++ stdenv.lib.platforms.darwin; 58 + platforms = lib.platforms.linux ++ lib.platforms.darwin; 59 59 }; 60 60 61 61 }
+4 -3
pkgs/development/libraries/boost/generic.nix
··· 14 14 , enableNumpy ? false 15 15 , taggedLayout ? ((enableRelease && enableDebug) || (enableSingleThreaded && enableMultiThreaded) || (enableShared && enableStatic)) 16 16 , patches ? [] 17 - , mpi ? null 17 + , useMpi ? false 18 + , mpi 18 19 , extraB2Args ? [] 19 20 20 21 # Attributes inherit from specific versions ··· 94 95 ++ optional (variant == "release") "debug-symbols=off" 95 96 ++ optional (toolset != null) "toolset=${toolset}" 96 97 ++ optional (!enablePython) "--without-python" 97 - ++ optional (mpi != null || stdenv.hostPlatform != stdenv.buildPlatform) "--user-config=user-config.jam" 98 + ++ optional (useMpi || stdenv.hostPlatform != stdenv.buildPlatform) "--user-config=user-config.jam" 98 99 ++ optionals (stdenv.hostPlatform.libc == "msvcrt") [ 99 100 "threadapi=win32" 100 101 ] ++ extraB2Args ··· 140 141 substituteInPlace tools/build/src/tools/clang-darwin.jam \ 141 142 --replace '@rpath/$(<[1]:D=)' "$out/lib/\$(<[1]:D=)"; 142 143 fi; 143 - '' + optionalString (mpi != null) '' 144 + '' + optionalString useMpi '' 144 145 cat << EOF >> user-config.jam 145 146 using mpi : ${mpi}/bin/mpiCC ; 146 147 EOF
+2 -2
pkgs/development/libraries/cairo/default.nix
··· 3 3 , x11Support? !stdenv.isDarwin, libXext, libXrender 4 4 , gobjectSupport ? true, glib 5 5 , xcbSupport ? x11Support, libxcb, xcbutil # no longer experimental since 1.12 6 - , libGLSupported ? lib.elem stdenv.hostPlatform.system stdenv.lib.platforms.mesaPlatforms 6 + , libGLSupported ? lib.elem stdenv.hostPlatform.system lib.platforms.mesaPlatforms 7 7 , glSupport ? x11Support && config.cairo.gl or (libGLSupported && stdenv.isLinux) 8 8 , libGL ? null # libGLU libGL is no longer a big dependency 9 9 , pdfSupport ? true ··· 20 20 inherit version; 21 21 22 22 src = fetchurl { 23 - url = "https://cairographics.org/${if lib.mod (builtins.fromJSON (stdenv.lib.versions.minor version)) 2 == 0 then "releases" else "snapshots"}/${pname}-${version}.tar.xz"; 23 + url = "https://cairographics.org/${if lib.mod (builtins.fromJSON (lib.versions.minor version)) 2 == 0 then "releases" else "snapshots"}/${pname}-${version}.tar.xz"; 24 24 sha256 = "0c930mk5xr2bshbdljv005j3j8zr47gqmkry3q6qgvqky6rjjysy"; 25 25 }; 26 26
+1 -1
pkgs/development/libraries/clutter-gst/default.nix
··· 30 30 license = lib.licenses.lgpl2Plus; 31 31 32 32 maintainers = with lib.maintainers; [ lethalman ]; 33 - platforms = lib.platforms.gnu ++ stdenv.lib.platforms.linux; # arbitrary choice 33 + platforms = lib.platforms.gnu ++ lib.platforms.linux; # arbitrary choice 34 34 }; 35 35 }
+1 -1
pkgs/development/libraries/clutter-gtk/default.nix
··· 32 32 homepage = "http://www.clutter-project.org/"; 33 33 license = lib.licenses.lgpl2Plus; 34 34 maintainers = with lib.maintainers; [ lethalman ]; 35 - platforms = lib.platforms.gnu ++ stdenv.lib.platforms.linux; # arbitrary choice 35 + platforms = lib.platforms.gnu ++ lib.platforms.linux; # arbitrary choice 36 36 }; 37 37 }
+1 -1
pkgs/development/libraries/glibc/common.nix
··· 158 158 "--enable-kernel=3.2.0" # can't get below with glibc >= 2.26 159 159 ] ++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ 160 160 (lib.flip lib.withFeature "fp" 161 - (stdenv.hostPlatform.platform.gcc.float or (stdenv.hostPlatform.parsed.abi.float or "hard") == "soft")) 161 + (stdenv.hostPlatform.gcc.float or (stdenv.hostPlatform.parsed.abi.float or "hard") == "soft")) 162 162 "--with-__thread" 163 163 ] ++ lib.optionals (stdenv.hostPlatform == stdenv.buildPlatform && stdenv.hostPlatform.isAarch32) [ 164 164 "--host=arm-linux-gnueabi"
+2 -2
pkgs/development/libraries/globalarrays/default.nix
··· 1 1 { lib, stdenv, fetchpatch, fetchFromGitHub, autoreconfHook 2 - , blas, gfortran, openssh, openmpi 2 + , blas, gfortran, openssh, mpi 3 3 } : 4 4 5 5 let ··· 17 17 }; 18 18 19 19 nativeBuildInputs = [ autoreconfHook ]; 20 - buildInputs = [ openmpi blas gfortran openssh ]; 20 + buildInputs = [ mpi blas gfortran openssh ]; 21 21 22 22 preConfigure = '' 23 23 configureFlagsArray+=( "--enable-i8" \
+56 -50
pkgs/development/libraries/gtk/3.x.nix
··· 3 3 , fetchpatch 4 4 , pkg-config 5 5 , gettext 6 - , docbook_xsl 6 + , docbook-xsl-nons 7 7 , docbook_xml_dtd_43 8 8 , gtk-doc 9 9 , meson ··· 48 48 49 49 assert cupsSupport -> cups != null; 50 50 51 - with lib; 52 - 53 51 stdenv.mkDerivation rec { 54 52 pname = "gtk+3"; 55 53 version = "3.24.24"; 56 54 57 - outputs = [ "out" "dev" ] ++ optional withGtkDoc "devdoc"; 55 + outputs = [ "out" "dev" ] ++ lib.optional withGtkDoc "devdoc"; 58 56 outputBin = "dev"; 59 57 60 58 setupHooks = [ ··· 69 67 70 68 patches = [ 71 69 ./patches/3.0-immodules.cache.patch 70 + 72 71 (fetchpatch { 73 72 name = "Xft-setting-fallback-compute-DPI-properly.patch"; 74 73 url = "https://bug757142.bugzilla-attachments.gnome.org/attachment.cgi?id=344123"; 75 74 sha256 = "0g6fhqcv8spfy3mfmxpyji93k8d4p4q4fz1v9a1c1cgcwkz41d7p"; 76 75 }) 77 - ] ++ optionals stdenv.isDarwin [ 76 + ] ++ lib.optionals stdenv.isDarwin [ 78 77 # X11 module requires <gio/gdesktopappinfo.h> which is not installed on Darwin 79 78 # let’s drop that dependency in similar way to how other parts of the library do it 80 79 # e.g. https://gitlab.gnome.org/GNOME/gtk/blob/3.24.4/gtk/gtk-launch.c#L31-33 ··· 82 81 ./patches/3.0-darwin-x11.patch 83 82 ]; 84 83 85 - separateDebugInfo = stdenv.isLinux; 86 - 87 - mesonFlags = [ 88 - "-Dgtk_doc=${boolToString withGtkDoc}" 89 - "-Dtests=false" 90 - "-Dtracker3=${boolToString trackerSupport}" 91 - "-Dbroadway_backend=${boolToString broadwaySupport}" 92 - ]; 93 - 94 - # These are the defines that'd you'd get with --enable-debug=minimum (default). 95 - # See: https://developer.gnome.org/gtk3/stable/gtk-building.html#extra-configuration-options 96 - NIX_CFLAGS_COMPILE = "-DG_ENABLE_DEBUG -DG_DISABLE_CAST_CHECKS"; 97 - 98 - postPatch = '' 99 - files=( 100 - build-aux/meson/post-install.py 101 - demos/gtk-demo/geninclude.py 102 - gdk/broadway/gen-c-array.py 103 - gdk/gen-gdk-gresources-xml.py 104 - gtk/cursor/dnd-copy.png 105 - gtk/gen-gtk-gresources-xml.py 106 - gtk/gen-rc.py 107 - gtk/gentypefuncs.py 108 - ) 109 - 110 - chmod +x ''${files[@]} 111 - patchShebangs ''${files[@]} 112 - ''; 113 - 114 84 nativeBuildInputs = [ 115 85 gettext 116 86 gobject-introspection ··· 120 90 pkg-config 121 91 python3 122 92 sassc 123 - ] ++ setupHooks ++ optionals withGtkDoc [ 93 + ] ++ setupHooks ++ lib.optionals withGtkDoc [ 124 94 docbook_xml_dtd_43 125 - docbook_xsl 95 + docbook-xsl-nons 126 96 gtk-doc 127 97 # For xmllint 128 98 libxml2 ··· 133 103 epoxy 134 104 json-glib 135 105 isocodes 136 - ] 137 - ++ optional stdenv.isDarwin AppKit 138 - ++ optional trackerSupport tracker 139 - ; 106 + ] ++ lib.optionals stdenv.isDarwin [ 107 + AppKit 108 + ] ++ lib.optionals trackerSupport [ 109 + tracker 110 + ]; 111 + #TODO: colord? 140 112 141 113 propagatedBuildInputs = with xorg; [ 142 114 at-spi2-atk ··· 155 127 libXrandr 156 128 libXrender 157 129 pango 158 - ] 159 - ++ optional stdenv.isDarwin Cocoa # explicitly propagated, always needed 160 - ++ optionals waylandSupport [ mesa wayland wayland-protocols ] 161 - ++ optional xineramaSupport libXinerama 162 - ++ optional cupsSupport cups 163 - ; 164 - #TODO: colord? 130 + ] ++ lib.optionals stdenv.isDarwin [ 131 + # explicitly propagated, always needed 132 + Cocoa 133 + ] ++ lib.optionals waylandSupport [ 134 + mesa 135 + wayland 136 + wayland-protocols 137 + ] ++ lib.optionals xineramaSupport [ 138 + libXinerama 139 + ] ++ lib.optionals cupsSupport [ 140 + cups 141 + ]; 142 + 143 + mesonFlags = [ 144 + "-Dgtk_doc=${lib.boolToString withGtkDoc}" 145 + "-Dtests=false" 146 + "-Dtracker3=${lib.boolToString trackerSupport}" 147 + "-Dbroadway_backend=${lib.boolToString broadwaySupport}" 148 + ]; 165 149 166 150 doCheck = false; # needs X11 167 151 168 - postInstall = optionalString (!stdenv.isDarwin) '' 152 + separateDebugInfo = stdenv.isLinux; 153 + 154 + # These are the defines that'd you'd get with --enable-debug=minimum (default). 155 + # See: https://developer.gnome.org/gtk3/stable/gtk-building.html#extra-configuration-options 156 + NIX_CFLAGS_COMPILE = "-DG_ENABLE_DEBUG -DG_DISABLE_CAST_CHECKS"; 157 + 158 + postPatch = '' 159 + files=( 160 + build-aux/meson/post-install.py 161 + demos/gtk-demo/geninclude.py 162 + gdk/broadway/gen-c-array.py 163 + gdk/gen-gdk-gresources-xml.py 164 + gtk/cursor/dnd-copy.png 165 + gtk/gen-gtk-gresources-xml.py 166 + gtk/gen-rc.py 167 + gtk/gentypefuncs.py 168 + ) 169 + 170 + chmod +x ''${files[@]} 171 + patchShebangs ''${files[@]} 172 + ''; 173 + 174 + postInstall = lib.optionalString (!stdenv.isDarwin) '' 169 175 # The updater is needed for nixos env and it's tiny. 170 176 moveToOutput bin/gtk-update-icon-cache "$out" 171 177 # Launcher ··· 178 184 ''; 179 185 180 186 # Wrap demos 181 - postFixup = optionalString (!stdenv.isDarwin) '' 187 + postFixup = lib.optionalString (!stdenv.isDarwin) '' 182 188 demos=(gtk3-demo gtk3-demo-application gtk3-icon-browser gtk3-widget-factory) 183 189 184 190 for program in ''${demos[@]}; do ··· 194 200 }; 195 201 }; 196 202 197 - meta = { 203 + meta = with lib; { 198 204 description = "A multi-platform toolkit for creating graphical user interfaces"; 199 205 longDescription = '' 200 206 GTK is a highly usable, feature rich toolkit for creating
+1 -1
pkgs/development/libraries/gts/default.nix
··· 43 43 ''; 44 44 45 45 maintainers = [ lib.maintainers.viric ]; 46 - platforms = lib.platforms.linux ++ stdenv.lib.platforms.darwin; 46 + platforms = lib.platforms.linux ++ lib.platforms.darwin; 47 47 }; 48 48 }
+2 -1
pkgs/development/libraries/hdf5-blosc/default.nix
··· 15 15 16 16 outputs = [ "out" "dev" "plugin" ]; 17 17 18 - buildInputs = [ c-blosc cmake hdf5 ]; 18 + nativeBuildInputs = [ cmake ]; 19 + buildInputs = [ c-blosc hdf5 ]; 19 20 20 21 preConfigure = '' 21 22 substituteInPlace CMakeLists.txt --replace 'set(BLOSC_INSTALL_DIR "''${CMAKE_CURRENT_BINARY_DIR}/blosc")' 'set(BLOSC_INSTALL_DIR "${c-blosc}")'
+8 -2
pkgs/development/libraries/intel-gmmlib/default.nix
··· 4 4 5 5 stdenv.mkDerivation rec { 6 6 pname = "intel-gmmlib"; 7 - version = "20.3.3"; 7 + version = "20.4.1"; 8 8 9 9 src = fetchFromGitHub { 10 10 owner = "intel"; 11 11 repo = "gmmlib"; 12 12 rev = "${pname}-${version}"; 13 - sha256 = "1diq1gqpfv5bawvag6bzwnd3ilhacwmwx3bl67abjvbb0m3jw4lk"; 13 + sha256 = "0qb0wpinfv8lg1pq1pxkl6v0kd8ax86m8zxzm6zjx91alsch1mi6"; 14 14 }; 15 15 16 16 nativeBuildInputs = [ cmake ]; ··· 19 19 homepage = "https://github.com/intel/gmmlib"; 20 20 license = licenses.mit; 21 21 description = "Intel Graphics Memory Management Library"; 22 + longDescription = '' 23 + The Intel(R) Graphics Memory Management Library provides device specific 24 + and buffer management for the Intel(R) Graphics Compute Runtime for 25 + OpenCL(TM) and the Intel(R) Media Driver for VAAPI. 26 + ''; 22 27 platforms = [ "x86_64-linux" ]; 28 + maintainers = with maintainers; [ primeos ]; 23 29 }; 24 30 }
+2 -2
pkgs/development/libraries/intel-media-driver/default.nix
··· 6 6 7 7 stdenv.mkDerivation rec { 8 8 pname = "intel-media-driver"; 9 - version = "20.4.5"; 9 + version = "21.1.0"; 10 10 11 11 src = fetchFromGitHub { 12 12 owner = "intel"; 13 13 repo = "media-driver"; 14 14 rev = "intel-media-${version}"; 15 - sha256 = "149xkhhp8q06c1jzxjs24lnbfrlvf19m0hcwld593vv4arfpbpmf"; 15 + sha256 = "17cgs52f42jdvfb6q3wpkxaz2b41z59jdribpgb9qmcvizsnglxc"; 16 16 }; 17 17 18 18 cmakeFlags = [
+1 -1
pkgs/development/libraries/irrlicht/default.nix
··· 33 33 homepage = "http://irrlicht.sourceforge.net/"; 34 34 license = lib.licenses.zlib; 35 35 description = "Open source high performance realtime 3D engine written in C++"; 36 - platforms = lib.platforms.linux ++ stdenv.lib.platforms.darwin; 36 + platforms = lib.platforms.linux ++ lib.platforms.darwin; 37 37 }; 38 38 }
+1 -1
pkgs/development/libraries/java/hsqldb/default.nix
··· 3 3 stdenv.mkDerivation rec { 4 4 pname = "hsqldb"; 5 5 version = "2.5.1"; 6 - underscoreMajMin = lib.strings.replaceChars ["."] ["_"] (stdenv.lib.versions.majorMinor version); 6 + underscoreMajMin = lib.strings.replaceChars ["."] ["_"] (lib.versions.majorMinor version); 7 7 8 8 src = fetchurl { 9 9 url = "mirror://sourceforge/project/hsqldb/hsqldb/hsqldb_${underscoreMajMin}/hsqldb-${version}.zip";
+1 -1
pkgs/development/libraries/java/junixsocket/default.nix
··· 37 37 description = "A Java/JNI library for using Unix Domain Sockets from Java"; 38 38 homepage = "https://github.com/kohlschutter/junixsocket"; 39 39 license = lib.licenses.asl20; 40 - platforms = lib.platforms.linux ++ stdenv.lib.platforms.darwin; 40 + platforms = lib.platforms.linux ++ lib.platforms.darwin; 41 41 }; 42 42 }
+12 -8
pkgs/development/libraries/libgadu/default.nix
··· 1 - {lib, stdenv, fetchurl, zlib}: 1 + { lib, stdenv, fetchFromGitHub, zlib, protobufc, autoreconfHook }: 2 2 3 - stdenv.mkDerivation { 4 - 5 - name = "libgadu-1.11.2"; 3 + stdenv.mkDerivation rec { 4 + pname = "libgadu"; 5 + version = "1.12.2"; 6 6 7 - src = fetchurl { 8 - url = "http://toxygen.net/libgadu/files/libgadu-1.11.2.tar.gz"; 9 - sha256 = "0kifi9blhbimihqw4kaf6wyqhlx8fpp8nq4s6y280ar9p0il2n3z"; 7 + src = fetchFromGitHub { 8 + owner = "wojtekka"; 9 + repo = pname; 10 + rev = version; 11 + sha256 = "1s16cripy5w9k12534qb012iwc5m9qcjyrywgsziyn3kl3i0aa8h"; 10 12 }; 11 13 12 14 propagatedBuildInputs = [ zlib ]; 15 + buildInputs = [ protobufc ]; 16 + nativeBuildInputs = [ autoreconfHook ]; 13 17 14 18 meta = { 15 19 description = "A library to deal with gadu-gadu protocol (most popular polish IM protocol)"; 16 - homepage = "http://toxygen.net/libgadu/"; 20 + homepage = "https://libgadu.net/index.en.html"; 17 21 platforms = lib.platforms.linux; 18 22 license = lib.licenses.lgpl21; 19 23 };
+1 -1
pkgs/development/libraries/libgpod/default.nix
··· 39 39 homepage = "https://gtkpod.sourceforge.net/"; 40 40 description = "Library used by gtkpod to access the contents of an ipod"; 41 41 license = "LGPL"; 42 - platforms = lib.platforms.gnu ++ stdenv.lib.platforms.linux; 42 + platforms = lib.platforms.gnu ++ lib.platforms.linux; 43 43 maintainers = [ ]; 44 44 }; 45 45 }
+11 -15
pkgs/development/libraries/libpgf/default.nix
··· 1 - { lib, stdenv, fetchurl, autoconf, automake, libtool, dos2unix }: 1 + { lib, stdenv, fetchzip, autoreconfHook }: 2 2 3 - with lib; 4 - 5 - let 6 - version = "6.14.12"; 7 - in 8 - stdenv.mkDerivation { 3 + stdenv.mkDerivation rec { 9 4 pname = "libpgf"; 10 - inherit version; 5 + version = "7.21.2"; 11 6 12 - src = fetchurl { 13 - url = "mirror://sourceforge/libpgf/libpgf-src-${version}.tar.gz"; 14 - sha256 = "1ssqjbh6l5jc04f67n47m9bqcigl46c6lgyabyi6cabnh1frk9dx"; 7 + src = fetchzip { 8 + url = "mirror://sourceforge/${pname}/${pname}/${version}/${pname}.zip"; 9 + sha256 = "0l1j5b1d02jn27miggihlppx656i0pc70cn6x89j1rpj33zn0g9r"; 15 10 }; 16 11 17 - buildInputs = [ autoconf automake libtool dos2unix ]; 12 + nativeBuildInputs = [ autoreconfHook ]; 18 13 19 - preConfigure = "dos2unix configure.ac; sh autogen.sh"; 20 - 21 - # configureFlags = optional static "--enable-static --disable-shared"; 14 + autoreconfPhase = '' 15 + mv README.txt README 16 + sh autogen.sh 17 + ''; 22 18 23 19 meta = { 24 20 homepage = "https://www.libpgf.org/";
+1 -1
pkgs/development/libraries/libre/default.nix
··· 9 9 buildInputs = [ zlib openssl ]; 10 10 makeFlags = [ "USE_ZLIB=1" "USE_OPENSSL=1" "PREFIX=$(out)" ] 11 11 ++ lib.optional (stdenv.cc.cc != null) "SYSROOT_ALT=${stdenv.cc.cc}" 12 - ++ lib.optional (stdenv.cc.libc != null) "SYSROOT=${stdenv.lib.getDev stdenv.cc.libc}" 12 + ++ lib.optional (stdenv.cc.libc != null) "SYSROOT=${lib.getDev stdenv.cc.libc}" 13 13 ; 14 14 meta = { 15 15 description = "A library for real-time communications with async IO support and a complete SIP stack";
+2 -2
pkgs/development/libraries/libredwg/default.nix
··· 6 6 in 7 7 stdenv.mkDerivation rec { 8 8 pname = "libredwg"; 9 - version = "0.10.1.3707"; 9 + version = "0.12"; 10 10 11 11 src = fetchFromGitHub { 12 12 owner = "LibreDWG"; 13 13 repo = pname; 14 14 rev = version; 15 - sha256 = "009n96lx4ahf05ryvm09z0l9956vz94r8pliyb88j0jficl0pxkf"; 15 + sha256 = "0ayhp3ym30hzp5f6dz7mmp9hpxf6a48nx3kq5crcmzycm5fllbn7"; 16 16 fetchSubmodules = true; 17 17 }; 18 18
+2 -2
pkgs/development/libraries/librem/default.nix
··· 12 12 "LIBRE_INC=${libre}/include/re" 13 13 ''PREFIX=$(out)'' 14 14 ] 15 - ++ lib.optional (stdenv.cc.cc != null) "SYSROOT_ALT=${stdenv.lib.getDev stdenv.cc.cc}" 16 - ++ lib.optional (stdenv.cc.libc != null) "SYSROOT=${stdenv.lib.getDev stdenv.cc.libc}" 15 + ++ lib.optional (stdenv.cc.cc != null) "SYSROOT_ALT=${lib.getDev stdenv.cc.cc}" 16 + ++ lib.optional (stdenv.cc.libc != null) "SYSROOT=${lib.getDev stdenv.cc.libc}" 17 17 ; 18 18 meta = { 19 19 description = " A library for real-time audio and video processing";
+1 -1
pkgs/development/libraries/libsmartcols/default.nix
··· 25 25 description = "smart column output alignment library"; 26 26 homepage = https://github.com/karelzak/util-linux/tree/master/libsmartcols; 27 27 license = lib.licenses.gpl2Plus; 28 - platforms = lib.platforms.linux ++ stdenv.lib.platforms.darwin; 28 + platforms = lib.platforms.linux ++ lib.platforms.darwin; 29 29 maintainers = with lib.maintainers; [ rb2k ]; 30 30 }; 31 31 }
+1 -1
pkgs/development/libraries/libsmi/default.nix
··· 13 13 description = "A Library to Access SMI MIB Information"; 14 14 homepage = "https://www.ibr.cs.tu-bs.de/projects/libsmi/index.html"; 15 15 license = licenses.free; 16 - platforms = lib.platforms.linux ++ stdenv.lib.platforms.darwin; 16 + platforms = lib.platforms.linux ++ lib.platforms.darwin; 17 17 }; 18 18 }
+1 -1
pkgs/development/libraries/libsnark/default.nix
··· 24 24 description = "C++ library for zkSNARKs"; 25 25 homepage = "https://github.com/scipr-lab/libsnark"; 26 26 license = licenses.mit; 27 - platforms = lib.platforms.linux ++ stdenv.lib.platforms.darwin; 27 + platforms = lib.platforms.linux ++ lib.platforms.darwin; 28 28 }; 29 29 }
+1 -1
pkgs/development/libraries/libvirt/default.nix
··· 92 92 --replace 'lxc_path,' '"/run/libvirt/nix-emulators/libvirt_lxc",' 93 93 patchShebangs . # fixes /usr/bin/python references 94 94 '' 95 - + (lib.concatStringsSep "\n" (stdenv.lib.mapAttrsToList patchBuilder overrides)); 95 + + (lib.concatStringsSep "\n" (lib.mapAttrsToList patchBuilder overrides)); 96 96 97 97 mesonAutoFeatures = "auto"; 98 98
+1 -1
pkgs/development/libraries/libxmi/default.nix
··· 15 15 description = "Library for rasterizing 2-D vector graphics"; 16 16 homepage = "https://www.gnu.org/software/libxmi/"; 17 17 license = lib.licenses.gpl2Plus; 18 - platforms = lib.platforms.gnu ++ stdenv.lib.platforms.linux; # arbitrary choice 18 + platforms = lib.platforms.gnu ++ lib.platforms.linux; # arbitrary choice 19 19 maintainers = [ ]; 20 20 }; 21 21 }
+1 -5
pkgs/development/libraries/mtxclient/default.nix
··· 5 5 , pkg-config 6 6 , boost17x 7 7 , openssl 8 - , zlib 9 - , libsodium 10 8 , olm 11 9 , spdlog 12 10 , nlohmann_json ··· 42 40 spdlog 43 41 boost17x 44 42 openssl 45 - zlib 46 - libsodium 47 43 olm 48 44 ]; 49 45 ··· 51 47 description = "Client API library for Matrix, built on top of Boost.Asio"; 52 48 homepage = "https://github.com/Nheko-Reborn/mtxclient"; 53 49 license = licenses.mit; 54 - maintainers = with maintainers; [ fpletz ]; 50 + maintainers = with maintainers; [ fpletz pstn ]; 55 51 platforms = platforms.all; 56 52 # Should be fixable if a higher clang version is used, see: 57 53 # https://github.com/NixOS/nixpkgs/pull/85922#issuecomment-619287177
+1 -1
pkgs/development/libraries/muparser/default.nix
··· 18 18 homepage = "http://muparser.sourceforge.net"; 19 19 description = "An extensible high performance math expression parser library written in C++"; 20 20 license = lib.licenses.mit; 21 - platforms = lib.platforms.linux ++ stdenv.lib.platforms.darwin; 21 + platforms = lib.platforms.linux ++ lib.platforms.darwin; 22 22 }; 23 23 }
+2 -2
pkgs/development/libraries/precice/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, cmake, gcc, boost, eigen, libxml2, openmpi, python3, petsc }: 1 + { lib, stdenv, fetchFromGitHub, cmake, gcc, boost, eigen, libxml2, mpi, python3, petsc }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "precice"; ··· 21 21 NIX_CFLAGS_COMPILE = lib.optional stdenv.isDarwin [ "-D_GNU_SOURCE" ]; 22 22 23 23 nativeBuildInputs = [ cmake gcc ]; 24 - buildInputs = [ boost eigen libxml2 openmpi python3 python3.pkgs.numpy ]; 24 + buildInputs = [ boost eigen libxml2 mpi python3 python3.pkgs.numpy ]; 25 25 26 26 meta = { 27 27 description = "preCICE stands for Precise Code Interaction Coupling Environment";
+2 -2
pkgs/development/libraries/qt-3/default.nix
··· 6 6 , cursorSupport ? true, libXcursor ? null 7 7 , threadSupport ? true 8 8 , mysqlSupport ? false, libmysqlclient ? null 9 - , libGLSupported ? lib.elem stdenv.hostPlatform.system stdenv.lib.platforms.mesaPlatforms 10 - , openglSupport ? lib.elem stdenv.hostPlatform.system stdenv.lib.platforms.mesaPlatforms 9 + , libGLSupported ? lib.elem stdenv.hostPlatform.system lib.platforms.mesaPlatforms 10 + , openglSupport ? lib.elem stdenv.hostPlatform.system lib.platforms.mesaPlatforms 11 11 , libGL ? null, libGLU ? null, libXmu ? null 12 12 , xlibsWrapper, xorgproto, zlib, libjpeg, libpng, which 13 13 }:
+1 -1
pkgs/development/libraries/qt-4.x/4.8/default.nix
··· 4 4 , libmng, which, libGLU, openssl, dbus, cups, pkg-config 5 5 , libtiff, glib, icu, libmysqlclient, postgresql, sqlite, perl, coreutils, libXi 6 6 , alsaLib 7 - , libGLSupported ? lib.elem stdenv.hostPlatform.system stdenv.lib.platforms.mesaPlatforms 7 + , libGLSupported ? lib.elem stdenv.hostPlatform.system lib.platforms.mesaPlatforms 8 8 , flashplayerFix ? false, gdk-pixbuf 9 9 , gtkStyle ? stdenv.hostPlatform == stdenv.buildPlatform, gtk2 10 10 , gnomeStyle ? false, libgnomeui, GConf, gnome_vfs
+4 -4
pkgs/development/libraries/qt-5/5.12/default.nix
··· 16 16 17 17 { 18 18 newScope, 19 - stdenv, fetchurl, fetchpatch, fetchFromGitHub, makeSetupHook, makeWrapper, 19 + lib, stdenv, fetchurl, fetchpatch, fetchFromGitHub, makeSetupHook, makeWrapper, 20 20 bison, cups ? null, harfbuzz, libGL, perl, 21 21 gstreamer, gst-plugins-base, gtk3, dconf, 22 22 llvmPackages_5, ··· 27 27 debug ? false, 28 28 }: 29 29 30 - with stdenv.lib; 30 + with lib; 31 31 32 32 let 33 33 ··· 119 119 import ../qtModule.nix 120 120 { 121 121 inherit perl; 122 - inherit (stdenv) lib; 122 + inherit lib; 123 123 # Use a variant of mkDerivation that does not include wrapQtApplications 124 124 # to avoid cyclic dependencies between Qt modules. 125 125 mkDerivation = ··· 136 136 137 137 mkDerivationWith = 138 138 import ../mkDerivation.nix 139 - { inherit (stdenv) lib; inherit debug; inherit (self) wrapQtAppsHook; }; 139 + { inherit lib; inherit debug; inherit (self) wrapQtAppsHook; }; 140 140 141 141 mkDerivation = mkDerivationWith stdenvActual.mkDerivation; 142 142
+2 -2
pkgs/development/libraries/qt-5/5.14/default.nix
··· 16 16 17 17 { 18 18 newScope, 19 - stdenv, fetchurl, fetchpatch, fetchFromGitHub, makeSetupHook, makeWrapper, 19 + lib, stdenv, fetchurl, fetchpatch, fetchFromGitHub, makeSetupHook, makeWrapper, 20 20 bison, cups ? null, harfbuzz, libGL, perl, 21 21 gstreamer, gst-plugins-base, gtk3, dconf, 22 22 llvmPackages_5, ··· 27 27 debug ? false, 28 28 }: 29 29 30 - with stdenv.lib; 30 + with lib; 31 31 32 32 let 33 33
+2 -2
pkgs/development/libraries/qt-5/5.15/default.nix
··· 16 16 17 17 { 18 18 newScope, 19 - stdenv, fetchurl, fetchpatch, fetchFromGitHub, makeSetupHook, makeWrapper, 19 + lib, stdenv, fetchurl, fetchpatch, fetchFromGitHub, makeSetupHook, makeWrapper, 20 20 bison, cups ? null, harfbuzz, libGL, perl, 21 21 gstreamer, gst-plugins-base, gtk3, dconf, 22 22 llvmPackages_5, ··· 27 27 debug ? false, 28 28 }: 29 29 30 - with stdenv.lib; 30 + with lib; 31 31 32 32 let 33 33
+2 -2
pkgs/development/libraries/qt-5/modules/qtconnectivity.nix
··· 1 - { qtModule, stdenv, qtbase, qtdeclarative, bluez }: 1 + { qtModule, lib, stdenv, qtbase, qtdeclarative, bluez }: 2 2 3 3 qtModule { 4 4 name = "qtconnectivity"; 5 5 qtInputs = [ qtbase qtdeclarative ]; 6 - buildInputs = stdenv.lib.optional stdenv.isLinux bluez; 6 + buildInputs = lib.optional stdenv.isLinux bluez; 7 7 outputs = [ "out" "dev" "bin" ]; 8 8 }
+2 -2
pkgs/development/libraries/qt-5/modules/qtlocation.nix
··· 1 - { stdenv, qtModule, qtbase, qtmultimedia }: 1 + { lib, stdenv, qtModule, qtbase, qtmultimedia }: 2 2 3 3 qtModule { 4 4 name = "qtlocation"; 5 5 qtInputs = [ qtbase qtmultimedia ]; 6 6 outputs = [ "bin" "out" "dev" ]; 7 - qmakeFlags = stdenv.lib.optional stdenv.isDarwin [ 7 + qmakeFlags = lib.optional stdenv.isDarwin [ 8 8 # boost uses std::auto_ptr which has been disabled in clang with libcxx 9 9 # This flag re-enables this feature 10 10 # https://libcxx.llvm.org/docs/UsingLibcxx.html#c-17-specific-configuration-macros
+2 -2
pkgs/development/libraries/qt-5/modules/qtmacextras.nix
··· 1 - { stdenv, qtModule, qtbase }: 1 + { lib, stdenv, qtModule, qtbase }: 2 2 3 3 qtModule { 4 4 name = "qtmacextras"; 5 5 qtInputs = [ qtbase ]; 6 - meta = with stdenv.lib; { 6 + meta = with lib; { 7 7 maintainers = with maintainers; [ periklis ]; 8 8 platforms = platforms.darwin; 9 9 };
+2 -2
pkgs/development/libraries/qt-5/modules/qtmultimedia.nix
··· 1 - { qtModule, stdenv, qtbase, qtdeclarative, pkg-config 1 + { qtModule, lib, stdenv, qtbase, qtdeclarative, pkg-config 2 2 , alsaLib, gstreamer, gst-plugins-base, libpulseaudio, wayland 3 3 }: 4 4 5 - with stdenv.lib; 5 + with lib; 6 6 7 7 qtModule { 8 8 name = "qtmultimedia";
+2 -2
pkgs/development/libraries/qt-5/modules/qtwebengine.nix
··· 18 18 , lib, stdenv, fetchpatch 19 19 }: 20 20 21 - with stdenv.lib; 21 + with lib; 22 22 23 23 qtModule { 24 24 name = "qtwebengine"; ··· 88 88 NIX_CFLAGS_COMPILE = lib.optionals stdenv.cc.isGNU [ 89 89 # with gcc8, -Wclass-memaccess became part of -Wall and this exceeds the logging limit 90 90 "-Wno-class-memaccess" 91 - ] ++ lib.optionals (stdenv.hostPlatform.platform.gcc.arch or "" == "sandybridge") [ 91 + ] ++ lib.optionals (stdenv.hostPlatform.gcc.arch or "" == "sandybridge") [ 92 92 # it fails when compiled with -march=sandybridge https://github.com/NixOS/nixpkgs/pull/59148#discussion_r276696940 93 93 # TODO: investigate and fix properly 94 94 "-march=westmere"
+2 -2
pkgs/development/libraries/qt-5/modules/qtwebkit.nix
··· 43 43 44 44 # QtWebKit overrides qmake's default_pre and default_post features, 45 45 # so its custom qmake files must be found first at the front of QMAKEPATH. 46 - preConfigure = stdenv.lib.optionalString (!usingAnnulenWebkitFork) '' 46 + preConfigure = lib.optionalString (!usingAnnulenWebkitFork) '' 47 47 QMAKEPATH="$PWD/Tools/qmake''${QMAKEPATH:+:}$QMAKEPATH" 48 48 fixQtBuiltinPaths . '*.pr?' 49 49 # Fix hydra's "Log limit exceeded" ··· 72 72 preFixup = ''rm -rf "$(pwd)" && mkdir "$(pwd)" ''; 73 73 74 74 meta = { 75 - maintainers = with stdenv.lib.maintainers; [ abbradar periklis ]; 75 + maintainers = with lib.maintainers; [ abbradar periklis ]; 76 76 }; 77 77 }
+2 -2
pkgs/development/libraries/qt-5/modules/qtwebview.nix
··· 1 - { darwin, stdenv, qtModule, qtdeclarative, qtwebengine }: 1 + { darwin, lib, stdenv, qtModule, qtdeclarative, qtwebengine }: 2 2 3 - with stdenv.lib; 3 + with lib; 4 4 5 5 qtModule { 6 6 name = "qtwebview";
+3
pkgs/development/libraries/science/math/scalapack/default.nix
··· 36 36 # make sure the test starts even if we have less than 4 cores 37 37 export OMPI_MCA_rmaps_base_oversubscribe=1 38 38 39 + # Fix to make mpich run in a sandbox 40 + export HYDRA_IFACE=lo 41 + 39 42 # Run single threaded 40 43 export OMP_NUM_THREADS=1 41 44
+3 -3
pkgs/development/libraries/simdjson/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "simdjson"; 5 - version = "0.7.0"; 5 + version = "0.8.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "simdjson"; 9 9 repo = "simdjson"; 10 10 rev = "v${version}"; 11 - sha256 = "14gi2zq430nfjy424q6r57imc2gnz30nhx4r0wbajzp9qvna819w"; 11 + sha256 = "0lpb8la74xwd78d5mgwnzx4fy632jbmh0ip19v0dydwm0kagm0a3"; 12 12 }; 13 13 14 14 nativeBuildInputs = [ cmake ]; 15 15 16 16 cmakeFlags = [ 17 17 "-DSIMDJSON_JUST_LIBRARY=ON" 18 - ]; 18 + ] ++ lib.optional stdenv.hostPlatform.isStatic "-DSIMDJSON_BUILD_STATIC=ON"; 19 19 20 20 meta = with lib; { 21 21 homepage = "https://simdjson.org/";
+2 -1
pkgs/development/libraries/spdlog/default.nix
··· 17 17 buildInputs = [ fmt ]; 18 18 19 19 cmakeFlags = [ 20 - "-DSPDLOG_BUILD_SHARED=ON" 20 + "-DSPDLOG_BUILD_SHARED=${if stdenv.hostPlatform.isStatic then "OFF" else "ON"}" 21 + "-DSPDLOG_BUILD_STATIC=${if stdenv.hostPlatform.isStatic then "ON" else "OFF"}" 21 22 "-DSPDLOG_BUILD_EXAMPLE=OFF" 22 23 "-DSPDLOG_BUILD_BENCH=OFF" 23 24 "-DSPDLOG_BUILD_TESTS=ON"
+1 -1
pkgs/development/libraries/tokyo-tyrant/default.nix
··· 35 35 36 36 license = lib.licenses.lgpl21Plus; 37 37 38 - platforms = lib.platforms.gnu ++ stdenv.lib.platforms.linux; # arbitrary choice 38 + platforms = lib.platforms.gnu ++ lib.platforms.linux; # arbitrary choice 39 39 maintainers = [ ]; 40 40 }; 41 41 }
+1 -1
pkgs/development/libraries/wiredtiger/default.nix
··· 14 14 mkEnable = mkFlag "enable-" "disable-"; 15 15 mkWith = mkFlag "with-" "without-"; 16 16 17 - shouldUsePkg = pkg: if pkg != null && lib.any (stdenv.lib.meta.platformMatch stdenv.hostPlatform) pkg.meta.platforms then pkg else null; 17 + shouldUsePkg = pkg: if pkg != null && lib.any (lib.meta.platformMatch stdenv.hostPlatform) pkg.meta.platforms then pkg else null; 18 18 19 19 optLz4 = shouldUsePkg lz4; 20 20 optSnappy = shouldUsePkg snappy;
+2 -2
pkgs/development/libraries/wxwidgets/2.8/default.nix
··· 1 1 { lib, stdenv, fetchurl, pkg-config, gtk2, libXinerama, libSM, libXxf86vm, xorgproto 2 2 , libX11, cairo 3 - , libGLSupported ? lib.elem stdenv.hostPlatform.system stdenv.lib.platforms.mesaPlatforms 4 - , withMesa ? lib.elem stdenv.hostPlatform.system stdenv.lib.platforms.mesaPlatforms 3 + , libGLSupported ? lib.elem stdenv.hostPlatform.system lib.platforms.mesaPlatforms 4 + , withMesa ? lib.elem stdenv.hostPlatform.system lib.platforms.mesaPlatforms 5 5 , libGLU ? null, libGL ? null 6 6 , compat24 ? false, compat26 ? true, unicode ? true, 7 7 }:
+2 -2
pkgs/development/libraries/wxwidgets/2.9/default.nix
··· 1 1 { lib, stdenv, fetchurl, pkg-config, gtk2, libXinerama, libSM, libXxf86vm, xorgproto 2 2 , setfile 3 - , libGLSupported ? lib.elem stdenv.hostPlatform.system stdenv.lib.platforms.mesaPlatforms 4 - , withMesa ? lib.elem stdenv.hostPlatform.system stdenv.lib.platforms.mesaPlatforms 3 + , libGLSupported ? lib.elem stdenv.hostPlatform.system lib.platforms.mesaPlatforms 4 + , withMesa ? lib.elem stdenv.hostPlatform.system lib.platforms.mesaPlatforms 5 5 , libGLU ? null, libGL ? null 6 6 , compat24 ? false, compat26 ? true, unicode ? true 7 7 , Carbon ? null, Cocoa ? null, Kernel ? null, QuickTime ? null, AGL ? null
+1 -1
pkgs/development/libraries/wxwidgets/3.0/default.nix
··· 2 2 , libXinerama, libSM, libXxf86vm 3 3 , gtk2, gtk3 4 4 , xorgproto, gst_all_1, setfile 5 - , libGLSupported ? lib.elem stdenv.hostPlatform.system stdenv.lib.platforms.mesaPlatforms 5 + , libGLSupported ? lib.elem stdenv.hostPlatform.system lib.platforms.mesaPlatforms 6 6 , withMesa ? libGLSupported 7 7 , libGLU ? null, libGL ? null 8 8 , compat24 ? false, compat26 ? true, unicode ? true
+1 -1
pkgs/development/libraries/wxwidgets/3.1/default.nix
··· 12 12 , xorgproto 13 13 , gst_all_1 14 14 , setfile 15 - , libGLSupported ? lib.elem stdenv.hostPlatform.system stdenv.lib.platforms.mesaPlatforms 15 + , libGLSupported ? lib.elem stdenv.hostPlatform.system lib.platforms.mesaPlatforms 16 16 , withMesa ? libGLSupported 17 17 , libGLU ? null 18 18 , libGL ? null
+1 -1
pkgs/development/libraries/xalanc/default.nix
··· 26 26 homepage = "http://xalan.apache.org/"; 27 27 description = "A XSLT processor for transforming XML documents"; 28 28 license = lib.licenses.asl20; 29 - platforms = lib.platforms.linux ++ stdenv.lib.platforms.darwin; 29 + platforms = lib.platforms.linux ++ lib.platforms.darwin; 30 30 maintainers = [ lib.maintainers.jagajaga ]; 31 31 }; 32 32 }
+1 -1
pkgs/development/libraries/xercesc/default.nix
··· 17 17 homepage = "https://xerces.apache.org/xerces-c/"; 18 18 description = "Validating XML parser written in a portable subset of C++"; 19 19 license = lib.licenses.asl20; 20 - platforms = lib.platforms.linux ++ stdenv.lib.platforms.darwin; 20 + platforms = lib.platforms.linux ++ lib.platforms.darwin; 21 21 }; 22 22 }
+1 -1
pkgs/development/misc/avr8-burn-omat/default.nix
··· 27 27 meta = with lib; { 28 28 description = "GUI tool for avrdude"; 29 29 homepage = "http://avr8-burn-o-mat.aaabbb.de/avr8_burn_o_mat_avrdude_gui_en.html"; 30 - license = stdenv.lib.licenses.gpl3; 30 + license = lib.licenses.gpl3; 31 31 platforms = platforms.all; 32 32 }; 33 33 }
+3 -3
pkgs/development/misc/google-clasp/default.nix
··· 1 - { stdenv, pkgs }: 1 + { lib, stdenv, pkgs }: 2 2 let 3 3 version = "2.2.1"; 4 4 in ··· 12 12 meta = { 13 13 description = "Command Line tool for Google Apps Script Projects"; 14 14 homepage = "https://developers.google.com/apps-script/guides/clasp"; 15 - license = stdenv.lib.licenses.asl20; 16 - maintainers = [ stdenv.lib.maintainers.michojel ]; 15 + license = lib.licenses.asl20; 16 + maintainers = [ lib.maintainers.michojel ]; 17 17 priority = 100; 18 18 }; 19 19 }
+2 -2
pkgs/development/misc/haskell/hasura/ci-info/default.nix
··· 1 1 { mkDerivation, aeson, aeson-casing, base, fetchgit, hashable 2 - , hpack, stdenv, template-haskell, text, th-lift-instances 2 + , hpack, lib, stdenv, template-haskell, text, th-lift-instances 3 3 , unordered-containers 4 4 }: 5 5 mkDerivation { ··· 18 18 libraryToolDepends = [ hpack ]; 19 19 prePatch = "hpack"; 20 20 homepage = "https://github.com/hasura/ci-info-hs#readme"; 21 - license = stdenv.lib.licenses.mit; 21 + license = lib.licenses.mit; 22 22 }
+3 -3
pkgs/development/misc/haskell/hasura/graphql-engine/default.nix
··· 13 13 , optparse-applicative, pem, pg-client, postgresql-binary 14 14 , postgresql-libpq, process, profunctors, psqueues, QuickCheck 15 15 , regex-tdfa, safe, scientific, semver, shakespeare, split 16 - , Spock-core, stdenv, stm, stm-containers, template-haskell, text 16 + , Spock-core, lib, stdenv, stm, stm-containers, template-haskell, text 17 17 , text-builder, text-conversions, th-lift-instances, these, time 18 18 , transformers, transformers-base, unix, unordered-containers 19 19 , uri-encode, uuid, vector, wai, wai-websockets, warp, websockets ··· 68 68 doCheck = false; 69 69 homepage = "https://www.hasura.io"; 70 70 description = "GraphQL API over Postgres"; 71 - license = stdenv.lib.licenses.asl20; 72 - maintainers = with stdenv.lib.maintainers; [ offline ]; 71 + license = lib.licenses.asl20; 72 + maintainers = with lib.maintainers; [ offline ]; 73 73 hydraPlatforms = []; 74 74 broken = true; 75 75 }
+2 -2
pkgs/development/misc/haskell/hasura/graphql-parser/default.nix
··· 1 1 { mkDerivation, aeson, attoparsec, base, bytestring, containers 2 2 , criterion, fetchgit, filepath, hedgehog, hpack, prettyprinter 3 - , protolude, regex-tdfa, scientific, stdenv, template-haskell, text 3 + , protolude, regex-tdfa, scientific, lib, stdenv, template-haskell, text 4 4 , text-builder, th-lift-instances, unordered-containers, vector 5 5 }: 6 6 mkDerivation { ··· 32 32 doCheck = false; 33 33 prePatch = "hpack"; 34 34 homepage = "https://github.com/hasura/graphql-parser-hs#readme"; 35 - license = stdenv.lib.licenses.bsd3; 35 + license = lib.licenses.bsd3; 36 36 }
+2 -2
pkgs/development/misc/haskell/hasura/pg-client/default.nix
··· 2 2 , criterion, fetchgit, file-embed, hashable, hashtables, hasql 3 3 , hasql-pool, hasql-transaction, monad-control, mtl 4 4 , postgresql-binary, postgresql-libpq, resource-pool, retry 5 - , scientific, stdenv, template-haskell, text, text-builder, th-lift 5 + , scientific, lib, stdenv, template-haskell, text, text-builder, th-lift 6 6 , th-lift-instances, time, transformers-base, uuid, vector 7 7 }: 8 8 mkDerivation { ··· 26 26 hasql-transaction mtl postgresql-libpq text text-builder 27 27 ]; 28 28 homepage = "https://github.com/hasura/platform"; 29 - license = stdenv.lib.licenses.bsd3; 29 + license = lib.licenses.bsd3; 30 30 }
+2 -2
pkgs/development/misc/loc/default.nix
··· 18 18 meta = with lib; { 19 19 homepage = "https://github.com/cgag/loc"; 20 20 description = "Count lines of code quickly"; 21 - license = stdenv.lib.licenses.mit; 22 - maintainers = with stdenv.lib.maintainers; [ ]; 21 + license = lib.licenses.mit; 22 + maintainers = with lib.maintainers; [ ]; 23 23 platforms = platforms.unix; 24 24 }; 25 25 }
+9 -9
pkgs/development/misc/msp430/mspdebug.nix
··· 25 25 }; 26 26 27 27 enableParallelBuilding = true; 28 - nativeBuildInputs = stdenv.lib.optional stdenv.isDarwin pkg-config 29 - ++ stdenv.lib.optional (enableMspds && stdenv.isLinux) autoPatchelfHook; 28 + nativeBuildInputs = lib.optional stdenv.isDarwin pkg-config 29 + ++ lib.optional (enableMspds && stdenv.isLinux) autoPatchelfHook; 30 30 buildInputs = [ libusb-compat-0_1 ] 31 - ++ stdenv.lib.optional stdenv.isDarwin hidapi 32 - ++ stdenv.lib.optional enableReadline readline; 31 + ++ lib.optional stdenv.isDarwin hidapi 32 + ++ lib.optional enableReadline readline; 33 33 34 - postPatch = stdenv.lib.optionalString stdenv.isDarwin '' 34 + postPatch = lib.optionalString stdenv.isDarwin '' 35 35 # TODO: remove once a new 0.26+ release is made 36 36 substituteInPlace drivers/tilib_api.c --replace .so ${stdenv.hostPlatform.extensions.sharedLibrary} 37 37 ··· 40 40 ''; 41 41 42 42 # TODO: wrap with MSPDEBUG_TILIB_PATH env var instead of these rpath fixups in 0.26+ 43 - runtimeDependencies = stdenv.lib.optional enableMspds mspds; 44 - postFixup = stdenv.lib.optionalString (enableMspds && stdenv.isDarwin) '' 43 + runtimeDependencies = lib.optional enableMspds mspds; 44 + postFixup = lib.optionalString (enableMspds && stdenv.isDarwin) '' 45 45 # autoPatchelfHook only works on linux so... 46 46 for dep in $runtimeDependencies; do 47 47 install_name_tool -add_rpath $dep/lib $out/bin/$pname ··· 50 50 51 51 installFlags = [ "PREFIX=$(out)" "INSTALL=install" ]; 52 52 makeFlags = [ "UNAME_S=$(unameS)" ] ++ 53 - stdenv.lib.optional (!enableReadline) "WITHOUT_READLINE=1"; 54 - unameS = stdenv.lib.optionalString stdenv.isDarwin "Darwin"; 53 + lib.optional (!enableReadline) "WITHOUT_READLINE=1"; 54 + unameS = lib.optionalString stdenv.isDarwin "Darwin"; 55 55 56 56 meta = with lib; { 57 57 description = "A free programmer, debugger, and gdb proxy for MSP430 MCUs";
+3 -3
pkgs/development/misc/resholve/deps.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 , python27Packages 3 3 , fetchFromGitHub 4 4 , makeWrapper ··· 106 106 _NIX_SHELL_LIBCMARK = "${cmark}/lib/libcmark${stdenv.hostPlatform.extensions.sharedLibrary}"; 107 107 108 108 # See earlier note on glibcLocales 109 - LOCALE_ARCHIVE = stdenv.lib.optionalString (stdenv.buildPlatform.libc == "glibc") "${glibcLocales}/lib/locale/locale-archive"; 109 + LOCALE_ARCHIVE = lib.optionalString (stdenv.buildPlatform.libc == "glibc") "${glibcLocales}/lib/locale/locale-archive"; 110 110 111 111 meta = { 112 112 description = "A new unix shell"; 113 113 homepage = "https://www.oilshell.org/"; 114 - license = with stdenv.lib.licenses; [ 114 + license = with lib.licenses; [ 115 115 psfl # Includes a portion of the python interpreter and standard library 116 116 asl20 # Licence for Oil itself 117 117 ];
+1 -1
pkgs/development/misc/yelp-tools/default.nix
··· 5 5 version = "3.38.0"; 6 6 7 7 src = fetchurl { 8 - url = "mirror://gnome/sources/yelp-tools/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 8 + url = "mirror://gnome/sources/yelp-tools/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 9 9 sha256 = "1c045c794sm83rrjan67jmsk20qacrw1m814p4nw85w5xsry8z30"; 10 10 }; 11 11
+5 -5
pkgs/development/pharo/vm/build-vm-legacy.nix
··· 22 22 23 23 inherit name src; 24 24 25 - pharo-share = import ./share.nix { inherit stdenv fetchurl unzip; }; 25 + pharo-share = import ./share.nix { inherit lib stdenv fetchurl unzip; }; 26 26 27 27 hardeningDisable = [ "format" "pic" ]; 28 28 ··· 31 31 buildInputs = [ bash glibc openssl libGLU libGL freetype 32 32 xorg.libX11 xorg.libICE xorg.libSM alsaLib cairo pharo-share ]; 33 33 34 - LD_LIBRARY_PATH = stdenv.lib.makeLibraryPath 34 + LD_LIBRARY_PATH = lib.makeLibraryPath 35 35 [ cairo libGLU libGL freetype openssl libuuid alsaLib 36 36 xorg.libICE xorg.libSM ]; 37 37 ··· 89 89 license = licenses.mit; 90 90 maintainers = [ maintainers.lukego ]; 91 91 # Pharo VM sources are packaged separately for darwin (OS X) 92 - platforms = stdenv.lib.filter 93 - (system: with stdenv.lib.systems.elaborate { inherit system; }; 92 + platforms = lib.filter 93 + (system: with lib.systems.elaborate { inherit system; }; 94 94 isUnix && !isDarwin) 95 - stdenv.lib.platforms.mesaPlatforms; 95 + lib.platforms.mesaPlatforms; 96 96 }; 97 97 }
+2 -2
pkgs/development/pharo/vm/build-vm.nix
··· 39 39 else throw "Unsupported platform: only Linux/Darwin x86/x64 are supported."; 40 40 41 41 # Shared data (for the sources file) 42 - pharo-share = import ./share.nix { inherit stdenv fetchurl unzip; }; 42 + pharo-share = import ./share.nix { inherit lib stdenv fetchurl unzip; }; 43 43 44 44 # Note: -fPIC causes the VM to segfault. 45 45 hardeningDisable = [ "format" "pic" ··· 138 138 mkdir -p "$out/bin" 139 139 140 140 # Note: include ELF rpath in LD_LIBRARY_PATH for finding libc. 141 - libs=$out:$(patchelf --print-rpath "$out/pharo"):${stdenv.lib.makeLibraryPath libs} 141 + libs=$out:$(patchelf --print-rpath "$out/pharo"):${lib.makeLibraryPath libs} 142 142 143 143 # Create the script 144 144 cat > "$out/bin/${cmd}" <<EOF
+2 -2
pkgs/development/pharo/vm/share.nix
··· 1 - { stdenv, fetchurl, unzip }: 1 + { lib, stdenv, fetchurl, unzip }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 version = "1.0"; ··· 52 52 meta = { 53 53 description = "Shared files for Pharo"; 54 54 homepage = "https://pharo.org"; 55 - license = stdenv.lib.licenses.mit; 55 + license = lib.licenses.mit; 56 56 maintainers = [ ]; 57 57 }; 58 58 }
+6 -6
pkgs/development/pharo/wrapper/default.nix
··· 1 - { stdenv, file, makeDesktopItem, cog32, spur32, spur64 ? "none" }: 1 + { lib, stdenv, file, makeDesktopItem, cog32, spur32, spur64 ? "none" }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "pharo"; ··· 50 50 ''; 51 51 52 52 homepage = "http://pharo.org"; 53 - license = stdenv.lib.licenses.mit; 54 - maintainers = [ stdenv.lib.maintainers.lukego ]; 53 + license = lib.licenses.mit; 54 + maintainers = [ lib.maintainers.lukego ]; 55 55 # Pharo VM sources are packaged separately for darwin (OS X) 56 - platforms = stdenv.lib.filter 57 - (system: with stdenv.lib.systems.elaborate { inherit system; }; 56 + platforms = lib.filter 57 + (system: with lib.systems.elaborate { inherit system; }; 58 58 isUnix && !isDarwin) 59 - stdenv.lib.platforms.mesaPlatforms; 59 + lib.platforms.mesaPlatforms; 60 60 }; 61 61 } 62 62
+4 -4
pkgs/development/pure-modules/audio/default.nix
··· 1 - { stdenv, fetchurl, pkg-config, pure, portaudio, fftw, libsndfile, libsamplerate }: 1 + { lib, stdenv, fetchurl, pkg-config, pure, portaudio, fftw, libsndfile, libsamplerate }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 baseName = "audio"; ··· 18 18 meta = { 19 19 description = "A digital audio interface for the Pure programming language"; 20 20 homepage = "http://puredocs.bitbucket.org/pure-audio.html"; 21 - license = stdenv.lib.licenses.bsd3; 22 - platforms = stdenv.lib.platforms.linux; 23 - maintainers = with stdenv.lib.maintainers; [ asppsa ]; 21 + license = lib.licenses.bsd3; 22 + platforms = lib.platforms.linux; 23 + maintainers = with lib.maintainers; [ asppsa ]; 24 24 }; 25 25 }
+4 -4
pkgs/development/pure-modules/avahi/default.nix
··· 1 - { stdenv, fetchurl, pkg-config, pure, avahi }: 1 + { lib, stdenv, fetchurl, pkg-config, pure, avahi }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 baseName = "avahi"; ··· 18 18 meta = { 19 19 description = "A digital audio interface for the Pure programming language"; 20 20 homepage = "http://puredocs.bitbucket.org/pure-avahi.html"; 21 - license = stdenv.lib.licenses.lgpl3Plus; 22 - platforms = stdenv.lib.platforms.linux; 23 - maintainers = with stdenv.lib.maintainers; [ asppsa ]; 21 + license = lib.licenses.lgpl3Plus; 22 + platforms = lib.platforms.linux; 23 + maintainers = with lib.maintainers; [ asppsa ]; 24 24 }; 25 25 }
+4 -4
pkgs/development/pure-modules/csv/default.nix
··· 1 - { stdenv, fetchurl, pkg-config, pure }: 1 + { lib, stdenv, fetchurl, pkg-config, pure }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 baseName = "csv"; ··· 18 18 meta = { 19 19 description = "Comma Separated Value Interface for the Pure Programming Language"; 20 20 homepage = "http://puredocs.bitbucket.org/pure-csv.html"; 21 - license = stdenv.lib.licenses.free; 22 - platforms = stdenv.lib.platforms.linux; 23 - maintainers = with stdenv.lib.maintainers; [ asppsa ]; 21 + license = lib.licenses.free; 22 + platforms = lib.platforms.linux; 23 + maintainers = with lib.maintainers; [ asppsa ]; 24 24 }; 25 25 }
+4 -4
pkgs/development/pure-modules/doc/default.nix
··· 1 - { stdenv, fetchurl, pkg-config, pure }: 1 + { lib, stdenv, fetchurl, pkg-config, pure }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 baseName = "doc"; ··· 17 17 meta = { 18 18 description = "A simple utility for literate programming and documenting source code written in the Pure programming language"; 19 19 homepage = "http://puredocs.bitbucket.org/pure-doc.html"; 20 - license = stdenv.lib.licenses.gpl3Plus; 21 - platforms = stdenv.lib.platforms.linux; 22 - maintainers = with stdenv.lib.maintainers; [ asppsa ]; 20 + license = lib.licenses.gpl3Plus; 21 + platforms = lib.platforms.linux; 22 + maintainers = with lib.maintainers; [ asppsa ]; 23 23 }; 24 24 }
+4 -4
pkgs/development/pure-modules/fastcgi/default.nix
··· 1 - { stdenv, fetchurl, pkg-config, pure, fcgi }: 1 + { lib, stdenv, fetchurl, pkg-config, pure, fcgi }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 baseName = "fastcgi"; ··· 18 18 meta = { 19 19 description = "Lets you write FastCGI scripts with Pure, to be run by web servers like Apache"; 20 20 homepage = "http://puredocs.bitbucket.org/pure-fastcgi.html"; 21 - license = stdenv.lib.licenses.bsd3; 22 - platforms = stdenv.lib.platforms.linux; 23 - maintainers = with stdenv.lib.maintainers; [ asppsa ]; 21 + license = lib.licenses.bsd3; 22 + platforms = lib.platforms.linux; 23 + maintainers = with lib.maintainers; [ asppsa ]; 24 24 }; 25 25 }
+4 -4
pkgs/development/pure-modules/faust/default.nix
··· 1 - { stdenv, fetchurl, pkg-config, pure, faust, libtool }: 1 + { lib, stdenv, fetchurl, pkg-config, pure, faust, libtool }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 baseName = "faust"; ··· 18 18 meta = { 19 19 description = "Lets you load and run Faust-generated signal processing modules in Pure"; 20 20 homepage = "http://puredocs.bitbucket.org/pure-faust.html"; 21 - license = stdenv.lib.licenses.lgpl3Plus; 22 - platforms = stdenv.lib.platforms.linux; 23 - maintainers = with stdenv.lib.maintainers; [ asppsa ]; 21 + license = lib.licenses.lgpl3Plus; 22 + platforms = lib.platforms.linux; 23 + maintainers = with lib.maintainers; [ asppsa ]; 24 24 }; 25 25 }
+4 -4
pkgs/development/pure-modules/ffi/default.nix
··· 1 - { stdenv, fetchurl, pkg-config, pure, libffi }: 1 + { lib, stdenv, fetchurl, pkg-config, pure, libffi }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 baseName = "ffi"; ··· 18 18 meta = { 19 19 description = "Provides an interface to libffi which enables you to call C functions from Pure and vice versa"; 20 20 homepage = "http://puredocs.bitbucket.org/pure-ffi.html"; 21 - license = stdenv.lib.licenses.lgpl3Plus; 22 - platforms = stdenv.lib.platforms.linux; 23 - maintainers = with stdenv.lib.maintainers; [ asppsa ]; 21 + license = lib.licenses.lgpl3Plus; 22 + platforms = lib.platforms.linux; 23 + maintainers = with lib.maintainers; [ asppsa ]; 24 24 }; 25 25 }
+4 -4
pkgs/development/pure-modules/gen/default.nix
··· 1 - { stdenv, fetchurl, 1 + { lib, stdenv, fetchurl, 2 2 pkg-config, pure, haskellPackages }: 3 3 4 4 stdenv.mkDerivation rec { ··· 19 19 meta = { 20 20 description = "Pure interface generator"; 21 21 homepage = "http://puredocs.bitbucket.org/pure-gen.html"; 22 - license = stdenv.lib.licenses.free; 23 - platforms = stdenv.lib.platforms.linux; 22 + license = lib.licenses.free; 23 + platforms = lib.platforms.linux; 24 24 hydraPlatforms = []; 25 - maintainers = with stdenv.lib.maintainers; [ asppsa ]; 25 + maintainers = with lib.maintainers; [ asppsa ]; 26 26 }; 27 27 }
+4 -4
pkgs/development/pure-modules/gl/default.nix
··· 1 - { stdenv, fetchurl, pkg-config, pure, freeglut, libGLU, libGL, xlibsWrapper }: 1 + { lib, stdenv, fetchurl, pkg-config, pure, freeglut, libGLU, libGL, xlibsWrapper }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 baseName = "gl"; ··· 21 21 meta = { 22 22 description = "Fairly complete Pure bindings for the OpenGL graphics library, which allow you to do 2D and 3D graphics programming with Pure"; 23 23 homepage = "http://puredocs.bitbucket.org/pure-gl.html"; 24 - license = stdenv.lib.licenses.bsd3; 25 - platforms = stdenv.lib.platforms.linux; 26 - maintainers = with stdenv.lib.maintainers; [ asppsa ]; 24 + license = lib.licenses.bsd3; 25 + platforms = lib.platforms.linux; 26 + maintainers = with lib.maintainers; [ asppsa ]; 27 27 }; 28 28 }
+3 -3
pkgs/development/pure-modules/glpk/default.nix
··· 34 34 meta = { 35 35 description = "GLPK interface for the Pure Programming Language"; 36 36 homepage = "http://puredocs.bitbucket.org/pure-glpk.html"; 37 - license = stdenv.lib.licenses.gpl3Plus; 38 - platforms = stdenv.lib.platforms.linux; 39 - maintainers = with stdenv.lib.maintainers; [ asppsa ]; 37 + license = lib.licenses.gpl3Plus; 38 + platforms = lib.platforms.linux; 39 + maintainers = with lib.maintainers; [ asppsa ]; 40 40 }; 41 41 }
+4 -4
pkgs/development/pure-modules/gplot/default.nix
··· 1 - { stdenv, fetchurl, pkg-config, pure, gnuplot }: 1 + { lib, stdenv, fetchurl, pkg-config, pure, gnuplot }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 baseName = "gplot"; ··· 18 18 meta = { 19 19 description = "A pure binding to gnuplot"; 20 20 homepage = "http://puredocs.bitbucket.org/pure-gplot.html"; 21 - license = stdenv.lib.licenses.lgpl3Plus; 22 - platforms = stdenv.lib.platforms.linux; 23 - maintainers = with stdenv.lib.maintainers; [ asppsa ]; 21 + license = lib.licenses.lgpl3Plus; 22 + platforms = lib.platforms.linux; 23 + maintainers = with lib.maintainers; [ asppsa ]; 24 24 }; 25 25 }
+4 -4
pkgs/development/pure-modules/gsl/default.nix
··· 1 - { stdenv, fetchurl, pure, pkg-config, gsl }: 1 + { lib, stdenv, fetchurl, pure, pkg-config, gsl }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 baseName = "gsl"; ··· 18 18 meta = { 19 19 description = "GNU Scientific Library interface for Pure"; 20 20 homepage = "http://puredocs.bitbucket.org/pure-gsl.html"; 21 - license = stdenv.lib.licenses.gpl3Plus; 22 - platforms = stdenv.lib.platforms.linux; 23 - maintainers = with stdenv.lib.maintainers; [ asppsa ]; 21 + license = lib.licenses.gpl3Plus; 22 + platforms = lib.platforms.linux; 23 + maintainers = with lib.maintainers; [ asppsa ]; 24 24 }; 25 25 }
+4 -4
pkgs/development/pure-modules/gtk/default.nix
··· 1 - { stdenv, fetchurl, pkg-config, pure, pure-ffi, gtk2 }: 1 + { lib, stdenv, fetchurl, pkg-config, pure, pure-ffi, gtk2 }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 baseName = "gtk"; ··· 18 18 meta = { 19 19 description = "A collection of bindings to use the GTK GUI toolkit version 2.x with Pure"; 20 20 homepage = "http://puredocs.bitbucket.org/pure-gtk.html"; 21 - license = stdenv.lib.licenses.lgpl3Plus; 22 - platforms = stdenv.lib.platforms.linux; 23 - maintainers = with stdenv.lib.maintainers; [ asppsa ]; 21 + license = lib.licenses.lgpl3Plus; 22 + platforms = lib.platforms.linux; 23 + maintainers = with lib.maintainers; [ asppsa ]; 24 24 }; 25 25 }
+4 -4
pkgs/development/pure-modules/liblo/default.nix
··· 1 - { stdenv, fetchurl, pkg-config, pure, liblo }: 1 + { lib, stdenv, fetchurl, pkg-config, pure, liblo }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 baseName = "liblo"; ··· 18 18 meta = { 19 19 description = "A quick and dirty Pure wrapper for the liblo library, which implements Berkeley’s Open Sound Control (OSC) protocol"; 20 20 homepage = "http://puredocs.bitbucket.org/pure-liblo.html"; 21 - license = stdenv.lib.licenses.lgpl3Plus; 22 - platforms = stdenv.lib.platforms.linux; 23 - maintainers = with stdenv.lib.maintainers; [ asppsa ]; 21 + license = lib.licenses.lgpl3Plus; 22 + platforms = lib.platforms.linux; 23 + maintainers = with lib.maintainers; [ asppsa ]; 24 24 }; 25 25 }
+4 -4
pkgs/development/pure-modules/lilv/default.nix
··· 1 - { stdenv, fetchurl, pkg-config, pure, lilv, lv2, serd, sord, sratom }: 1 + { lib, stdenv, fetchurl, pkg-config, pure, lilv, lv2, serd, sord, sratom }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 baseName = "lilv"; ··· 18 18 meta = { 19 19 description = "A Pure module for David Robillard’s Lilv, a library for LV2 plugin host writers"; 20 20 homepage = "http://puredocs.bitbucket.org/pure-lilv.html"; 21 - license = stdenv.lib.licenses.bsd3; 22 - platforms = stdenv.lib.platforms.linux; 23 - maintainers = with stdenv.lib.maintainers; [ asppsa ]; 21 + license = lib.licenses.bsd3; 22 + platforms = lib.platforms.linux; 23 + maintainers = with lib.maintainers; [ asppsa ]; 24 24 }; 25 25 }
+4 -4
pkgs/development/pure-modules/lv2/default.nix
··· 1 - { stdenv, fetchurl, pkg-config, pure, lv2 }: 1 + { lib, stdenv, fetchurl, pkg-config, pure, lv2 }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 baseName = "lv2"; ··· 18 18 meta = { 19 19 description = "A generic LV2 plugin wrapper for Pure which can be linked with batch-compiled Pure scripts to obtain LV2 plugin modules"; 20 20 homepage = "http://puredocs.bitbucket.org/pure-lv2.html"; 21 - license = stdenv.lib.licenses.bsd3; 22 - platforms = stdenv.lib.platforms.linux; 23 - maintainers = with stdenv.lib.maintainers; [ asppsa ]; 21 + license = lib.licenses.bsd3; 22 + platforms = lib.platforms.linux; 23 + maintainers = with lib.maintainers; [ asppsa ]; 24 24 }; 25 25 }
+4 -4
pkgs/development/pure-modules/midi/default.nix
··· 1 - { stdenv, fetchurl, pkg-config, pure, portmidi }: 1 + { lib, stdenv, fetchurl, pkg-config, pure, portmidi }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 baseName = "midi"; ··· 18 18 meta = { 19 19 description = "A MIDI interface for the Pure programming language"; 20 20 homepage = "http://puredocs.bitbucket.org/pure-midi.html"; 21 - license = stdenv.lib.licenses.bsd3; 22 - platforms = stdenv.lib.platforms.linux; 23 - maintainers = with stdenv.lib.maintainers; [ asppsa ]; 21 + license = lib.licenses.bsd3; 22 + platforms = lib.platforms.linux; 23 + maintainers = with lib.maintainers; [ asppsa ]; 24 24 }; 25 25 }
+4 -4
pkgs/development/pure-modules/mpfr/default.nix
··· 1 - { stdenv, fetchurl, pkg-config, pure }: 1 + { lib, stdenv, fetchurl, pkg-config, pure }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 baseName = "mpfr"; ··· 18 18 meta = { 19 19 description = "This module makes the MPFR multiprecision floats available in Pure"; 20 20 homepage = "http://puredocs.bitbucket.org/pure-mpfr.html"; 21 - license = stdenv.lib.licenses.lgpl3Plus; 22 - platforms = stdenv.lib.platforms.linux; 23 - maintainers = with stdenv.lib.maintainers; [ asppsa ]; 21 + license = lib.licenses.lgpl3Plus; 22 + platforms = lib.platforms.linux; 23 + maintainers = with lib.maintainers; [ asppsa ]; 24 24 }; 25 25 }
+4 -4
pkgs/development/pure-modules/octave/default.nix
··· 1 - { stdenv, fetchurl, pkg-config, pure, octave }: 1 + { lib, stdenv, fetchurl, pkg-config, pure, octave }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 baseName = "octave"; ··· 18 18 meta = { 19 19 description = "An Octave module for the Pure programming language"; 20 20 homepage = "http://puredocs.bitbucket.org/pure-octave.html"; 21 - license = stdenv.lib.licenses.gpl3Plus; 21 + license = lib.licenses.gpl3Plus; 22 22 # This is set to none for now because it does not work with the 23 23 # current stable version of Octave. 24 - platforms = stdenv.lib.platforms.none; 25 - maintainers = with stdenv.lib.maintainers; [ asppsa ]; 24 + platforms = lib.platforms.none; 25 + maintainers = with lib.maintainers; [ asppsa ]; 26 26 }; 27 27 }
+4 -4
pkgs/development/pure-modules/odbc/default.nix
··· 1 - { stdenv, fetchurl, pkg-config, pure, libiodbc }: 1 + { lib, stdenv, fetchurl, pkg-config, pure, libiodbc }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 baseName = "odbc"; ··· 18 18 meta = { 19 19 description = "A simple ODBC interface for the Pure programming language"; 20 20 homepage = "http://puredocs.bitbucket.org/pure-odbc.html"; 21 - license = stdenv.lib.licenses.lgpl3Plus; 22 - platforms = stdenv.lib.platforms.linux; 23 - maintainers = with stdenv.lib.maintainers; [ asppsa ]; 21 + license = lib.licenses.lgpl3Plus; 22 + platforms = lib.platforms.linux; 23 + maintainers = with lib.maintainers; [ asppsa ]; 24 24 }; 25 25 }
+4 -4
pkgs/development/pure-modules/pandoc/default.nix
··· 1 - { stdenv, fetchurl, pkg-config, pure, pandoc, gawk, getopt }: 1 + { lib, stdenv, fetchurl, pkg-config, pure, pandoc, gawk, getopt }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 baseName = "pandoc"; ··· 22 22 meta = { 23 23 description = "Converts Sphinx-formatted Pure documentation files to Markdown and other formats using Pandoc"; 24 24 homepage = "http://puredocs.bitbucket.org/pure-pandoc.html"; 25 - license = stdenv.lib.licenses.gpl3Plus; 26 - platforms = stdenv.lib.platforms.linux; 27 - maintainers = with stdenv.lib.maintainers; [ asppsa ]; 25 + license = lib.licenses.gpl3Plus; 26 + platforms = lib.platforms.linux; 27 + maintainers = with lib.maintainers; [ asppsa ]; 28 28 }; 29 29 }
+4 -4
pkgs/development/pure-modules/rational/default.nix
··· 1 - { stdenv, fetchurl, pkg-config, pure }: 1 + { lib, stdenv, fetchurl, pkg-config, pure }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 baseName = "rational"; ··· 18 18 meta = { 19 19 description = "A collection of utility functions for rational numbers, and a module for doing interval arithmetic in Pure"; 20 20 homepage = "http://puredocs.bitbucket.org/pure-rational.html"; 21 - license = stdenv.lib.licenses.gpl3Plus; 22 - platforms = stdenv.lib.platforms.linux; 23 - maintainers = with stdenv.lib.maintainers; [ asppsa ]; 21 + license = lib.licenses.gpl3Plus; 22 + platforms = lib.platforms.linux; 23 + maintainers = with lib.maintainers; [ asppsa ]; 24 24 }; 25 25 }
+4 -4
pkgs/development/pure-modules/readline/default.nix
··· 1 - { stdenv, fetchurl, pkg-config, pure, readline }: 1 + { lib, stdenv, fetchurl, pkg-config, pure, readline }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 baseName = "readline"; ··· 18 18 meta = { 19 19 description = "A trivial wrapper around GNU readline, which gives Pure scripts access to the most important facilities of the readline interface"; 20 20 homepage = "http://puredocs.bitbucket.org/pure-readline.html"; 21 - license = stdenv.lib.licenses.free; 22 - platforms = stdenv.lib.platforms.linux; 23 - maintainers = with stdenv.lib.maintainers; [ asppsa ]; 21 + license = lib.licenses.free; 22 + platforms = lib.platforms.linux; 23 + maintainers = with lib.maintainers; [ asppsa ]; 24 24 }; 25 25 }
+4 -4
pkgs/development/pure-modules/sockets/default.nix
··· 1 - { stdenv, fetchurl, pkg-config, pure }: 1 + { lib, stdenv, fetchurl, pkg-config, pure }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 baseName = "sockets"; ··· 18 18 meta = { 19 19 description = "A Pure interface to the Berkeley socket functions"; 20 20 homepage = "http://puredocs.bitbucket.org/pure-sockets.html"; 21 - license = stdenv.lib.licenses.gpl3Plus; 22 - platforms = stdenv.lib.platforms.linux; 23 - maintainers = with stdenv.lib.maintainers; [ asppsa ]; 21 + license = lib.licenses.gpl3Plus; 22 + platforms = lib.platforms.linux; 23 + maintainers = with lib.maintainers; [ asppsa ]; 24 24 }; 25 25 }
+4 -4
pkgs/development/pure-modules/sql3/default.nix
··· 1 - { stdenv, fetchurl, pkg-config, pure, sqlite }: 1 + { lib, stdenv, fetchurl, pkg-config, pure, sqlite }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 baseName = "sql3"; ··· 18 18 meta = { 19 19 description = "A SQLite module for the Pure programming language"; 20 20 homepage = "http://puredocs.bitbucket.org/pure-sql3.html"; 21 - license = stdenv.lib.licenses.bsd3; 22 - platforms = stdenv.lib.platforms.linux; 23 - maintainers = with stdenv.lib.maintainers; [ asppsa ]; 21 + license = lib.licenses.bsd3; 22 + platforms = lib.platforms.linux; 23 + maintainers = with lib.maintainers; [ asppsa ]; 24 24 }; 25 25 }
+4 -4
pkgs/development/pure-modules/stldict/default.nix
··· 1 - { stdenv, fetchurl, pkg-config, pure }: 1 + { lib, stdenv, fetchurl, pkg-config, pure }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 baseName = "stldict"; ··· 24 24 meta = { 25 25 description = "A Pure interface to the C++ dictionary containers map and unordered_map"; 26 26 homepage = "http://puredocs.bitbucket.org/pure-stldict.html"; 27 - license = stdenv.lib.licenses.lgpl3Plus; 28 - platforms = stdenv.lib.platforms.linux; 29 - maintainers = with stdenv.lib.maintainers; [ asppsa ]; 27 + license = lib.licenses.lgpl3Plus; 28 + platforms = lib.platforms.linux; 29 + maintainers = with lib.maintainers; [ asppsa ]; 30 30 }; 31 31 }
+4 -4
pkgs/development/pure-modules/stllib/default.nix
··· 1 - { stdenv, fetchurl, pkg-config, pure }: 1 + { lib, stdenv, fetchurl, pkg-config, pure }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 baseName = "stllib"; ··· 24 24 meta = { 25 25 description = "An “umbrella” package that contains a pair of Pure addons, pure-stlvec and pure-stlmap"; 26 26 homepage = "http://puredocs.bitbucket.org/pure-stllib.html"; 27 - license = stdenv.lib.licenses.bsd3; 28 - platforms = stdenv.lib.platforms.linux; 29 - maintainers = with stdenv.lib.maintainers; [ asppsa ]; 27 + license = lib.licenses.bsd3; 28 + platforms = lib.platforms.linux; 29 + maintainers = with lib.maintainers; [ asppsa ]; 30 30 }; 31 31 }
+4 -4
pkgs/development/pure-modules/tk/default.nix
··· 1 - { stdenv, fetchurl, pkg-config, pure, tcl, tk, xlibsWrapper }: 1 + { lib, stdenv, fetchurl, pkg-config, pure, tcl, tk, xlibsWrapper }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 baseName = "tk"; ··· 18 18 meta = { 19 19 description = "A basic interface between Pure and Tcl/Tk"; 20 20 homepage = "http://puredocs.bitbucket.org/pure-tk.html"; 21 - license = stdenv.lib.licenses.bsd3; 22 - platforms = stdenv.lib.platforms.linux; 23 - maintainers = with stdenv.lib.maintainers; [ asppsa ]; 21 + license = lib.licenses.bsd3; 22 + platforms = lib.platforms.linux; 23 + maintainers = with lib.maintainers; [ asppsa ]; 24 24 }; 25 25 }
+4 -4
pkgs/development/pure-modules/xml/default.nix
··· 1 - { stdenv, fetchurl, pkg-config, pure, libxml2, libxslt }: 1 + { lib, stdenv, fetchurl, pkg-config, pure, libxml2, libxslt }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 baseName = "xml"; ··· 18 18 meta = { 19 19 description = "A simplified interface to the Gnome libxml2 and libxslt libraries for Pure"; 20 20 homepage = "http://puredocs.bitbucket.org/pure-xml.html"; 21 - license = stdenv.lib.licenses.lgpl3Plus; 22 - platforms = stdenv.lib.platforms.linux; 23 - maintainers = with stdenv.lib.maintainers; [ asppsa ]; 21 + license = lib.licenses.lgpl3Plus; 22 + platforms = lib.platforms.linux; 23 + maintainers = with lib.maintainers; [ asppsa ]; 24 24 }; 25 25 }
+44
pkgs/development/python-modules/aioeafm/default.nix
··· 1 + { lib 2 + , aiohttp 3 + , async-timeout 4 + , buildPythonPackage 5 + , fetchFromGitHub 6 + , poetry 7 + , pytest-aiohttp 8 + , pytest-asyncio 9 + , pytest-cov 10 + , pytestCheckHook 11 + }: 12 + 13 + buildPythonPackage rec { 14 + pname = "aioeafm"; 15 + version = "1.0.0"; 16 + format = "pyproject"; 17 + 18 + src = fetchFromGitHub { 19 + owner = "Jc2k"; 20 + repo = pname; 21 + rev = version; 22 + sha256 = "048cxn3fw2hynp27zlizq7k8ps67qq9sib1ddgirnxy5zc87vgkc"; 23 + }; 24 + 25 + nativeBuildInputs = [ poetry ]; 26 + 27 + propagatedBuildInputs = [ aiohttp ]; 28 + 29 + checkInputs = [ 30 + pytest-aiohttp 31 + pytest-asyncio 32 + pytest-cov 33 + pytestCheckHook 34 + ]; 35 + 36 + pythonImportsCheck = [ "aioeafm" ]; 37 + 38 + meta = with lib; { 39 + description = "Python client for access the Real Time flood monitoring API"; 40 + homepage = "https://github.com/Jc2k/aioeafm"; 41 + license = with licenses; [ asl20 ]; 42 + maintainers = with maintainers; [ fab ]; 43 + }; 44 + }
+43
pkgs/development/python-modules/amcrest/default.nix
··· 1 + { lib 2 + , argcomplete 3 + , buildPythonPackage 4 + , fetchFromGitHub 5 + , mock 6 + , pytestCheckHook 7 + , requests 8 + , responses 9 + , urllib3 10 + }: 11 + 12 + buildPythonPackage rec { 13 + pname = "amcrest"; 14 + version = "1.7.2"; 15 + 16 + src = fetchFromGitHub { 17 + owner = "tchellomello"; 18 + repo = "python-amcrest"; 19 + rev = version; 20 + sha256 = "06gbrshf6vqvq3k813d1w37k2kmps0g6msa4lp2f9xvzw3iczshy"; 21 + }; 22 + 23 + propagatedBuildInputs = [ 24 + argcomplete 25 + requests 26 + urllib3 27 + ]; 28 + 29 + checkInputs = [ 30 + mock 31 + pytestCheckHook 32 + responses 33 + ]; 34 + 35 + pythonImportsCheck = [ "amcrest" ]; 36 + 37 + meta = with lib; { 38 + description = "Python module for Amcrest and Dahua Cameras"; 39 + homepage = "https://github.com/tchellomello/python-amcrest"; 40 + license = with licenses; [ gpl2Only ]; 41 + maintainers = with maintainers; [ fab ]; 42 + }; 43 + }
+4 -4
pkgs/development/python-modules/cntk/default.nix
··· 3 3 , pkgs 4 4 , numpy 5 5 , scipy 6 - , openmpi 6 + , mpi 7 7 , enum34 8 8 , protobuf 9 9 , pip ··· 17 17 buildPythonPackage { 18 18 inherit (cntk) name version src; 19 19 20 - nativeBuildInputs = [ swig openmpi ]; 21 - buildInputs = [ cntk openmpi ]; 20 + nativeBuildInputs = [ swig mpi ]; 21 + buildInputs = [ cntk mpi ]; 22 22 propagatedBuildInputs = [ numpy scipy enum34 protobuf pip ]; 23 23 24 24 CNTK_LIB_PATH = "${cntk}/lib"; ··· 28 28 29 29 postPatch = '' 30 30 cd bindings/python 31 - sed -i 's,"libmpi.so.12","${openmpi}/lib/libmpi.so",g' cntk/train/distributed.py 31 + sed -i 's,"libmpi.so.12","${mpi}/lib/libmpi.so",g' cntk/train/distributed.py 32 32 33 33 # Remove distro and libs checks; they aren't compatible with NixOS and besides we guarantee 34 34 # compatibility by providing a package.
+34
pkgs/development/python-modules/pycfdns/default.nix
··· 1 + { lib 2 + , aiohttp 3 + , async-timeout 4 + , buildPythonPackage 5 + , fetchFromGitHub 6 + }: 7 + 8 + buildPythonPackage rec { 9 + pname = "pycfdns"; 10 + version = "1.2.1"; 11 + 12 + src = fetchFromGitHub { 13 + owner = "ludeeus"; 14 + repo = pname; 15 + rev = version; 16 + sha256 = "0df4695cb0h6f2lnn6dx4h5al2ra93zp1hzfaz07nj2gvirswp83"; 17 + }; 18 + 19 + propagatedBuildInputs = [ 20 + aiohttp 21 + async-timeout 22 + ]; 23 + 24 + # Project has no tests 25 + doCheck = false; 26 + pythonImportsCheck = [ "pycfdns" ]; 27 + 28 + meta = with lib; { 29 + description = "Python module for updating Cloudflare DNS A records"; 30 + homepage = "https://github.com/ludeeus/pycfdns"; 31 + license = with licenses; [ mit ]; 32 + maintainers = with maintainers; [ fab ]; 33 + }; 34 + }
+5 -4
pkgs/development/python-modules/pytile/default.nix
··· 4 4 , aresponses 5 5 , buildPythonPackage 6 6 , fetchFromGitHub 7 - , poetry 7 + , poetry-core 8 8 , pylint 9 9 , pytest-aiohttp 10 10 , pytest-asyncio 11 11 , pytestCheckHook 12 12 , pythonAtLeast 13 13 }: 14 + 14 15 buildPythonPackage rec { 15 16 pname = "pytile"; 16 - version = "5.1.0"; 17 + version = "5.1.1"; 17 18 disabled = pythonAtLeast "3.9"; 18 19 19 20 src = fetchFromGitHub { 20 21 owner = "bachya"; 21 22 repo = pname; 22 23 rev = version; 23 - sha256 = "0hdyb8ca4ihqf7yfkr3hbpkwz7g182ycra151y5dxn0319fillc3"; 24 + sha256 = "sha256-bVoFTaK/Alemtc5I+Z/M9y/FWczvJ+P86R0DMD89/BM="; 24 25 }; 25 26 26 27 format = "pyproject"; 27 28 28 - nativeBuildInputs = [ poetry ]; 29 + nativeBuildInputs = [ poetry-core ]; 29 30 30 31 propagatedBuildInputs = [ 31 32 aiohttp
+3 -5
pkgs/development/python-modules/pytorch/default.nix
··· 1 1 { stdenv, lib, fetchFromGitHub, fetchpatch, buildPythonPackage, python, 2 2 cudaSupport ? false, cudatoolkit ? null, cudnn ? null, nccl ? null, magma ? null, 3 3 mklDnnSupport ? true, useSystemNccl ? true, 4 - openMPISupport ? false, openmpi ? null, 4 + MPISupport ? false, mpi, 5 5 buildDocs ? false, 6 6 cudaArchList ? null, 7 7 ··· 29 29 30 30 isPy3k, pythonOlder }: 31 31 32 - assert !openMPISupport || openmpi != null; 33 - 34 32 # assert that everything needed for cuda is present and that the correct cuda versions are used 35 33 assert !cudaSupport || cudatoolkit != null; 36 34 assert cudnn == null || cudatoolkit != null; ··· 38 36 in majorIs == "9" || majorIs == "10" || majorIs == "11"); 39 37 40 38 # confirm that cudatoolkits are sync'd across dependencies 41 - assert !(openMPISupport && cudaSupport) || openmpi.cudatoolkit == cudatoolkit; 39 + assert !(MPISupport && cudaSupport) || mpi.cudatoolkit == cudatoolkit; 42 40 assert !cudaSupport || magma.cudatoolkit == cudatoolkit; 43 41 44 42 let ··· 224 222 typing-extensions 225 223 # the following are required for tensorboard support 226 224 pillow six future tensorflow-tensorboard protobuf 227 - ] ++ lib.optionals openMPISupport [ openmpi ] 225 + ] ++ lib.optionals MPISupport [ mpi ] 228 226 ++ lib.optionals (pythonOlder "3.7") [ dataclasses ]; 229 227 230 228 checkInputs = [ hypothesis ninja psutil ];
+2 -2
pkgs/development/python-modules/tensorflow/default.nix
··· 11 11 # Common deps 12 12 , git, pybind11, which, binutils, glibcLocales, cython, perl 13 13 # Common libraries 14 - , jemalloc, openmpi, gast, grpc, sqlite, boringssl, jsoncpp 14 + , jemalloc, mpi, gast, grpc, sqlite, boringssl, jsoncpp 15 15 , curl, snappy, flatbuffers-core, lmdb-core, icu, double-conversion, libpng, libjpeg_turbo, giflib 16 16 # Upsteam by default includes cuda support since tensorflow 1.15. We could do 17 17 # that in nix as well. It would make some things easier and less confusing, but ··· 129 129 130 130 buildInputs = [ 131 131 jemalloc 132 - openmpi 132 + mpi 133 133 glibcLocales 134 134 git 135 135
+14 -3
pkgs/development/python-modules/tokenizers/default.nix
··· 7 7 , wheel 8 8 , numpy 9 9 , python 10 + , datasets 10 11 , pytestCheckHook 11 12 , requests 12 13 }: ··· 50 51 }; 51 52 in rustPlatform.buildRustPackage rec { 52 53 pname = "tokenizers"; 53 - version = "0.9.4"; 54 + version = "0.10.0"; 54 55 55 56 src = fetchFromGitHub { 56 57 owner = "huggingface"; 57 58 repo = pname; 58 59 rev = "python-v${version}"; 59 - hash = "sha256-JXoH9yfhMIFg5qDY5zrF6iWb7XKugjMfk1NxSizfaWg="; 60 + hash = "sha256-rQ2hRV52naEf6PvRsWVCTN7B1oXAQGmnpJw4iIdhamw="; 60 61 }; 61 62 62 - cargoSha256 = "sha256-u9qitrOxJSABs0VjwHUZgmw7VTQXNbp6l8fKKE/RQ7M="; 63 + cargoSha256 = "sha256-BoHIN/519Top1NUBjpB/oEMqi86Omt3zTQcXFWqrek0="; 63 64 64 65 sourceRoot = "source/bindings/python"; 65 66 ··· 75 76 ]; 76 77 77 78 installCheckInputs = [ 79 + datasets 78 80 pytestCheckHook 79 81 requests 80 82 ]; ··· 104 106 installPhase = '' 105 107 pipInstallPhase 106 108 ''; 109 + 110 + preCheck = '' 111 + HOME=$TMPDIR 112 + ''; 113 + 114 + disabledTests = [ 115 + # Downloads data using the datasets module. 116 + "TestTrainFromIterators" 117 + ]; 107 118 108 119 meta = with lib; { 109 120 homepage = "https://github.com/huggingface/tokenizers";
+9 -60
pkgs/development/python-modules/transformers/default.nix
··· 1 1 { buildPythonPackage 2 2 , lib, stdenv 3 3 , fetchFromGitHub 4 - , isPy39 4 + , pythonOlder 5 5 , cookiecutter 6 6 , filelock 7 + , importlib-metadata 7 8 , regex 8 9 , requests 9 10 , numpy 10 - , pandas 11 - , parameterized 12 11 , protobuf 13 12 , sacremoses 14 - , timeout-decorator 15 13 , tokenizers 16 14 , tqdm 17 - , pytestCheckHook 18 15 }: 19 16 20 17 buildPythonPackage rec { 21 18 pname = "transformers"; 22 - version = "4.1.1"; 23 - disabled = isPy39; 19 + version = "4.2.2"; 24 20 25 21 src = fetchFromGitHub { 26 22 owner = "huggingface"; 27 23 repo = pname; 28 24 rev = "v${version}"; 29 - sha256 = "1l1gxdsakjmzsgggypq45pnwm87brhlccjfzafs43460pz0wbd6k"; 25 + hash = "sha256-sBMCzEgYX6HQbzoEIYnmMdpYecCCsQjTdl2mO1Veu9M="; 30 26 }; 31 27 32 28 propagatedBuildInputs = [ ··· 39 35 sacremoses 40 36 tokenizers 41 37 tqdm 42 - ]; 38 + ] ++ stdenv.lib.optionals (pythonOlder "3.8") [ importlib-metadata ]; 43 39 44 - checkInputs = [ 45 - pandas 46 - parameterized 47 - pytestCheckHook 48 - timeout-decorator 49 - ]; 40 + # Many tests require internet access. 41 + doCheck = false; 50 42 51 43 postPatch = '' 52 - substituteInPlace setup.py \ 53 - --replace "tokenizers == 0.9.4" "tokenizers" 44 + sed -ri 's/tokenizers==[0-9.]+/tokenizers/g' setup.py 54 45 ''; 55 46 56 - preCheck = '' 57 - export HOME="$TMPDIR" 58 - 59 - # This test requires the `datasets` module to download test 60 - # data. However, since we cannot download in the Nix sandbox 61 - # and `dataset` is an optional dependency for transformers 62 - # itself, we will just remove the tests files that import 63 - # `dataset`. 64 - rm tests/test_retrieval_rag.py 65 - rm tests/test_trainer.py 66 - ''; 67 - 68 - # We have to run from the main directory for the tests. However, 69 - # letting pytest discover tests leads to errors. 70 - pytestFlagsArray = [ "tests" ]; 71 - 72 - # Disable tests that require network access. 73 - disabledTests = [ 74 - "BlenderbotSmallTokenizerTest" 75 - "Blenderbot3BTokenizerTests" 76 - "GetFromCacheTests" 77 - "TokenizationTest" 78 - "TestTokenizationBart" 79 - "test_all_tokenizers" 80 - "test_batch_encoding_is_fast" 81 - "test_batch_encoding_pickle" 82 - "test_batch_encoding_word_to_tokens" 83 - "test_config_from_model_shortcut" 84 - "test_config_model_type_from_model_identifier" 85 - "test_from_pretrained_use_fast_toggle" 86 - "test_hf_api" 87 - "test_outputs_can_be_shorter" 88 - "test_outputs_not_longer_than_maxlen" 89 - "test_padding_accepts_tensors" 90 - "test_pretokenized_tokenizers" 91 - "test_tokenizer_equivalence_en_de" 92 - "test_tokenizer_from_model_type" 93 - "test_tokenizer_from_model_type" 94 - "test_tokenizer_from_pretrained" 95 - "test_tokenizer_from_tokenizer_class" 96 - "test_tokenizer_identifier_with_correct_config" 97 - "test_tokenizer_identifier_non_existent" 98 - ]; 47 + pythonImportsCheck = [ "transformers" ]; 99 48 100 49 meta = with lib; { 101 50 homepage = "https://github.com/huggingface/transformers";
+5 -5
pkgs/development/r-modules/default.nix
··· 237 237 BayesSAE = [ pkgs.gsl_1 ]; 238 238 BayesVarSel = [ pkgs.gsl_1 ]; 239 239 BayesXsrc = [ pkgs.readline.dev pkgs.ncurses ]; 240 - bigGP = [ pkgs.openmpi ]; 240 + bigGP = [ pkgs.mpi ]; 241 241 bio3d = [ pkgs.zlib ]; 242 242 BiocCheck = [ pkgs.which ]; 243 243 Biostrings = [ pkgs.zlib ]; ··· 284 284 n1qn1 = [ pkgs.gfortran ]; 285 285 odbc = [ pkgs.unixODBC ]; 286 286 pander = [ pkgs.pandoc pkgs.which ]; 287 - pbdMPI = [ pkgs.openmpi ]; 288 - pbdPROF = [ pkgs.openmpi ]; 287 + pbdMPI = [ pkgs.mpi ]; 288 + pbdPROF = [ pkgs.mpi ]; 289 289 pbdZMQ = lib.optionals stdenv.isDarwin [ pkgs.which ]; 290 290 pdftools = [ pkgs.poppler.dev ]; 291 291 phytools = [ pkgs.which ]; ··· 309 309 RGtk2 = [ pkgs.gtk2.dev ]; 310 310 rhdf5 = [ pkgs.zlib ]; 311 311 Rhdf5lib = [ pkgs.zlib ]; 312 - Rhpc = [ pkgs.zlib pkgs.bzip2.dev pkgs.icu pkgs.lzma.dev pkgs.openmpi pkgs.pcre.dev ]; 312 + Rhpc = [ pkgs.zlib pkgs.bzip2.dev pkgs.icu pkgs.lzma.dev pkgs.mpi pkgs.pcre.dev ]; 313 313 Rhtslib = [ pkgs.zlib.dev pkgs.automake pkgs.autoconf pkgs.bzip2.dev pkgs.lzma.dev pkgs.curl.dev ]; 314 314 rjags = [ pkgs.jags ]; 315 315 rJava = [ pkgs.zlib pkgs.bzip2.dev pkgs.icu pkgs.lzma.dev pkgs.pcre.dev pkgs.jdk pkgs.libzip ]; 316 316 Rlibeemd = [ pkgs.gsl_1 ]; 317 317 rmatio = [ pkgs.zlib.dev ]; 318 318 Rmpfr = [ pkgs.gmp pkgs.mpfr.dev ]; 319 - Rmpi = [ pkgs.openmpi ]; 319 + Rmpi = [ pkgs.mpi ]; 320 320 RMySQL = [ pkgs.zlib pkgs.libmysqlclient pkgs.openssl.dev ]; 321 321 RNetCDF = [ pkgs.netcdf pkgs.udunits ]; 322 322 RODBC = [ pkgs.libiodbc ];
+2 -2
pkgs/development/tools/alloy/default.nix
··· 1 - { stdenv, fetchurl, jre, makeWrapper, makeDesktopItem }: 1 + { lib, stdenv, fetchurl, jre, makeWrapper, makeDesktopItem }: 2 2 3 3 let generic = { major, version, src }: 4 4 ··· 30 30 cp -r ${desktopItem}/share/applications $out/share 31 31 ''; 32 32 33 - meta = with stdenv.lib; { 33 + meta = with lib; { 34 34 description = "Language & tool for relational models"; 35 35 longDescription = '' 36 36 Alloy is a language for describing structures and a tool for exploring
+3 -3
pkgs/development/tools/ammonite/default.nix
··· 1 - { stdenv, fetchurl, jre, nixosTests, writeScript, common-updater-scripts, git 1 + { lib, stdenv, fetchurl, jre, nixosTests, writeScript, common-updater-scripts, git 2 2 , nixfmt, nix, coreutils, gnused, disableRemoteLogging ? true }: 3 3 4 - with stdenv.lib; 4 + with lib; 5 5 6 6 let 7 7 repo = "git@github.com:lihaoyi/Ammonite.git"; ··· 34 34 #!${stdenv.shell} 35 35 set -o errexit 36 36 PATH=${ 37 - stdenv.lib.makeBinPath [ 37 + lib.makeBinPath [ 38 38 common-updater-scripts 39 39 coreutils 40 40 git
+2 -2
pkgs/development/tools/analysis/autoflake/default.nix
··· 1 - { stdenv, python3Packages }: 1 + { lib, stdenv, python3Packages }: 2 2 3 3 with python3Packages; 4 4 buildPythonApplication rec { ··· 14 14 15 15 doCheck = true; 16 16 17 - meta = with stdenv.lib; { 17 + meta = with lib; { 18 18 homepage = "https://github.com/myint/autoflake"; 19 19 description = "A simple program which removes unused imports and unused variables as reported by pyflakes"; 20 20 license = licenses.mit;
+2 -2
pkgs/development/tools/analysis/bingrep/default.nix
··· 1 - { stdenv, rustPlatform, fetchFromGitHub }: 1 + { lib, stdenv, rustPlatform, fetchFromGitHub }: 2 2 3 3 rustPlatform.buildRustPackage rec { 4 4 pname = "bingrep"; ··· 13 13 14 14 cargoSha256 = "sha256-3eGYU5O7HSpawIL/8OVmROCzXfdnoMAnIujjrIp00xg="; 15 15 16 - meta = with stdenv.lib; { 16 + meta = with lib; { 17 17 description = "Greps through binaries from various OSs and architectures, and colors them"; 18 18 homepage = "https://github.com/m4b/bingrep"; 19 19 license = licenses.mit;
+4 -4
pkgs/development/tools/analysis/cccc/default.nix
··· 1 - { stdenv, fetchurl }: 1 + { lib, stdenv, fetchurl }: 2 2 3 3 let 4 4 name = "cccc"; ··· 30 30 complexity and metrics proposed by Chidamber&Kemerer and Henry&Kafura. 31 31 ''; 32 32 homepage = "http://cccc.sourceforge.net/"; 33 - license = stdenv.lib.licenses.gpl2; 34 - platforms = stdenv.lib.platforms.unix; 35 - maintainers = [ stdenv.lib.maintainers.linquize ]; 33 + license = lib.licenses.gpl2; 34 + platforms = lib.platforms.unix; 35 + maintainers = [ lib.maintainers.linquize ]; 36 36 }; 37 37 }
+2 -2
pkgs/development/tools/analysis/checkstyle/default.nix
··· 1 - { stdenv, fetchurl, makeWrapper, jre }: 1 + { lib, stdenv, fetchurl, makeWrapper, jre }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 version = "8.39"; ··· 22 22 runHook postInstall 23 23 ''; 24 24 25 - meta = with stdenv.lib; { 25 + meta = with lib; { 26 26 description = "Checks Java source against a coding standard"; 27 27 longDescription = '' 28 28 checkstyle is a development tool to help programmers write Java code that
+4 -4
pkgs/development/tools/analysis/clang-analyzer/default.nix
··· 1 - { stdenv, fetchurl, clang, llvmPackages, perl, makeWrapper, python3 }: 1 + { lib, stdenv, fetchurl, clang, llvmPackages, perl, makeWrapper, python3 }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "clang-analyzer"; ··· 27 27 meta = { 28 28 description = "Clang Static Analyzer"; 29 29 homepage = "http://clang-analyzer.llvm.org"; 30 - license = stdenv.lib.licenses.bsd3; 31 - platforms = stdenv.lib.platforms.unix; 32 - maintainers = [ stdenv.lib.maintainers.thoughtpolice ]; 30 + license = lib.licenses.bsd3; 31 + platforms = lib.platforms.unix; 32 + maintainers = [ lib.maintainers.thoughtpolice ]; 33 33 }; 34 34 }
+2 -2
pkgs/development/tools/analysis/coan/default.nix
··· 1 - { stdenv, fetchurl, perl }: 1 + { lib, stdenv, fetchurl, perl }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 version = "6.0.1"; ··· 17 17 mv -v $out/share/man/man1/coan.1.{1,gz} 18 18 ''; 19 19 20 - meta = with stdenv.lib; { 20 + meta = with lib; { 21 21 description = "The C preprocessor chainsaw"; 22 22 longDescription = '' 23 23 A software engineering tool for analysing preprocessor-based
+2 -2
pkgs/development/tools/analysis/codeql/default.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 , fetchzip 3 3 , zlib 4 4 , xorg ··· 52 52 ln -s $out/codeql/codeql $out/bin/ 53 53 ''; 54 54 55 - meta = with stdenv.lib; { 55 + meta = with lib; { 56 56 description = "Semantic code analysis engine"; 57 57 homepage = "https://semmle.com/codeql"; 58 58 maintainers = [ maintainers.dump_stack ];
+4 -4
pkgs/development/tools/analysis/cov-build/default.nix
··· 1 - { stdenv, requireFile }: 1 + { lib, stdenv, requireFile }: 2 2 3 3 let 4 4 message = '' ··· 41 41 meta = { 42 42 description = "Coverity Scan build tools"; 43 43 homepage = "https://scan.coverity.com"; 44 - license = stdenv.lib.licenses.unfreeRedistributable; 45 - platforms = stdenv.lib.platforms.linux; 46 - maintainers = [ stdenv.lib.maintainers.thoughtpolice ]; 44 + license = lib.licenses.unfreeRedistributable; 45 + platforms = lib.platforms.linux; 46 + maintainers = [ lib.maintainers.thoughtpolice ]; 47 47 }; 48 48 }
+3 -3
pkgs/development/tools/analysis/coz/default.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 , fetchFromGitHub 3 3 , libelfin 4 4 , ncurses ··· 50 50 meta = { 51 51 homepage = "https://github.com/plasma-umass/coz"; 52 52 description = "Profiler based on casual profiling"; 53 - license = stdenv.lib.licenses.bsd2; 54 - maintainers = with stdenv.lib.maintainers; [ zimbatm ]; 53 + license = lib.licenses.bsd2; 54 + maintainers = with lib.maintainers; [ zimbatm ]; 55 55 }; 56 56 }
+4 -4
pkgs/development/tools/analysis/cppcheck/default.nix
··· 1 - { stdenv, fetchurl, libxslt, docbook_xsl, docbook_xml_dtd_45, pcre, withZ3 ? true, z3 }: 1 + { lib, stdenv, fetchurl, libxslt, docbook_xsl, docbook_xml_dtd_45, pcre, withZ3 ? true, z3 }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "cppcheck"; ··· 9 9 sha256 = "0mlw0z20qf0g9qrmdmbykzf87wlcgmah8bacmp4mk6dwfzr9g9n3"; 10 10 }; 11 11 12 - buildInputs = [ pcre ] ++ stdenv.lib.optionals withZ3 [ z3 ]; 12 + buildInputs = [ pcre ] ++ lib.optionals withZ3 [ z3 ]; 13 13 nativeBuildInputs = [ libxslt docbook_xsl docbook_xml_dtd_45 ]; 14 14 15 15 makeFlags = [ "PREFIX=$(out)" "FILESDIR=$(out)/cfg" "HAVE_RULES=yes" ] 16 - ++ stdenv.lib.optionals withZ3 [ "USE_Z3=yes" "CPPFLAGS=-DNEW_Z3=1" ]; 16 + ++ lib.optionals withZ3 [ "USE_Z3=yes" "CPPFLAGS=-DNEW_Z3=1" ]; 17 17 18 18 outputs = [ "out" "man" ]; 19 19 ··· 25 25 cp cppcheck.1 $man/share/man/man1/cppcheck.1 26 26 ''; 27 27 28 - meta = with stdenv.lib; { 28 + meta = with lib; { 29 29 description = "A static analysis tool for C/C++ code"; 30 30 longDescription = '' 31 31 Check C/C++ code for memory leaks, mismatching allocation-deallocation,
+2 -2
pkgs/development/tools/analysis/egypt/default.nix
··· 1 - { stdenv, fetchurl, perlPackages }: 1 + { lib, stdenv, fetchurl, perlPackages }: 2 2 3 3 perlPackages.buildPerlPackage rec { 4 4 pname = "egypt"; ··· 15 15 16 16 doCheck = true; 17 17 18 - meta = with stdenv.lib; { 18 + meta = with lib; { 19 19 description = "Tool for making call graphs of C programmes"; 20 20 longDescription = '' 21 21 Egypt is a simple tool for creating call graphs of C programs. It neither
+3 -3
pkgs/development/tools/analysis/emma/default.nix
··· 1 - {stdenv, fetchurl, unzip}: 1 + {lib, stdenv, fetchurl, unzip}: 2 2 3 3 stdenv.mkDerivation { 4 4 name = "emma-2.0.5312"; ··· 18 18 meta = { 19 19 homepage = "http://emma.sourceforge.net/"; 20 20 description = "A code coverage tool for Java"; 21 - platforms = stdenv.lib.platforms.unix; 22 - license = stdenv.lib.licenses.cpl10; 21 + platforms = lib.platforms.unix; 22 + license = lib.licenses.cpl10; 23 23 }; 24 24 }
+2 -2
pkgs/development/tools/analysis/evmdis/default.nix
··· 1 - { stdenv, buildGoPackage, fetchFromGitHub }: 1 + { lib, stdenv, buildGoPackage, fetchFromGitHub }: 2 2 3 3 buildGoPackage { 4 4 pname = "evmdis-unstable"; ··· 12 12 sha256 = "09y4j7ipgv8yd99g3xk3f079w8fqfj7kl1y7ry81ainysn0qlqrg"; 13 13 }; 14 14 15 - meta = with stdenv.lib; { 15 + meta = with lib; { 16 16 homepage = "https://github.com/Arachnid/evmdis"; 17 17 description = "Ethereum EVM disassembler"; 18 18 license = [ licenses.asl20 ];
+2 -2
pkgs/development/tools/analysis/findbugs/default.nix
··· 1 - { stdenv, fetchurl }: 1 + { lib, stdenv, fetchurl }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "findbugs-3.0.1"; ··· 34 34 EOF 35 35 ''; 36 36 37 - meta = with stdenv.lib; { 37 + meta = with lib; { 38 38 description = "A static analysis tool to find bugs in Java programs automatically"; 39 39 homepage = "http://findbugs.sourceforge.net/"; 40 40 maintainers = with maintainers; [ pSub ];
+3 -3
pkgs/development/tools/analysis/flow/default.nix
··· 1 - { stdenv, fetchFromGitHub, ocamlPackages, CoreServices }: 1 + { lib, stdenv, fetchFromGitHub, ocamlPackages, CoreServices }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "flow"; ··· 17 17 ''; 18 18 19 19 buildInputs = (with ocamlPackages; [ ocaml findlib ocamlbuild dtoa core_kernel sedlex_2 ocaml_lwt lwt_log lwt_ppx ppx_deriving ppx_gen_rec ppx_tools_versioned visitors wtf8 ocaml-migrate-parsetree ]) 20 - ++ stdenv.lib.optionals stdenv.isDarwin [ CoreServices ]; 20 + ++ lib.optionals stdenv.isDarwin [ CoreServices ]; 21 21 22 - meta = with stdenv.lib; { 22 + meta = with lib; { 23 23 description = "A static type checker for JavaScript"; 24 24 homepage = "https://flow.org/"; 25 25 changelog = "https://github.com/facebook/flow/releases/tag/v${version}";
+3 -3
pkgs/development/tools/analysis/frama-c/default.nix
··· 73 73 meta = { 74 74 description = "An extensible and collaborative platform dedicated to source-code analysis of C software"; 75 75 homepage = "http://frama-c.com/"; 76 - license = stdenv.lib.licenses.lgpl21; 77 - maintainers = with stdenv.lib.maintainers; [ thoughtpolice amiddelk ]; 78 - platforms = stdenv.lib.platforms.unix; 76 + license = lib.licenses.lgpl21; 77 + maintainers = with lib.maintainers; [ thoughtpolice amiddelk ]; 78 + platforms = lib.platforms.unix; 79 79 }; 80 80 }
+2 -2
pkgs/development/tools/analysis/garcosim/tracefilegen/default.nix
··· 1 - { stdenv, fetchFromGitHub, cmake }: 1 + { lib, stdenv, fetchFromGitHub, cmake }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 ··· 21 21 cp -ar $src/Documentation/html $out/share/doc/${name}/. 22 22 ''; 23 23 24 - meta = with stdenv.lib; { 24 + meta = with lib; { 25 25 description = "Automatically generate all types of basic memory management operations and write into trace files"; 26 26 homepage = "https://github.com/GarCoSim"; 27 27 maintainers = [ maintainers.cmcdragonkai ];
+2 -2
pkgs/development/tools/analysis/garcosim/tracefilesim/default.nix
··· 1 - { stdenv, fetchgit }: 1 + { lib, stdenv, fetchgit }: 2 2 3 3 stdenv.mkDerivation { 4 4 ··· 17 17 cp ./traceFileSim "$out/bin" 18 18 ''; 19 19 20 - meta = with stdenv.lib; { 20 + meta = with lib; { 21 21 description = "Ease the analysis of existing memory management techniques, as well as the prototyping of new memory management techniques"; 22 22 homepage = "https://github.com/GarCoSim"; 23 23 maintainers = [ maintainers.cmcdragonkai ];
+1 -1
pkgs/development/tools/analysis/hopper/default.nix
··· 67 67 --replace "Exec=/opt/hopper-${rev}/bin/Hopper" "Exec=$out/bin/hopper" 68 68 ''; 69 69 70 - meta = with stdenv.lib; { 70 + meta = with lib; { 71 71 homepage = "https://www.hopperapp.com/index.html"; 72 72 description = "A macOS and Linux Disassembler"; 73 73 license = licenses.unfree;
+4 -4
pkgs/development/tools/analysis/hotspot/default.nix
··· 1 - { stdenv, 1 + { lib, stdenv, 2 2 mkDerivation, 3 3 cmake, 4 4 elfutils, ··· 58 58 then displays the result in a graphical way. 59 59 ''; 60 60 homepage = "https://github.com/KDAB/hotspot"; 61 - license = with stdenv.lib.licenses; [ gpl2 gpl3 ]; 62 - platforms = stdenv.lib.platforms.linux; 63 - maintainers = with stdenv.lib.maintainers; [ nh2 ]; 61 + license = with lib.licenses; [ gpl2 gpl3 ]; 62 + platforms = lib.platforms.linux; 63 + maintainers = with lib.maintainers; [ nh2 ]; 64 64 }; 65 65 }
+2 -2
pkgs/development/tools/analysis/include-what-you-use/default.nix
··· 1 - { stdenv, fetchurl, cmake, llvmPackages, python2 }: 1 + { lib, stdenv, fetchurl, cmake, llvmPackages, python2 }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "include-what-you-use"; ··· 20 20 --replace "'include-what-you-use'" "'$out/bin/include-what-you-use'" 21 21 ''; 22 22 23 - meta = with stdenv.lib; { 23 + meta = with lib; { 24 24 description = "Analyze #includes in C/C++ source files with clang"; 25 25 longDescription = '' 26 26 For every symbol (type, function variable, or macro) that you use in
+2 -2
pkgs/development/tools/analysis/jdepend/default.nix
··· 1 - { stdenv, fetchFromGitHub, ant, jdk, runtimeShell }: 1 + { lib, stdenv, fetchFromGitHub, ant, jdk, runtimeShell }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "jdepend"; ··· 25 25 chmod a+x $out/bin/jdepend 26 26 ''; 27 27 28 - meta = with stdenv.lib; { 28 + meta = with lib; { 29 29 description = "Traverses Java class file directories and generates design quality metrics for each Java package"; 30 30 homepage = "http://www.clarkware.com/software/JDepend.html"; 31 31 license = licenses.bsd3;
+2 -2
pkgs/development/tools/analysis/kcov/default.nix
··· 1 - {stdenv, fetchFromGitHub, cmake, pkg-config, zlib, curl, elfutils, python, libiberty, libopcodes}: 1 + {lib, stdenv, fetchFromGitHub, cmake, pkg-config, zlib, curl, elfutils, python, libiberty, libopcodes}: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "kcov"; ··· 16 16 17 17 buildInputs = [ zlib curl elfutils python libiberty libopcodes ]; 18 18 19 - meta = with stdenv.lib; { 19 + meta = with lib; { 20 20 description = "Code coverage tester for compiled programs, Python scripts and shell scripts"; 21 21 22 22 longDescription = ''
+3 -3
pkgs/development/tools/analysis/lcov/default.nix
··· 1 - {stdenv, fetchFromGitHub, perl, perlPackages, makeWrapper }: 1 + {lib, stdenv, fetchFromGitHub, perl, perlPackages, makeWrapper }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "lcov"; ··· 23 23 wrapProgram $out/bin/genpng --set PERL5LIB ${perlPackages.makeFullPerlPath [ perlPackages.GD ]} 24 24 ''; 25 25 26 - meta = with stdenv.lib; { 26 + meta = with lib; { 27 27 description = "Code coverage tool that enhances GNU gcov"; 28 28 29 29 longDescription = ··· 36 36 ''; 37 37 38 38 homepage = "http://ltp.sourceforge.net/coverage/lcov.php"; 39 - license = stdenv.lib.licenses.gpl2Plus; 39 + license = lib.licenses.gpl2Plus; 40 40 41 41 maintainers = with maintainers; [ dezgeg ]; 42 42 platforms = platforms.all;
+3 -3
pkgs/development/tools/analysis/makefile2graph/default.nix
··· 1 - { stdenv, fetchFromGitHub, makeWrapper, bash, gnumake }: 1 + { lib, stdenv, fetchFromGitHub, makeWrapper, bash, gnumake }: 2 2 3 3 stdenv.mkDerivation { 4 4 name = "makefile2graph-2018-01-03"; ··· 19 19 --replace '/bin/sh' ${bash}/bin/bash \ 20 20 --replace 'make2graph' "$out/bin/make2graph" 21 21 wrapProgram $out/bin/makefile2graph \ 22 - --set PATH ${stdenv.lib.makeBinPath [ gnumake ]} 22 + --set PATH ${lib.makeBinPath [ gnumake ]} 23 23 ''; 24 24 25 - meta = with stdenv.lib; { 25 + meta = with lib; { 26 26 homepage = "https://github.com/lindenb/makefile2graph"; 27 27 description = "Creates a graph of dependencies from GNU-Make; Output is a graphiz-dot file or a Gexf-XML file"; 28 28 maintainers = with maintainers; [ cmcdragonkai ];
+2 -2
pkgs/development/tools/analysis/oclgrind/default.nix
··· 1 - { stdenv, fetchFromGitHub, cmake, llvmPackages, readline, python }: 1 + { lib, stdenv, fetchFromGitHub, cmake, llvmPackages, readline, python }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "oclgrind"; ··· 18 18 "-DCLANG_ROOT=${llvmPackages.clang-unwrapped}" 19 19 ]; 20 20 21 - meta = with stdenv.lib; { 21 + meta = with lib; { 22 22 description = "An OpenCL device simulator and debugger"; 23 23 homepage = "https://github.com/jrprice/oclgrind"; 24 24 license = licenses.bsd3;
+2 -2
pkgs/development/tools/analysis/panopticon/default.nix
··· 1 - { stdenv, fetchFromGitHub, rustPlatform, qt5, git, cmake 1 + { lib, stdenv, fetchFromGitHub, rustPlatform, qt5, git, cmake 2 2 , pkg-config, makeWrapper }: 3 3 4 4 rustPlatform.buildRustPackage rec { ··· 34 34 makeWrapper $out/share/${pname}/${pname} $out/bin/${pname} 35 35 ''; 36 36 37 - meta = with stdenv.lib; { 37 + meta = with lib; { 38 38 description = "A libre cross-platform disassembler"; 39 39 longDescription = '' 40 40 Panopticon is a cross platform disassembler for reverse
+2 -2
pkgs/development/tools/analysis/pev/default.nix
··· 1 - { stdenv, openssl, fetchFromGitHub }: 1 + { lib, stdenv, openssl, fetchFromGitHub }: 2 2 3 3 stdenv.mkDerivation { 4 4 pname = "pev"; ··· 20 20 21 21 installFlags = [ "prefix=$(out)" ]; 22 22 23 - meta = with stdenv.lib; { 23 + meta = with lib; { 24 24 description = "A full-featured, open source, multiplatform command line toolkit to work with PE (Portable Executables) binaries"; 25 25 homepage = "https://pev.sourceforge.net/"; 26 26 license = licenses.gpl2;
+2 -2
pkgs/development/tools/analysis/pmd/default.nix
··· 1 - { stdenv, fetchurl, unzip, makeWrapper, openjdk }: 1 + { lib, stdenv, fetchurl, unzip, makeWrapper, openjdk }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "pmd"; ··· 19 19 runHook postInstall 20 20 ''; 21 21 22 - meta = with stdenv.lib; { 22 + meta = with lib; { 23 23 description = "An extensible cross-language static code analyzer"; 24 24 homepage = "https://pmd.github.io/"; 25 25 changelog = "https://pmd.github.io/pmd-${version}/pmd_release_notes.html";
+3 -3
pkgs/development/tools/analysis/qcachegrind/default.nix
··· 1 - { stdenv, qmake, qtbase, perl, python, php, kcachegrind }: 1 + { lib, stdenv, qmake, qtbase, perl, python, php, kcachegrind }: 2 2 3 3 let 4 - name = stdenv.lib.replaceStrings ["kcachegrind"] ["qcachegrind"] kcachegrind.name; 4 + name = lib.replaceStrings ["kcachegrind"] ["qcachegrind"] kcachegrind.name; 5 5 6 6 in stdenv.mkDerivation { 7 7 inherit name; ··· 31 31 install -Dm644 kcachegrind/48-apps-kcachegrind.png "$out/share/icons/hicolor/48x48/apps/kcachegrind.png" 32 32 ''); 33 33 34 - meta = with stdenv.lib; { 34 + meta = with lib; { 35 35 description = "A Qt GUI to visualize profiling data"; 36 36 license = licenses.gpl2; 37 37 platforms = platforms.unix;
+5 -5
pkgs/development/tools/analysis/radare2/default.nix
··· 1 - {stdenv, fetchFromGitHub 1 + {lib, stdenv, fetchFromGitHub 2 2 , buildPackages 3 3 , pkg-config 4 4 , libusb-compat-0_1, readline, libewf, perl, zlib, openssl ··· 19 19 20 20 21 21 let 22 - inherit (stdenv.lib) optional; 22 + inherit (lib) optional; 23 23 24 24 generic = { 25 25 version_commit, # unused ··· 95 95 meta = { 96 96 description = "unix-like reverse engineering framework and commandline tools"; 97 97 homepage = "http://radare.org/"; 98 - license = stdenv.lib.licenses.gpl2Plus; 99 - maintainers = with stdenv.lib.maintainers; [ raskin makefu mic92 ]; 100 - platforms = with stdenv.lib.platforms; linux; 98 + license = lib.licenses.gpl2Plus; 99 + maintainers = with lib.maintainers; [ raskin makefu mic92 ]; 100 + platforms = with lib.platforms; linux; 101 101 inherit version; 102 102 }; 103 103 };
+2 -2
pkgs/development/tools/analysis/randoop/default.nix
··· 1 - { stdenv, fetchurl, unzip }: 1 + { lib, stdenv, fetchurl, unzip }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 version = "4.2.5"; ··· 18 18 cp README.txt $out/doc 19 19 ''; 20 20 21 - meta = with stdenv.lib; { 21 + meta = with lib; { 22 22 description = "Automatic test generation for Java"; 23 23 homepage = "https://randoop.github.io/randoop/"; 24 24 license = licenses.mit;
+4 -4
pkgs/development/tools/analysis/rr/default.nix
··· 1 - { stdenv, fetchFromGitHub, cmake, libpfm, zlib, pkg-config, python3Packages, which, procps, gdb, capnproto }: 1 + { lib, stdenv, fetchFromGitHub, cmake, libpfm, zlib, pkg-config, python3Packages, which, procps, gdb, capnproto }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 version = "5.4.0"; ··· 52 52 time the same execution is replayed. 53 53 ''; 54 54 55 - license = with stdenv.lib.licenses; [ mit bsd2 ]; 56 - maintainers = with stdenv.lib.maintainers; [ pierron thoughtpolice ]; 57 - platforms = stdenv.lib.platforms.x86; 55 + license = with lib.licenses; [ mit bsd2 ]; 56 + maintainers = with lib.maintainers; [ pierron thoughtpolice ]; 57 + platforms = lib.platforms.x86; 58 58 }; 59 59 }
+5 -5
pkgs/development/tools/analysis/smatch/default.nix
··· 1 - { stdenv, fetchgit, sqlite, pkg-config, perl 1 + { lib, stdenv, fetchgit, sqlite, pkg-config, perl 2 2 , buildllvmsparse ? true 3 3 , buildc2xml ? true 4 4 , llvm ? null, libxml2 ? null ··· 18 18 19 19 nativeBuildInputs = [ pkg-config ]; 20 20 buildInputs = [sqlite perl] 21 - ++ stdenv.lib.optional buildllvmsparse llvm 22 - ++ stdenv.lib.optional buildc2xml libxml2; 21 + ++ lib.optional buildllvmsparse llvm 22 + ++ lib.optional buildc2xml libxml2; 23 23 24 24 preBuild = 25 25 '' sed -i Makefile \ ··· 29 29 meta = { 30 30 description = "A semantic analysis tool for C"; 31 31 homepage = "http://smatch.sourceforge.net/"; 32 - license = stdenv.lib.licenses.free; /* OSL, see http://www.opensource.org */ 33 - platforms = stdenv.lib.platforms.linux; 32 + license = lib.licenses.free; /* OSL, see http://www.opensource.org */ 33 + platforms = lib.platforms.linux; 34 34 }; 35 35 }
+2 -2
pkgs/development/tools/analysis/snowman/default.nix
··· 1 - { stdenv, mkDerivation, fetchFromGitHub, cmake, boost, qtbase }: 1 + { lib, stdenv, mkDerivation, fetchFromGitHub, cmake, boost, qtbase }: 2 2 3 3 mkDerivation rec { 4 4 pname = "snowman"; ··· 19 19 export sourceRoot=$sourceRoot/src 20 20 ''; 21 21 22 - meta = with stdenv.lib; { 22 + meta = with lib; { 23 23 description = "Native code to C/C++ decompiler"; 24 24 homepage = "http://derevenets.com/"; 25 25
+4 -4
pkgs/development/tools/analysis/sparse/default.nix
··· 1 - { fetchurl, stdenv, pkg-config, libxml2, llvm }: 1 + { fetchurl, lib, stdenv, pkg-config, libxml2, llvm }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "sparse-0.5.0"; ··· 19 19 meta = { 20 20 description = "Semantic parser for C"; 21 21 homepage = "https://git.kernel.org/cgit/devel/sparse/sparse.git/"; 22 - license = stdenv.lib.licenses.mit; 23 - platforms = stdenv.lib.platforms.linux; 24 - maintainers = [ stdenv.lib.maintainers.thoughtpolice ]; 22 + license = lib.licenses.mit; 23 + platforms = lib.platforms.linux; 24 + maintainers = [ lib.maintainers.thoughtpolice ]; 25 25 }; 26 26 }
+4 -4
pkgs/development/tools/analysis/spin/default.nix
··· 2 2 , withISpin ? true, tk, swarm, graphviz }: 3 3 4 4 let 5 - binPath = stdenv.lib.makeBinPath [ gcc ]; 6 - ibinPath = stdenv.lib.makeBinPath [ gcc tk swarm graphviz tk ]; 5 + binPath = lib.makeBinPath [ gcc ]; 6 + ibinPath = lib.makeBinPath [ gcc tk swarm graphviz tk ]; 7 7 8 8 in stdenv.mkDerivation rec { 9 9 pname = "spin"; 10 10 version = "6.4.9"; 11 - url-version = stdenv.lib.replaceChars ["."] [""] version; 11 + url-version = lib.replaceChars ["."] [""] version; 12 12 13 13 src = fetchurl { 14 14 # The homepage is behind CloudFlare anti-DDoS protection, which blocks cURL. ··· 36 36 --prefix PATH ':' "$out/bin:${ibinPath}" 37 37 ''; 38 38 39 - meta = with stdenv.lib; { 39 + meta = with lib; { 40 40 description = "Formal verification tool for distributed software systems"; 41 41 homepage = "http://spinroot.com/"; 42 42 license = licenses.free;
+3 -3
pkgs/development/tools/analysis/splint/default.nix
··· 1 - { fetchurl, stdenv, flex }: 1 + { fetchurl, lib, stdenv, flex }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "splint-3.1.2"; ··· 8 8 sha256 = "02pv8kscsrkrzip9r08pfs9xs98q74c52mlxzbii6cv6vx1vd3f7"; 9 9 }; 10 10 11 - patches = [ ./tmpdir.patch ] ++ stdenv.lib.optional stdenv.isDarwin ./darwin.patch; 11 + patches = [ ./tmpdir.patch ] ++ lib.optional stdenv.isDarwin ./darwin.patch; 12 12 13 13 buildInputs = [ flex ]; 14 14 15 15 doCheck = true; 16 16 17 - meta = with stdenv.lib; { 17 + meta = with lib; { 18 18 homepage = "http://www.splint.org/"; 19 19 description = "Annotation-assisted lightweight static analyzer for C"; 20 20
+2 -2
pkgs/development/tools/analysis/swarm/default.nix
··· 1 - { stdenv, fetchFromGitHub }: 1 + { lib, stdenv, fetchFromGitHub }: 2 2 3 3 stdenv.mkDerivation { 4 4 name = "swarm-2019-03-11"; ··· 15 15 install -Dm644 Doc/swarm.1 $out/share/man/man1/swarm.1 16 16 ''; 17 17 18 - meta = with stdenv.lib; { 18 + meta = with lib; { 19 19 description = "Verification script generator for Spin"; 20 20 homepage = "http://spinroot.com/"; 21 21 license = licenses.free;
+2 -2
pkgs/development/tools/analysis/uefi-firmware-parser/default.nix
··· 1 - { stdenv, python3, fetchFromGitHub }: 1 + { lib, stdenv, python3, fetchFromGitHub }: 2 2 3 3 with python3.pkgs; 4 4 ··· 14 14 sha256 = "1yn9vi91j1yxkn0icdnjhgl0qrqqkzyhccj39af4f19q1gdw995l"; 15 15 }; 16 16 17 - meta = with stdenv.lib; { 17 + meta = with lib; { 18 18 homepage = "https://github.com/theopolis/uefi-firmware-parser/"; 19 19 description = "Parse BIOS/Intel ME/UEFI firmware related structures: Volumes, FileSystems, Files, etc"; 20 20 # MIT + license headers in some files
+8 -8
pkgs/development/tools/analysis/valgrind/default.nix
··· 1 - { stdenv, fetchurl, perl, gdb, cctools, xnu, bootstrap_cmds }: 1 + { lib, stdenv, fetchurl, perl, gdb, cctools, xnu, bootstrap_cmds }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "valgrind-3.16.1"; ··· 14 14 15 15 # GDB is needed to provide a sane default for `--db-command'. 16 16 # Perl is needed for `callgrind_{annotate,control}'. 17 - buildInputs = [ gdb perl ] ++ stdenv.lib.optionals (stdenv.isDarwin) [ bootstrap_cmds xnu ]; 17 + buildInputs = [ gdb perl ] ++ lib.optionals (stdenv.isDarwin) [ bootstrap_cmds xnu ]; 18 18 19 19 # Perl is also a native build input. 20 20 nativeBuildInputs = [ perl ]; ··· 22 22 enableParallelBuilding = true; 23 23 separateDebugInfo = stdenv.isLinux; 24 24 25 - preConfigure = stdenv.lib.optionalString stdenv.isDarwin ( 25 + preConfigure = lib.optionalString stdenv.isDarwin ( 26 26 let OSRELEASE = '' 27 27 $(awk -F '"' '/#define OSRELEASE/{ print $2 }' \ 28 28 <${xnu}/Library/Frameworks/Kernel.framework/Headers/libkern/version.h)''; ··· 50 50 postPatch = ""; 51 51 52 52 configureFlags = 53 - stdenv.lib.optional (stdenv.hostPlatform.system == "x86_64-linux" || stdenv.hostPlatform.system == "x86_64-darwin") "--enable-only64bit" 54 - ++ stdenv.lib.optional stdenv.hostPlatform.isDarwin "--with-xcodedir=${xnu}/include"; 53 + lib.optional (stdenv.hostPlatform.system == "x86_64-linux" || stdenv.hostPlatform.system == "x86_64-darwin") "--enable-only64bit" 54 + ++ lib.optional stdenv.hostPlatform.isDarwin "--with-xcodedir=${xnu}/include"; 55 55 56 56 doCheck = false; # fails 57 57 ··· 76 76 Valgrind to build new tools. 77 77 ''; 78 78 79 - license = stdenv.lib.licenses.gpl2Plus; 79 + license = lib.licenses.gpl2Plus; 80 80 81 - maintainers = [ stdenv.lib.maintainers.eelco ]; 82 - platforms = stdenv.lib.platforms.unix; 81 + maintainers = [ lib.maintainers.eelco ]; 82 + platforms = lib.platforms.unix; 83 83 badPlatforms = [ 84 84 "armv5tel-linux" "armv6l-linux" "armv6m-linux" 85 85 "sparc-linux" "sparc64-linux"
+2 -2
pkgs/development/tools/analysis/valkyrie/default.nix
··· 1 - { stdenv, fetchurl, qt4, qmake4Hook }: 1 + { lib, stdenv, fetchurl, qt4, qmake4Hook }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "valkyrie-2.0.0"; ··· 20 20 21 21 nativeBuildInputs = [ qmake4Hook ]; 22 22 23 - meta = with stdenv.lib; { 23 + meta = with lib; { 24 24 homepage = "http://www.valgrind.org/"; 25 25 description = "Qt4-based GUI for the Valgrind 3.6.x series"; 26 26 license = licenses.gpl2;
+2 -2
pkgs/development/tools/apktool/default.nix
··· 1 - { stdenv, fetchurl, makeWrapper, jre, build-tools }: 1 + { lib, stdenv, fetchurl, makeWrapper, jre, build-tools }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "apktool"; ··· 26 26 --prefix PATH : "${builtins.head build-tools}/libexec/android-sdk/build-tools/28.0.3" 27 27 ''; 28 28 29 - meta = with stdenv.lib; { 29 + meta = with lib; { 30 30 description = "A tool for reverse engineering Android apk files"; 31 31 homepage = "https://ibotpeaches.github.io/Apktool/"; 32 32 license = licenses.asl20;
+2 -2
pkgs/development/tools/asn2quickder/default.nix
··· 1 - { stdenv, buildPythonApplication, fetchFromGitHub, makeWrapper, cmake 1 + { lib, stdenv, buildPythonApplication, fetchFromGitHub, makeWrapper, cmake 2 2 , pytestrunner, pytest, six, pyparsing, asn1ate }: 3 3 4 4 buildPythonApplication rec { ··· 23 23 24 24 propagatedBuildInputs = [ pyparsing asn1ate six ]; 25 25 26 - meta = with stdenv.lib; { 26 + meta = with lib; { 27 27 description = "An ASN.1 compiler with a backend for Quick DER"; 28 28 homepage = "https://github.com/vanrein/asn2quickder"; 29 29 license = licenses.bsd3;
+1 -1
pkgs/development/tools/avro-tools/default.nix
··· 25 25 --add-flags "-jar $out/libexec/avro-tools/${pname}.jar" 26 26 ''; 27 27 28 - meta = with stdenv.lib; { 28 + meta = with lib; { 29 29 homepage = "https://avro.apache.org/"; 30 30 description = "Avro command-line tools and utilities"; 31 31 license = lib.licenses.asl20;
+2 -2
pkgs/development/tools/azcopy/default.nix
··· 1 - { stdenv, fetchFromGitHub, buildGoModule }: 1 + { lib, stdenv, fetchFromGitHub, buildGoModule }: 2 2 3 3 buildGoModule rec { 4 4 pname = "azure-storage-azcopy"; ··· 21 21 ln -rs "$out/bin/azure-storage-azcopy" "$out/bin/azcopy" 22 22 ''; 23 23 24 - meta = with stdenv.lib; { 24 + meta = with lib; { 25 25 maintainers = with maintainers; [ colemickens ]; 26 26 license = licenses.mit; 27 27 description = "The new Azure Storage data transfer utility - AzCopy v10";
+2 -2
pkgs/development/tools/bazel-watcher/default.nix
··· 3 3 , git 4 4 , go 5 5 , python 6 - , stdenv 6 + , lib, stdenv 7 7 }: 8 8 9 9 let ··· 73 73 ''; 74 74 }; 75 75 76 - meta = with stdenv.lib; { 76 + meta = with lib; { 77 77 homepage = "https://github.com/bazelbuild/bazel-watcher"; 78 78 description = "Tools for building Bazel targets when source files change"; 79 79 license = licenses.asl20;
+2 -2
pkgs/development/tools/bazelisk/default.nix
··· 1 - { stdenv, buildGoModule, fetchFromGitHub }: 1 + { lib, stdenv, buildGoModule, fetchFromGitHub }: 2 2 3 3 buildGoModule rec { 4 4 pname = "bazelisk"; ··· 17 17 18 18 buildFlagsArray = [ "-ldflags=-s -w -X main.BazeliskVersion=${version}" ]; 19 19 20 - meta = with stdenv.lib; { 20 + meta = with lib; { 21 21 description = "A user-friendly launcher for Bazel"; 22 22 longDescription = '' 23 23 BEWARE: This package does not work on NixOS.
+2 -2
pkgs/development/tools/bloaty/default.nix
··· 1 - { stdenv, cmake, zlib, fetchFromGitHub }: 1 + { lib, stdenv, cmake, zlib, fetchFromGitHub }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 version = "1.1"; ··· 22 22 install -Dm755 {.,$out/bin}/bloaty 23 23 ''; 24 24 25 - meta = with stdenv.lib; { 25 + meta = with lib; { 26 26 description = "a size profiler for binaries"; 27 27 homepage = "https://github.com/google/bloaty"; 28 28 license = licenses.asl20;
+3 -3
pkgs/development/tools/boost-build/default.nix
··· 1 - { stdenv, fetchFromGitHub }: 1 + { lib, stdenv, fetchFromGitHub }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "boost-build"; ··· 27 27 ./b2 install --prefix=$out 28 28 ''; 29 29 30 - meta = with stdenv.lib; { 30 + meta = with lib; { 31 31 homepage = "http://www.boost.org/boost-build2/"; 32 - license = stdenv.lib.licenses.boost; 32 + license = lib.licenses.boost; 33 33 platforms = platforms.unix; 34 34 maintainers = with maintainers; [ ivan-tkatchev ]; 35 35 };
+4 -4
pkgs/development/tools/build-managers/apache-ant/1.9.nix
··· 1 - { fetchurl, stdenv, coreutils, makeWrapper }: 1 + { fetchurl, lib, stdenv, coreutils, makeWrapper }: 2 2 3 3 let version = "1.9.15"; in 4 4 ··· 105 105 by an object that implements a particular Task interface. 106 106 ''; 107 107 108 - license = stdenv.lib.licenses.asl20; 109 - maintainers = [ stdenv.lib.maintainers.eelco ]; 110 - platforms = stdenv.lib.platforms.all; 108 + license = lib.licenses.asl20; 109 + maintainers = [ lib.maintainers.eelco ]; 110 + platforms = lib.platforms.all; 111 111 }; 112 112 }
+4 -4
pkgs/development/tools/build-managers/apache-ant/default.nix
··· 1 - { fetchurl, stdenv, coreutils, makeWrapper }: 1 + { fetchurl, lib, stdenv, coreutils, makeWrapper }: 2 2 3 3 let version = "1.10.9"; in 4 4 ··· 105 105 by an object that implements a particular Task interface. 106 106 ''; 107 107 108 - license = stdenv.lib.licenses.asl20; 109 - maintainers = [ stdenv.lib.maintainers.eelco ]; 110 - platforms = stdenv.lib.platforms.all; 108 + license = lib.licenses.asl20; 109 + maintainers = [ lib.maintainers.eelco ]; 110 + platforms = lib.platforms.all; 111 111 }; 112 112 }
+2 -2
pkgs/development/tools/build-managers/apache-maven/default.nix
··· 1 - { stdenv, fetchurl, jdk, makeWrapper }: 1 + { lib, stdenv, fetchurl, jdk, makeWrapper }: 2 2 3 3 assert jdk != null; 4 4 ··· 18 18 19 19 inherit jdk; 20 20 21 - meta = with stdenv.lib; { 21 + meta = with lib; { 22 22 description = "Build automation tool (used primarily for Java projects)"; 23 23 homepage = "http://maven.apache.org/"; 24 24 license = licenses.asl20;
+2 -2
pkgs/development/tools/build-managers/arpa2cm/default.nix
··· 1 - { stdenv, fetchFromGitHub, cmake }: 1 + { lib, stdenv, fetchFromGitHub, cmake }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "arpa2cm"; ··· 13 13 14 14 nativeBuildInputs = [ cmake ]; 15 15 16 - meta = with stdenv.lib; { 16 + meta = with lib; { 17 17 description = "CMake Module library for the ARPA2 project"; 18 18 license = licenses.bsd2; 19 19 maintainers = with maintainers; [ leenaars ];
+2 -2
pkgs/development/tools/build-managers/bam/default.nix
··· 1 - { stdenv, fetchFromGitHub, lua5_3, python }: 1 + { lib, stdenv, fetchFromGitHub, lua5_3, python }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "bam"; ··· 24 24 cp bam "$out/bin" 25 25 ''; 26 26 27 - meta = with stdenv.lib; { 27 + meta = with lib; { 28 28 description = "Yet another build manager"; 29 29 maintainers = with maintainers; 30 30 [
+2 -2
pkgs/development/tools/build-managers/bazel/bazel-remote/default.nix
··· 3 3 , fetchFromGitHub 4 4 , git 5 5 , go 6 - , stdenv 6 + , lib, stdenv 7 7 }: 8 8 9 9 buildBazelPackage rec { ··· 80 80 ''; 81 81 }; 82 82 83 - meta = with stdenv.lib; { 83 + meta = with lib; { 84 84 homepage = "https://github.com/buchgr/bazel-remote"; 85 85 description = "A remote HTTP/1.1 cache for Bazel"; 86 86 license = licenses.asl20;
+2 -2
pkgs/development/tools/build-managers/bazel/buildtools/default.nix
··· 1 - { stdenv, buildGoPackage, fetchFromGitHub }: 1 + { lib, stdenv, buildGoPackage, fetchFromGitHub }: 2 2 3 3 buildGoPackage rec { 4 4 pname = "bazel-buildtools"; ··· 19 19 20 20 buildFlagsArray = [ "-ldflags=-s -w -X main.buildVersion=${version} -X main.buildScmRevision=${src.rev}" ]; 21 21 22 - meta = with stdenv.lib; { 22 + meta = with lib; { 23 23 description = "Tools for working with Google's bazel buildtool. Includes buildifier, buildozer, and unused_deps"; 24 24 homepage = "https://github.com/bazelbuild/buildtools"; 25 25 license = licenses.asl20;
+2 -2
pkgs/development/tools/build-managers/bear/default.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 , fetchFromGitHub 3 3 , cmake 4 4 , pkg-config ··· 45 45 ./no-double-relative.patch 46 46 ]; 47 47 48 - meta = with stdenv.lib; { 48 + meta = with lib; { 49 49 description = "Tool that generates a compilation database for clang tooling"; 50 50 longDescription = '' 51 51 Note: the bear command is very useful to generate compilation commands
+1 -1
pkgs/development/tools/build-managers/bloop/default.nix
··· 82 82 installShellCompletion --name bloop.fish --fish ${bloop-fish} 83 83 ''; 84 84 85 - meta = with stdenv.lib; { 85 + meta = with lib; { 86 86 homepage = "https://scalacenter.github.io/bloop/"; 87 87 license = licenses.asl20; 88 88 description = "A Scala build server and command-line tool to make the compile and test developer workflows fast and productive in a build-tool-agnostic way";
+2 -2
pkgs/development/tools/build-managers/bmake/default.nix
··· 1 - { stdenv, fetchurl 1 + { lib, stdenv, fetchurl 2 2 , getopt 3 3 }: 4 4 ··· 18 18 ./fix-unexport-env-test.patch 19 19 ]; 20 20 21 - meta = with stdenv.lib; { 21 + meta = with lib; { 22 22 description = "Portable version of NetBSD 'make'"; 23 23 homepage = "http://www.crufty.net/help/sjg/bmake.html"; 24 24 license = licenses.bsd3;
+2 -2
pkgs/development/tools/build-managers/boot/default.nix
··· 1 - { stdenv, fetchurl, jdk }: 1 + { lib, stdenv, fetchurl, jdk }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 version = "2.7.2"; ··· 15 15 16 16 propagatedBuildInputs = [ jdk ]; 17 17 18 - meta = with stdenv.lib; { 18 + meta = with lib; { 19 19 description = "Build tooling for Clojure"; 20 20 homepage = "https://boot-clj.com/"; 21 21 license = licenses.epl10;
+3 -3
pkgs/development/tools/build-managers/buck/default.nix
··· 1 - { stdenv, fetchFromGitHub, jdk, ant, python2, python2Packages, watchman, bash, makeWrapper }: 1 + { lib, stdenv, fetchFromGitHub, jdk, ant, python2, python2Packages, watchman, bash, makeWrapper }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "buck"; ··· 30 30 install -D -m755 buck-out/gen/programs/buck.pex $out/bin/buck 31 31 wrapProgram $out/bin/buck \ 32 32 --prefix PYTHONPATH : $PYTHONPATH \ 33 - --prefix PATH : "${stdenv.lib.makeBinPath [jdk watchman]}" 33 + --prefix PATH : "${lib.makeBinPath [jdk watchman]}" 34 34 ''; 35 35 36 - meta = with stdenv.lib; { 36 + meta = with lib; { 37 37 homepage = "https://buck.build/"; 38 38 description = "A high-performance build tool"; 39 39 maintainers = [ maintainers.jgertm maintainers.marsam ];
+7 -7
pkgs/development/tools/build-managers/cmake/2.8.nix
··· 1 - { stdenv, fetchurl, fetchpatch, curl, expat, zlib, bzip2 1 + { lib, stdenv, fetchurl, fetchpatch, curl, expat, zlib, bzip2 2 2 , useNcurses ? false, ncurses, useQt4 ? false, qt4, ps 3 3 }: 4 4 5 - with stdenv.lib; 5 + with lib; 6 6 7 7 assert stdenv ? cc; 8 8 assert stdenv.cc ? libc; 9 9 10 10 let 11 - os = stdenv.lib.optionalString; 11 + os = lib.optionalString; 12 12 majorVersion = "2.8"; 13 13 minorVersion = "12.2"; 14 14 version = "${majorVersion}.${minorVersion}"; ··· 60 60 "--mandir=/share/man" 61 61 "--system-libs" 62 62 "--no-system-libarchive" 63 - ] ++ stdenv.lib.optional useQt4 "--qt-gui"; 63 + ] ++ lib.optional useQt4 "--qt-gui"; 64 64 65 65 setupHook = ./setup-hook.sh; 66 66 ··· 80 80 meta = { 81 81 homepage = "https://cmake.org"; 82 82 description = "Cross-Platform Makefile Generator"; 83 - platforms = if useQt4 then qt4.meta.platforms else stdenv.lib.platforms.unix; 84 - maintainers = with stdenv.lib.maintainers; [ xfix ]; 85 - license = stdenv.lib.licenses.bsd3; 83 + platforms = if useQt4 then qt4.meta.platforms else lib.platforms.unix; 84 + maintainers = with lib.maintainers; [ xfix ]; 85 + license = lib.licenses.bsd3; 86 86 }; 87 87 }
+2 -2
pkgs/development/tools/build-managers/colormake/default.nix
··· 1 - { stdenv, fetchFromGitHub, perl }: 1 + { lib, stdenv, fetchFromGitHub, perl }: 2 2 3 3 stdenv.mkDerivation { 4 4 pname = "colormake"; ··· 18 18 cp -fa colormake.pl colormake colormake-short clmake clmake-short $out/bin 19 19 ''; 20 20 21 - meta = with stdenv.lib; { 21 + meta = with lib; { 22 22 description = "Simple wrapper around make to colorize the output"; 23 23 homepage = "https://bre.klaki.net/programs/colormake/"; 24 24 license = licenses.gpl2;
+4 -4
pkgs/development/tools/build-managers/doit/default.nix
··· 1 - { stdenv, fetchurl, python3Packages }: 1 + { lib, stdenv, fetchurl, python3Packages }: 2 2 3 3 let 4 4 ··· 16 16 buildInputs = with python3Packages; [ mock pytest ]; 17 17 18 18 propagatedBuildInputs = with python3Packages; [ cloudpickle ] 19 - ++ stdenv.lib.optional stdenv.isLinux pyinotify 20 - ++ stdenv.lib.optional stdenv.isDarwin macfsevents; 19 + ++ lib.optional stdenv.isLinux pyinotify 20 + ++ lib.optional stdenv.isDarwin macfsevents; 21 21 22 22 # Tests fail due to mysterious gdbm.open() resource temporarily 23 23 # unavailable errors. 24 24 doCheck = false; 25 25 checkPhase = "py.test"; 26 26 27 - meta = with stdenv.lib; { 27 + meta = with lib; { 28 28 homepage = "https://pydoit.org/"; 29 29 description = "A task management & automation tool"; 30 30 license = licenses.mit;
+2 -2
pkgs/development/tools/build-managers/dub/default.nix
··· 1 - { stdenv, fetchFromGitHub, curl, dmd, libevent, rsync }: 1 + { lib, stdenv, fetchFromGitHub, curl, dmd, libevent, rsync }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "dub"; ··· 72 72 cp bin/dub $out/bin 73 73 ''; 74 74 75 - meta = with stdenv.lib; { 75 + meta = with lib; { 76 76 description = "Package and build manager for D applications and libraries"; 77 77 homepage = "https://code.dlang.org/"; 78 78 license = licenses.mit;
+2 -2
pkgs/development/tools/build-managers/fac/default.nix
··· 1 - { stdenv, git, fetchFromGitHub, rustPlatform }: 1 + { lib, stdenv, git, fetchFromGitHub, rustPlatform }: 2 2 3 3 rustPlatform.buildRustPackage rec { 4 4 pname = "fac-build"; ··· 29 29 'std::process::Command::new("${git}/bin/git")' 30 30 ''; 31 31 32 - meta = with stdenv.lib; { 32 + meta = with lib; { 33 33 description = '' 34 34 A build system that uses ptrace to handle dependencies automatically 35 35 '';
+6 -6
pkgs/development/tools/build-managers/gnumake/4.2/default.nix
··· 1 - { stdenv, fetchurl, guileSupport ? false, pkg-config ? null , guile ? null }: 1 + { lib, stdenv, fetchurl, guileSupport ? false, pkg-config ? null , guile ? null }: 2 2 3 3 assert guileSupport -> ( pkg-config != null && guile != null ); 4 4 ··· 25 25 ./glibc-2.27-glob.patch 26 26 ]; 27 27 28 - nativeBuildInputs = stdenv.lib.optionals guileSupport [ pkg-config ]; 29 - buildInputs = stdenv.lib.optionals guileSupport [ guile ]; 28 + nativeBuildInputs = lib.optionals guileSupport [ pkg-config ]; 29 + buildInputs = lib.optionals guileSupport [ guile ]; 30 30 31 - configureFlags = stdenv.lib.optional guileSupport "--with-guile" 31 + configureFlags = lib.optional guileSupport "--with-guile" 32 32 33 33 # Make uses this test to decide whether it should keep track of 34 34 # subseconds. Apple made this possible with APFS and macOS 10.13. ··· 37 37 # a second. So, tell Make to ignore nanoseconds in mtime here by 38 38 # overriding the autoconf test for the struct. 39 39 # See https://github.com/NixOS/nixpkgs/issues/51221 for discussion. 40 - ++ stdenv.lib.optional stdenv.isDarwin "ac_cv_struct_st_mtim_nsec=no"; 40 + ++ lib.optional stdenv.isDarwin "ac_cv_struct_st_mtim_nsec=no"; 41 41 42 42 outputs = [ "out" "man" "info" ]; 43 43 44 - meta = with stdenv.lib; { 44 + meta = with lib; { 45 45 homepage = "https://www.gnu.org/software/make/"; 46 46 description = "A tool to control the generation of non-source files from sources"; 47 47 license = licenses.gpl3Plus;
+6 -6
pkgs/development/tools/build-managers/gnumake/default.nix
··· 1 - { stdenv, fetchurl, guileSupport ? false, pkg-config ? null , guile ? null }: 1 + { lib, stdenv, fetchurl, guileSupport ? false, pkg-config ? null , guile ? null }: 2 2 3 3 assert guileSupport -> ( pkg-config != null && guile != null ); 4 4 ··· 21 21 ./impure-dirs.patch 22 22 ]; 23 23 24 - nativeBuildInputs = stdenv.lib.optionals guileSupport [ pkg-config ]; 25 - buildInputs = stdenv.lib.optionals guileSupport [ guile ]; 24 + nativeBuildInputs = lib.optionals guileSupport [ pkg-config ]; 25 + buildInputs = lib.optionals guileSupport [ guile ]; 26 26 27 - configureFlags = stdenv.lib.optional guileSupport "--with-guile" 27 + configureFlags = lib.optional guileSupport "--with-guile" 28 28 29 29 # Make uses this test to decide whether it should keep track of 30 30 # subseconds. Apple made this possible with APFS and macOS 10.13. ··· 33 33 # a second. So, tell Make to ignore nanoseconds in mtime here by 34 34 # overriding the autoconf test for the struct. 35 35 # See https://github.com/NixOS/nixpkgs/issues/51221 for discussion. 36 - ++ stdenv.lib.optional stdenv.isDarwin "ac_cv_struct_st_mtim_nsec=no"; 36 + ++ lib.optional stdenv.isDarwin "ac_cv_struct_st_mtim_nsec=no"; 37 37 38 38 outputs = [ "out" "man" "info" ]; 39 39 40 - meta = with stdenv.lib; { 40 + meta = with lib; { 41 41 homepage = "https://www.gnu.org/software/make/"; 42 42 description = "A tool to control the generation of non-source files from sources"; 43 43 license = licenses.gpl3Plus;
+3 -3
pkgs/development/tools/build-managers/gradle/default.nix
··· 1 - { stdenv, fetchurl, unzip, jdk, java ? jdk, makeWrapper }: 1 + { lib, stdenv, fetchurl, unzip, jdk, java ? jdk, makeWrapper }: 2 2 3 3 rec { 4 4 gradleGen = {name, src, nativeVersion} : stdenv.mkDerivation { ··· 46 46 build-by-convention behavior. 47 47 ''; 48 48 homepage = "http://www.gradle.org/"; 49 - license = stdenv.lib.licenses.asl20; 50 - platforms = stdenv.lib.platforms.unix; 49 + license = lib.licenses.asl20; 50 + platforms = lib.platforms.unix; 51 51 }; 52 52 }; 53 53
+3 -3
pkgs/development/tools/build-managers/gup/default.nix
··· 33 33 meta = { 34 34 inherit (src.meta) homepage; 35 35 description = "A better make, inspired by djb's redo"; 36 - license = stdenv.lib.licenses.lgpl2Plus; 37 - maintainers = [ stdenv.lib.maintainers.timbertson ]; 38 - platforms = stdenv.lib.platforms.all; 36 + license = lib.licenses.lgpl2Plus; 37 + maintainers = [ lib.maintainers.timbertson ]; 38 + platforms = lib.platforms.all; 39 39 }; 40 40 }
+2 -2
pkgs/development/tools/build-managers/icmake/default.nix
··· 1 - { stdenv, fetchFromGitLab, makeWrapper, gcc, ncurses }: 1 + { lib, stdenv, fetchFromGitLab, makeWrapper, gcc, ncurses }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "icmake"; ··· 36 36 --prefix PATH : ${ncurses}/bin 37 37 ''; 38 38 39 - meta = with stdenv.lib; { 39 + meta = with lib; { 40 40 description = "A program maintenance (make) utility using a C-like grammar"; 41 41 homepage = "https://fbb-git.gitlab.io/icmake/"; 42 42 license = licenses.gpl3;
+2 -2
pkgs/development/tools/build-managers/jam/default.nix
··· 1 - { stdenv, fetchurl, yacc }: 1 + { lib, stdenv, fetchurl, yacc }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "jam-2.6.1"; ··· 26 26 27 27 enableParallelBuilding = true; 28 28 29 - meta = with stdenv.lib; { 29 + meta = with lib; { 30 30 homepage = "https://www.perforce.com/resources/documentation/jam"; 31 31 license = licenses.free; 32 32 description = "Just Another Make";
+2 -2
pkgs/development/tools/build-managers/kati/default.nix
··· 1 - { stdenv, fetchFromGitHub }: 1 + { lib, stdenv, fetchFromGitHub }: 2 2 3 3 stdenv.mkDerivation { 4 4 pname = "kati-unstable"; ··· 17 17 install -D ckati $out/bin/ckati 18 18 ''; 19 19 20 - meta = with stdenv.lib; { 20 + meta = with lib; { 21 21 description = "An experimental GNU make clone"; 22 22 homepage = "https://github.com/google/kati"; 23 23 platforms = platforms.all;
+5 -5
pkgs/development/tools/build-managers/leiningen/default.nix
··· 1 - { stdenv, fetchurl, makeWrapper 1 + { lib, stdenv, fetchurl, makeWrapper 2 2 , coreutils, jdk, rlwrap, gnupg }: 3 3 4 4 stdenv.mkDerivation rec { ··· 38 38 substituteInPlace $out/bin/lein \ 39 39 --replace 'LEIN_JAR=/usr/share/java/leiningen-$LEIN_VERSION-standalone.jar' "LEIN_JAR=$out/share/$JARNAME" 40 40 wrapProgram $out/bin/lein \ 41 - --prefix PATH ":" "${stdenv.lib.makeBinPath [ rlwrap coreutils ]}" \ 41 + --prefix PATH ":" "${lib.makeBinPath [ rlwrap coreutils ]}" \ 42 42 --set LEIN_GPG ${gnupg}/bin/gpg \ 43 43 --set JAVA_CMD ${jdk}/bin/java 44 44 ''; ··· 46 46 meta = { 47 47 homepage = "https://leiningen.org/"; 48 48 description = "Project automation for Clojure"; 49 - license = stdenv.lib.licenses.epl10; 50 - platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin; 51 - maintainers = with stdenv.lib.maintainers; [ thiagokokada ]; 49 + license = lib.licenses.epl10; 50 + platforms = lib.platforms.linux ++ lib.platforms.darwin; 51 + maintainers = with lib.maintainers; [ thiagokokada ]; 52 52 }; 53 53 }
+3 -3
pkgs/development/tools/build-managers/mill/default.nix
··· 1 - { stdenv, fetchurl, jre, makeWrapper }: 1 + { lib, stdenv, fetchurl, jre, makeWrapper }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "mill"; ··· 25 25 runHook postInstall 26 26 ''; 27 27 28 - meta = with stdenv.lib; { 28 + meta = with lib; { 29 29 homepage = "https://www.lihaoyi.com/mill"; 30 30 license = licenses.mit; 31 31 description = "A build tool for Scala, Java and more"; ··· 37 37 modules (written in Java or Scala) or through an external subprocesses. 38 38 ''; 39 39 maintainers = with maintainers; [ scalavision ]; 40 - platforms = stdenv.lib.platforms.all; 40 + platforms = lib.platforms.all; 41 41 }; 42 42 }
+2 -2
pkgs/development/tools/build-managers/mk/default.nix
··· 1 - {stdenv, fetchurl}: 1 + {lib, stdenv, fetchurl}: 2 2 3 3 stdenv.mkDerivation { 4 4 name = "mk-2006-01-31"; ··· 9 9 builder = ./builder.sh; 10 10 11 11 meta = { 12 - platforms = stdenv.lib.platforms.unix; 12 + platforms = lib.platforms.unix; 13 13 }; 14 14 }
+3 -3
pkgs/development/tools/build-managers/msbuild/default.nix
··· 1 - { stdenv, fetchurl, makeWrapper, glibcLocales, mono, dotnetPackages, unzip, dotnet-sdk }: 1 + { lib, stdenv, fetchurl, makeWrapper, glibcLocales, mono, dotnetPackages, unzip, dotnet-sdk }: 2 2 3 3 let 4 4 ··· 37 37 38 38 # https://github.com/NixOS/nixpkgs/issues/38991 39 39 # bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8) 40 - LOCALE_ARCHIVE = stdenv.lib.optionalString stdenv.isLinux 40 + LOCALE_ARCHIVE = lib.optionalString stdenv.isLinux 41 41 "${glibcLocales}/lib/locale/locale-archive"; 42 42 43 43 buildPhase = '' ··· 122 122 ${mono}/bin/mono Helloworld.exe | grep "Hello, world!" 123 123 ''; 124 124 125 - meta = with stdenv.lib; { 125 + meta = with lib; { 126 126 description = "Mono version of Microsoft Build Engine, the build platform for .NET, and Visual Studio"; 127 127 homepage = "https://github.com/mono/msbuild"; 128 128 license = licenses.mit;
+2 -2
pkgs/development/tools/build-managers/ninja/default.nix
··· 1 - { stdenv, fetchFromGitHub, fetchpatch, python3, buildDocs ? true, asciidoc, docbook_xml_dtd_45, docbook_xsl, libxslt, re2c }: 1 + { lib, stdenv, fetchFromGitHub, fetchpatch, python3, buildDocs ? true, asciidoc, docbook_xml_dtd_45, docbook_xsl, libxslt, re2c }: 2 2 3 - with stdenv.lib; 3 + with lib; 4 4 5 5 stdenv.mkDerivation rec { 6 6 pname = "ninja";
+2 -2
pkgs/development/tools/build-managers/pants/default.nix
··· 1 - { stdenv, pythonPackages }: 1 + { lib, stdenv, pythonPackages }: 2 2 3 - with stdenv.lib; 3 + with lib; 4 4 with pythonPackages; 5 5 6 6 buildPythonApplication rec {
+2 -2
pkgs/development/tools/build-managers/qbs/default.nix
··· 1 - { stdenv, fetchFromGitHub, qmake, qtbase, qtscript }: 1 + { lib, stdenv, fetchFromGitHub, qmake, qtbase, qtscript }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "qbs"; ··· 20 20 21 21 enableParallelBuilding = true; 22 22 23 - meta = with stdenv.lib; { 23 + meta = with lib; { 24 24 description = "A tool that helps simplify the build process for developing projects across multiple platforms"; 25 25 homepage = "https://wiki.qt.io/Qbs"; 26 26 license = licenses.lgpl3;
+3 -3
pkgs/development/tools/build-managers/rebar/default.nix
··· 1 - { stdenv, fetchurl, erlang }: 1 + { lib, stdenv, fetchurl, erlang }: 2 2 3 3 4 4 let ··· 35 35 variety of locations (git, hg, etc). 36 36 ''; 37 37 38 - platforms = stdenv.lib.platforms.unix; 39 - license = stdenv.lib.licenses.asl20; 38 + platforms = lib.platforms.unix; 39 + license = lib.licenses.asl20; 40 40 }; 41 41 }
+4 -4
pkgs/development/tools/build-managers/rebar3/default.nix
··· 1 - { stdenv, fetchFromGitHub, 1 + { lib, stdenv, fetchFromGitHub, 2 2 fetchHex, erlang, 3 3 tree }: 4 4 ··· 135 135 variety of locations (hex.pm, git, hg, and so on). 136 136 ''; 137 137 138 - platforms = stdenv.lib.platforms.unix; 139 - maintainers = with stdenv.lib.maintainers; [ gleber tazjin ]; 140 - license = stdenv.lib.licenses.asl20; 138 + platforms = lib.platforms.unix; 139 + maintainers = with lib.maintainers; [ gleber tazjin ]; 140 + license = lib.licenses.asl20; 141 141 }; 142 142 }
+1 -1
pkgs/development/tools/build-managers/redo-apenwarr/default.nix
··· 30 30 --replace "/bin/ls" "ls" 31 31 32 32 substituteInPlace t/110-compile/hello.o.do \ 33 - --replace "/usr/include" "${stdenv.lib.getDev stdenv.cc.libc}/include" 33 + --replace "/usr/include" "${lib.getDev stdenv.cc.libc}/include" 34 34 35 35 substituteInPlace t/200-shell/nonshelltest.do \ 36 36 --replace "/usr/bin/env perl" "${perl}/bin/perl"
+2 -2
pkgs/development/tools/build-managers/redo-c/default.nix
··· 1 - { stdenv, fetchFromGitHub }: 1 + { lib, stdenv, fetchFromGitHub }: 2 2 stdenv.mkDerivation rec { 3 3 pname = "redo-c"; 4 4 version = "0.2"; ··· 14 14 cp '${./Makefile}' Makefile 15 15 ''; 16 16 17 - meta = with stdenv.lib; { 17 + meta = with lib; { 18 18 description = "An implementation of the redo build system in portable C with zero dependencies"; 19 19 homepage = "https://github.com/leahneukirchen/redo-c"; 20 20 license = licenses.cc0;
+2 -2
pkgs/development/tools/build-managers/redo-sh/default.nix
··· 1 - { stdenv, fetchurl, makeWrapper, coreutils }: 1 + { lib, stdenv, fetchurl, makeWrapper, coreutils }: 2 2 3 3 stdenv.mkDerivation { 4 4 version = "4.0.4"; ··· 21 21 done 22 22 ''; 23 23 24 - meta = with stdenv.lib; { 24 + meta = with lib; { 25 25 description = "Redo implementation in Bourne Shell"; 26 26 homepage = "http://news.dieweltistgarnichtso.net/bin/redo-sh.html"; 27 27 license = licenses.agpl3;
+4 -4
pkgs/development/tools/build-managers/redo/default.nix
··· 1 - {stdenv, fetchurl, perl }: 1 + {lib, stdenv, fetchurl, perl }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "redo-1.4"; ··· 21 21 meta = { 22 22 homepage = "https://jdebp.eu./Softwares/redo/"; 23 23 description = "A system for building target files from source files"; 24 - license = stdenv.lib.licenses.bsd2; 25 - maintainers = [ stdenv.lib.maintainers.vrthra ]; 26 - platforms = stdenv.lib.platforms.unix; 24 + license = lib.licenses.bsd2; 25 + maintainers = [ lib.maintainers.vrthra ]; 26 + platforms = lib.platforms.unix; 27 27 }; 28 28 }
+4 -4
pkgs/development/tools/build-managers/remake/default.nix
··· 1 - { stdenv, fetchurl, readline }: 1 + { lib, stdenv, fetchurl, readline }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "remake"; ··· 19 19 20 20 meta = { 21 21 homepage = "http://bashdb.sourceforge.net/remake/"; 22 - license = stdenv.lib.licenses.gpl3; 22 + license = lib.licenses.gpl3; 23 23 description = "GNU Make with comprehensible tracing and a debugger"; 24 - platforms = with stdenv.lib.platforms; linux ++ darwin; 25 - maintainers = with stdenv.lib.maintainers; [ bjornfor ]; 24 + platforms = with lib.platforms; linux ++ darwin; 25 + maintainers = with lib.maintainers; [ bjornfor ]; 26 26 }; 27 27 }
+2 -2
pkgs/development/tools/build-managers/rocm-cmake/default.nix
··· 1 - { stdenv, fetchFromGitHub, cmake }: 1 + { lib, stdenv, fetchFromGitHub, cmake }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "rocm-cmake"; ··· 13 13 14 14 nativeBuildInputs = [ cmake ]; 15 15 16 - meta = with stdenv.lib; { 16 + meta = with lib; { 17 17 description = "CMake modules for common build tasks for the ROCm stack"; 18 18 homepage = "https://github.com/RadeonOpenCompute/rocm-cmake"; 19 19 license = licenses.mit;
+2 -2
pkgs/development/tools/build-managers/samurai/default.nix
··· 1 - { stdenv, fetchFromGitHub }: 1 + { lib, stdenv, fetchFromGitHub }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "samurai"; ··· 13 13 14 14 makeFlags = [ "DESTDIR=" "PREFIX=${placeholder "out"}" ]; 15 15 16 - meta = with stdenv.lib; { 16 + meta = with lib; { 17 17 description = "ninja-compatible build tool written in C"; 18 18 homepage = "https://github.com/michaelforney/samurai"; 19 19 license = with licenses; [ mit asl20 ]; # see LICENSE
+6 -6
pkgs/development/tools/build-managers/sbt-extras/default.nix
··· 1 - { stdenv, fetchFromGitHub, which, curl, makeWrapper, jdk, writeScript 1 + { lib, stdenv, fetchFromGitHub, which, curl, makeWrapper, jdk, writeScript 2 2 , common-updater-scripts, cacert, git, nixfmt, nix, jq, coreutils, gnused 3 3 , nixosTests }: 4 4 ··· 26 26 install bin/sbt $out/bin 27 27 28 28 wrapProgram $out/bin/sbt --prefix PATH : ${ 29 - stdenv.lib.makeBinPath [ which curl ] 29 + lib.makeBinPath [ which curl ] 30 30 } 31 31 ''; 32 32 ··· 37 37 #!${stdenv.shell} 38 38 set -xo errexit 39 39 PATH=${ 40 - stdenv.lib.makeBinPath [ 40 + lib.makeBinPath [ 41 41 common-updater-scripts 42 42 curl 43 43 cacert ··· 70 70 description = 71 71 "A more featureful runner for sbt, the simple/scala/standard build tool"; 72 72 homepage = "https://github.com/paulp/sbt-extras"; 73 - license = stdenv.lib.licenses.bsd3; 74 - maintainers = with stdenv.lib.maintainers; [ nequissimus puffnfresh ]; 75 - platforms = stdenv.lib.platforms.unix; 73 + license = lib.licenses.bsd3; 74 + maintainers = with lib.maintainers; [ nequissimus puffnfresh ]; 75 + platforms = lib.platforms.unix; 76 76 }; 77 77 }
+5 -5
pkgs/development/tools/build-managers/sbt/default.nix
··· 1 - { stdenv, fetchurl, jre, autoPatchelfHook, zlib, writeScript 1 + { lib, stdenv, fetchurl, jre, autoPatchelfHook, zlib, writeScript 2 2 , common-updater-scripts, git, nixfmt, nix, coreutils, gnused, nixosTests }: 3 3 4 4 stdenv.mkDerivation rec { ··· 15 15 echo -java-home ${jre.home} >>conf/sbtopts 16 16 ''; 17 17 18 - nativeBuildInputs = stdenv.lib.optionals stdenv.isLinux [ autoPatchelfHook ]; 18 + nativeBuildInputs = lib.optionals stdenv.isLinux [ autoPatchelfHook ]; 19 19 20 - buildInputs = stdenv.lib.optionals stdenv.isLinux [ zlib ]; 20 + buildInputs = lib.optionals stdenv.isLinux [ zlib ]; 21 21 22 22 installPhase = '' 23 23 mkdir -p $out/share/sbt $out/bin ··· 28 28 } $out/bin/sbtn 29 29 ''; 30 30 31 - meta = with stdenv.lib; { 31 + meta = with lib; { 32 32 homepage = "https://www.scala-sbt.org/"; 33 33 license = licenses.bsd3; 34 34 description = "A build tool for Scala, Java and more"; ··· 43 43 #!${stdenv.shell} 44 44 set -o errexit 45 45 PATH=${ 46 - stdenv.lib.makeBinPath [ 46 + lib.makeBinPath [ 47 47 common-updater-scripts 48 48 git 49 49 nixfmt
+1 -1
pkgs/development/tools/build-managers/scons/common.nix
··· 29 29 mv "$out/"*.1 "$out/share/man/man1/" 30 30 ''; 31 31 32 - meta = with stdenv.lib; { 32 + meta = with lib; { 33 33 description = "An improved, cross-platform substitute for Make"; 34 34 longDescription = '' 35 35 SCons is an Open Source software construction tool. Think of
+2 -2
pkgs/development/tools/build-managers/shards/default.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 , fetchFromGitHub 3 3 , crystal_0_34 4 4 , crystal_0_35 ··· 26 26 # tries to execute git which fails spectacularly 27 27 doCheck = false; 28 28 29 - meta = with stdenv.lib; { 29 + meta = with lib; { 30 30 description = "Dependency manager for the Crystal language"; 31 31 license = licenses.asl20; 32 32 maintainers = with maintainers; [ peterhoeg ];
+2 -2
pkgs/development/tools/build-managers/tup/default.nix
··· 1 - { stdenv, fetchFromGitHub, fuse3, pkg-config, pcre }: 1 + { lib, stdenv, fetchFromGitHub, fuse3, pkg-config, pcre }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "tup"; ··· 37 37 38 38 setupHook = ./setup-hook.sh; 39 39 40 - meta = with stdenv.lib; { 40 + meta = with lib; { 41 41 description = "A fast, file-based build system"; 42 42 longDescription = '' 43 43 Tup is a file-based build system for Linux, OSX, and Windows. It inputs a list
+3 -3
pkgs/development/tools/build-managers/waf/default.nix
··· 1 - { stdenv, fetchFromGitLab, python, ensureNewerSourcesForZipFilesHook 1 + { lib, stdenv, fetchFromGitLab, python, ensureNewerSourcesForZipFilesHook 2 2 # optional list of extra waf tools, e.g. `[ "doxygen" "pytest" ]` 3 3 , withTools ? null 4 4 }: 5 5 let 6 - wafToolsArg = with stdenv.lib.strings; 6 + wafToolsArg = with lib.strings; 7 7 optionalString (!isNull withTools) " --tools=\"${concatStringsSep "," withTools}\""; 8 8 in 9 9 stdenv.mkDerivation rec { ··· 29 29 install -D waf $out/bin/waf 30 30 ''; 31 31 32 - meta = with stdenv.lib; { 32 + meta = with lib; { 33 33 description = "Meta build system"; 34 34 homepage = "https://waf.io"; 35 35 license = licenses.bsd3;
+3 -3
pkgs/development/tools/buildkit/default.nix
··· 1 - { stdenv, fetchFromGitHub, buildGoPackage }: 1 + { lib, stdenv, fetchFromGitHub, buildGoPackage }: 2 2 3 3 buildGoPackage rec { 4 4 pname = "buildkit"; 5 5 version = "0.8.1"; 6 6 7 7 goPackagePath = "github.com/moby/buildkit"; 8 - subPackages = [ "cmd/buildctl" ] ++ stdenv.lib.optionals stdenv.isLinux [ "cmd/buildkitd" ]; 8 + subPackages = [ "cmd/buildctl" ] ++ lib.optionals stdenv.isLinux [ "cmd/buildkitd" ]; 9 9 10 10 src = fetchFromGitHub { 11 11 owner = "moby"; ··· 16 16 17 17 buildFlagsArray = [ "-ldflags=-s -w -X ${goPackagePath}/version.Version=${version} -X ${goPackagePath}/version.Revision=${src.rev}" ]; 18 18 19 - meta = with stdenv.lib; { 19 + meta = with lib; { 20 20 description = "Concurrent, cache-efficient, and Dockerfile-agnostic builder toolkit"; 21 21 homepage = "https://github.com/moby/buildkit"; 22 22 license = licenses.asl20;
+3 -3
pkgs/development/tools/cargo-web/default.nix
··· 1 - { stdenv, fetchFromGitHub, openssl, perl, pkg-config, rustPlatform 1 + { lib, stdenv, fetchFromGitHub, openssl, perl, pkg-config, rustPlatform 2 2 , CoreServices, Security 3 3 }: 4 4 ··· 16 16 cargoSha256 = "0i9xp7vd1rp6xgkbbrspm3qq4hxwfwa00di3k73z1x64d3d8r5fm"; 17 17 18 18 nativeBuildInputs = [ openssl perl pkg-config ]; 19 - buildInputs = stdenv.lib.optionals stdenv.isDarwin [ CoreServices Security ]; 19 + buildInputs = lib.optionals stdenv.isDarwin [ CoreServices Security ]; 20 20 21 - meta = with stdenv.lib; { 21 + meta = with lib; { 22 22 description = "A Cargo subcommand for the client-side Web"; 23 23 homepage = "https://github.com/koute/cargo-web"; 24 24 license = with licenses; [ asl20 /* or */ mit ];
+2 -2
pkgs/development/tools/cask/default.nix
··· 1 - { stdenv, fetchurl, python, emacs }: 1 + { lib, stdenv, fetchurl, python, emacs }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "cask"; ··· 30 30 ln -s $out/share/emacs/site-lisp/cask/bin/cask $out/bin/cask 31 31 ''; 32 32 33 - meta = with stdenv.lib; { 33 + meta = with lib; { 34 34 description = "Project management for Emacs"; 35 35 longDescription = '' 36 36 Cask is a project management tool for Emacs that helps automate the
+2 -2
pkgs/development/tools/castxml/default.nix
··· 17 17 sha256 = "0ypj67xrgj228myp7l1gsjw1ja97q68nmj98dsd33srmiayqraj4"; 18 18 }; 19 19 20 - nativeBuildInputs = [ cmake ] ++ stdenv.lib.optionals withMan [ python3Packages.sphinx ]; 20 + nativeBuildInputs = [ cmake ] ++ lib.optionals withMan [ python3Packages.sphinx ]; 21 21 22 22 clangVersion = lib.getVersion llvmPackages.clang; 23 23 ··· 43 43 ctest -E 'cmd.cc-(gnu|msvc)-((c-src-c)|(src-cxx))-cmd' 44 44 ''; 45 45 46 - meta = with stdenv.lib; { 46 + meta = with lib; { 47 47 homepage = "https://github.com/CastXML/CastXML"; 48 48 license = licenses.asl20; 49 49 description = "Abstract syntax tree XML output tool";
+4 -4
pkgs/development/tools/cdecl/default.nix
··· 1 - {stdenv, fetchurl, yacc, flex, readline, ncurses, gnused}: 1 + {lib, stdenv, fetchurl, yacc, flex, readline, ncurses, gnused}: 2 2 3 3 stdenv.mkDerivation { 4 4 name = "cdecl-2.5"; ··· 18 18 19 19 meta = { 20 20 description = "Translator English -- C/C++ declarations"; 21 - license = stdenv.lib.licenses.publicDomain; 22 - maintainers = with stdenv.lib.maintainers; [joelteon]; 23 - platforms = stdenv.lib.platforms.unix; 21 + license = lib.licenses.publicDomain; 22 + maintainers = with lib.maintainers; [joelteon]; 23 + platforms = lib.platforms.unix; 24 24 }; 25 25 }
+5 -5
pkgs/development/tools/chit/default.nix
··· 1 - { stdenv, fetchFromGitHub, rustPlatform, pkg-config, openssl 1 + { lib, stdenv, fetchFromGitHub, rustPlatform, pkg-config, openssl 2 2 , darwin 3 3 }: 4 4 ··· 17 17 18 18 cargoSha256 = "1w25k3bqmmcrhpkw510vbwph0rfmrzi2wby0z2rz1q4k1f9k486m"; 19 19 20 - nativeBuildInputs = stdenv.lib.optionals stdenv.isLinux [ pkg-config ]; 20 + nativeBuildInputs = lib.optionals stdenv.isLinux [ pkg-config ]; 21 21 buildInputs = [] 22 - ++ stdenv.lib.optionals stdenv.isLinux [ openssl ] 23 - ++ stdenv.lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ CoreFoundation CoreServices Security ]) 22 + ++ lib.optionals stdenv.isLinux [ openssl ] 23 + ++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ CoreFoundation CoreServices Security ]) 24 24 ; 25 25 26 - meta = with stdenv.lib; { 26 + meta = with lib; { 27 27 description = "Crate help in terminal: A tool for looking up details about rust crates without going to crates.io"; 28 28 longDescription = '' 29 29 Chit helps answer these questions:
+4 -4
pkgs/development/tools/clang-tools/default.nix
··· 1 - { stdenv, llvmPackages }: 1 + { lib, stdenv, llvmPackages }: 2 2 3 3 let 4 4 clang = llvmPackages.clang-unwrapped; 5 5 6 6 in stdenv.mkDerivation { 7 7 pname = "clang-tools"; 8 - version = stdenv.lib.getVersion clang; 8 + version = lib.getVersion clang; 9 9 10 10 dontUnpack = true; 11 11 ··· 13 13 runHook preInstall 14 14 15 15 mkdir -p $out/bin 16 - export libc_includes="${stdenv.lib.getDev stdenv.cc.libc}/include" 16 + export libc_includes="${lib.getDev stdenv.cc.libc}/include" 17 17 export libcpp_includes="${llvmPackages.libcxx}/include/c++/v1" 18 18 19 19 export clang=${clang} ··· 34 34 35 35 meta = clang.meta // { 36 36 description = "Standalone command line tools for C++ development"; 37 - maintainers = with stdenv.lib.maintainers; [ aherrmann ]; 37 + maintainers = with lib.maintainers; [ aherrmann ]; 38 38 }; 39 39 }
+4 -4
pkgs/development/tools/clog-cli/default.nix
··· 1 - { fetchFromGitHub, rustPlatform, stdenv }: 1 + { fetchFromGitHub, rustPlatform, lib, stdenv }: 2 2 3 3 with rustPlatform; 4 4 ··· 18 18 meta = { 19 19 description = "Generate changelogs from local git metadata"; 20 20 homepage = "https://github.com/clog-tool/clog-cli"; 21 - license = stdenv.lib.licenses.mit; 22 - platforms = stdenv.lib.platforms.unix; 23 - maintainers = [stdenv.lib.maintainers.nthorne]; 21 + license = lib.licenses.mit; 22 + platforms = lib.platforms.unix; 23 + maintainers = [lib.maintainers.nthorne]; 24 24 }; 25 25 }
+2 -2
pkgs/development/tools/cloudfoundry-cli/default.nix
··· 1 - { stdenv, buildGoPackage, fetchFromGitHub, fetchurl, installShellFiles }: 1 + { lib, stdenv, buildGoPackage, fetchFromGitHub, fetchurl, installShellFiles }: 2 2 3 3 buildGoPackage rec { 4 4 pname = "cloudfoundry-cli"; ··· 45 45 installShellCompletion --bash $bashCompletionScript 46 46 ''; 47 47 48 - meta = with stdenv.lib; { 48 + meta = with lib; { 49 49 description = "The official command line client for Cloud Foundry"; 50 50 homepage = "https://github.com/cloudfoundry/cli"; 51 51 maintainers = with maintainers; [ ris ];
+2 -2
pkgs/development/tools/clpm/default.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 , fetchgit 3 3 , wrapLisp 4 4 , sbcl ··· 34 34 # fixupPhase results in fatal error in SBCL, `Can't find sbcl.core` 35 35 dontFixup = true; 36 36 37 - meta = with stdenv.lib; { 37 + meta = with lib; { 38 38 description = "Common Lisp Package Manager"; 39 39 homepage = "https://www.clpm.dev/"; 40 40 license = licenses.bsd2;
+1 -1
pkgs/development/tools/cmake-language-server/default.nix
··· 17 17 }; 18 18 19 19 # can be removed after v0.1.2 20 - patches = stdenv.lib.optional stdenv.isDarwin (fetchpatch { 20 + patches = lib.optional stdenv.isDarwin (fetchpatch { 21 21 url = "https://github.com/regen100/cmake-language-server/commit/0ec120f39127f25898ab110b43819e3e9becb8a3.patch"; 22 22 sha256 = "1xbmarvsvzd61fnlap4qscnijli2rw2iqr7cyyvar2jd87z6sfp0"; 23 23 });
+2 -2
pkgs/development/tools/compile-daemon/default.nix
··· 1 - { stdenv, buildGoPackage, fetchFromGitHub }: 1 + { lib, stdenv, buildGoPackage, fetchFromGitHub }: 2 2 3 3 buildGoPackage rec { 4 4 pname = "compile-daemon-unstable"; ··· 16 16 17 17 goDeps = ./deps.nix; 18 18 19 - meta = with stdenv.lib; { 19 + meta = with lib; { 20 20 description = "Very simple compile daemon for Go"; 21 21 license = licenses.bsd2; 22 22 maintainers = with maintainers; [ ];
+3 -3
pkgs/development/tools/continuous-integration/buildkite-agent/default.nix
··· 1 - { fetchFromGitHub, stdenv, buildGoModule, 1 + { fetchFromGitHub, lib, stdenv, buildGoModule, 2 2 makeWrapper, coreutils, git, openssh, bash, gnused, gnugrep }: 3 3 buildGoModule rec { 4 4 name = "buildkite-agent-${version}"; ··· 27 27 28 28 # These are runtime dependencies 29 29 wrapProgram $out/bin/buildkite-agent \ 30 - --prefix PATH : '${stdenv.lib.makeBinPath [ openssh git coreutils gnused gnugrep ]}' 30 + --prefix PATH : '${lib.makeBinPath [ openssh git coreutils gnused gnugrep ]}' 31 31 ''; 32 32 33 - meta = with stdenv.lib; { 33 + meta = with lib; { 34 34 description = "Build runner for buildkite.com"; 35 35 longDescription = '' 36 36 The buildkite-agent is a small, reliable, and cross-platform build runner
+4 -4
pkgs/development/tools/continuous-integration/buildkite-agent/generic.nix
··· 13 13 nativeBuildInputs = [ makeWrapper ]; 14 14 15 15 postInstall = '' 16 - ${stdenv.lib.optionalString hasBootstrapScript '' 16 + ${lib.optionalString hasBootstrapScript '' 17 17 # Install bootstrap.sh 18 18 mkdir -p $out/libexec/buildkite-agent 19 19 cp $NIX_BUILD_TOP/go/src/${goPackagePath}/templates/bootstrap.sh $out/libexec/buildkite-agent ··· 25 25 26 26 # These are runtime dependencies 27 27 wrapProgram $out/bin/buildkite-agent \ 28 - ${stdenv.lib.optionalString hasBootstrapScript "--set BUILDKITE_BOOTSTRAP_SCRIPT_PATH $out/libexec/buildkite-agent/bootstrap.sh"} \ 29 - --prefix PATH : '${stdenv.lib.makeBinPath [ openssh git coreutils gnused gnugrep ]}' 28 + ${lib.optionalString hasBootstrapScript "--set BUILDKITE_BOOTSTRAP_SCRIPT_PATH $out/libexec/buildkite-agent/bootstrap.sh"} \ 29 + --prefix PATH : '${lib.makeBinPath [ openssh git coreutils gnused gnugrep ]}' 30 30 ''; 31 31 32 - meta = with stdenv.lib; { 32 + meta = with lib; { 33 33 description = "Build runner for buildkite.com"; 34 34 longDescription = '' 35 35 The buildkite-agent is a small, reliable, and cross-platform build runner
+2 -2
pkgs/development/tools/continuous-integration/drone-cli/default.nix
··· 1 - { stdenv, fetchFromGitHub, buildGoModule }: 1 + { lib, stdenv, fetchFromGitHub, buildGoModule }: 2 2 3 3 let version = "1.2.4"; 4 4 in buildGoModule rec { ··· 21 21 sha256 = "14sm5k2ifvr4g9369zqgb92vrr4rc0bxf5m52l3g8bd2s8fq8nx8"; 22 22 }; 23 23 24 - meta = with stdenv.lib; { 24 + meta = with lib; { 25 25 maintainers = with maintainers; [ bricewge ]; 26 26 license = licenses.asl20; 27 27 description = "Command line client for the Drone continuous integration server";
+2 -2
pkgs/development/tools/continuous-integration/drone/default.nix
··· 1 - { stdenv, fetchFromGitHub, buildGoModule }: 1 + { lib, stdenv, fetchFromGitHub, buildGoModule }: 2 2 3 3 buildGoModule rec { 4 4 name = "drone.io-${version}"; ··· 15 15 sha256 = "sha256-12Jac+mXWdUX8gWvmpdO9ROv7Bi0YzvyqnNDVNJOr34="; 16 16 }; 17 17 18 - meta = with stdenv.lib; { 18 + meta = with lib; { 19 19 maintainers = with maintainers; [ elohmeier vdemeester ]; 20 20 license = licenses.asl20; 21 21 description = "Continuous Integration platform built on container technology";
+2 -2
pkgs/development/tools/continuous-integration/gocd-agent/default.nix
··· 1 - { stdenv, fetchurl, unzip }: 1 + { lib, stdenv, fetchurl, unzip }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "gocd-agent-${version}-${rev}"; ··· 9 9 url = "https://download.go.cd/binaries/${version}-${rev}/generic/go-agent-${version}-${rev}.zip"; 10 10 sha256 = "1nirdv82i8x4s1dyb0rmxldh8avappd4g3mbbl6xp7r7s0drcprp"; 11 11 }; 12 - meta = with stdenv.lib; { 12 + meta = with lib; { 13 13 description = "A continuous delivery server specializing in advanced workflow modeling and visualization"; 14 14 homepage = "http://www.go.cd"; 15 15 license = licenses.asl20;
+2 -2
pkgs/development/tools/continuous-integration/gocd-server/default.nix
··· 1 - { stdenv, fetchurl, unzip }: 1 + { lib, stdenv, fetchurl, unzip }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "gocd-server-${version}-${rev}"; ··· 10 10 sha256 = "0c30qzd6awlw0zx91rk6na0mmgykqkgrw9ychx18ivjwma0hr0sc"; 11 11 }; 12 12 13 - meta = with stdenv.lib; { 13 + meta = with lib; { 14 14 description = "A continuous delivery server specializing in advanced workflow modeling and visualization"; 15 15 homepage = "http://www.go.cd"; 16 16 license = licenses.asl20;
+3 -3
pkgs/development/tools/continuous-integration/jenkins/default.nix
··· 1 - { stdenv, fetchurl, common-updater-scripts, coreutils, git, gnused, nix, nixfmt 1 + { lib, stdenv, fetchurl, common-updater-scripts, coreutils, git, gnused, nix, nixfmt 2 2 , writeScript, nixosTests, jq, cacert, curl }: 3 3 4 4 stdenv.mkDerivation rec { ··· 22 22 #!${stdenv.shell} 23 23 set -o errexit 24 24 PATH=${ 25 - stdenv.lib.makeBinPath [ 25 + lib.makeBinPath [ 26 26 cacert 27 27 common-updater-scripts 28 28 coreutils ··· 54 54 ''; 55 55 }; 56 56 57 - meta = with stdenv.lib; { 57 + meta = with lib; { 58 58 description = "An extendable open source continuous integration server"; 59 59 homepage = "https://jenkins-ci.org"; 60 60 license = licenses.mit;
+1 -1
pkgs/development/tools/continuous-integration/laminar/default.nix
··· 70 70 rm -r $out/lib # it contains only systemd unit file 71 71 ''); 72 72 73 - meta = with stdenv.lib; { 73 + meta = with lib; { 74 74 description = "Lightweight and modular continuous integration service"; 75 75 homepage = "https://laminar.ohwg.net"; 76 76 license = licenses.gpl3;
+2 -2
pkgs/development/tools/corgi/default.nix
··· 1 - { stdenv, buildGoPackage, fetchFromGitHub }: 1 + { lib, stdenv, buildGoPackage, fetchFromGitHub }: 2 2 3 3 buildGoPackage rec { 4 4 name = "corgi-${rev}"; ··· 16 16 17 17 goDeps = ./deps.nix; 18 18 19 - meta = with stdenv.lib; { 19 + meta = with lib; { 20 20 description = "CLI workflow manager"; 21 21 longDescription = '' 22 22 Corgi is a command-line tool that helps with your repetitive command usages by organizing them into reusable snippet.
+3 -3
pkgs/development/tools/coursier/default.nix
··· 1 - { stdenv, fetchurl, makeWrapper, jre, writeScript, common-updater-scripts 1 + { lib, stdenv, fetchurl, makeWrapper, jre, writeScript, common-updater-scripts 2 2 , coreutils, git, gnused, nix, nixfmt }: 3 3 4 4 let ··· 37 37 #!${stdenv.shell} 38 38 set -o errexit 39 39 PATH=${ 40 - stdenv.lib.makeBinPath [ 40 + lib.makeBinPath [ 41 41 common-updater-scripts 42 42 coreutils 43 43 git ··· 62 62 fi 63 63 ''; 64 64 65 - meta = with stdenv.lib; { 65 + meta = with lib; { 66 66 homepage = "https://get-coursier.io/"; 67 67 description = 68 68 "A Scala library to fetch dependencies from Maven / Ivy repositories";
+2 -2
pkgs/development/tools/cppclean/default.nix
··· 1 - { stdenv, fetchFromGitHub, python3Packages }: 1 + { lib, stdenv, fetchFromGitHub, python3Packages }: 2 2 3 3 with python3Packages; 4 4 ··· 21 21 ./test.bash 22 22 ''; 23 23 24 - meta = with stdenv.lib; { 24 + meta = with lib; { 25 25 description = "Finds problems in C++ source that slow development of large code bases"; 26 26 homepage = "https://github.com/myint/cppclean"; 27 27 license = licenses.asl20;
+3 -3
pkgs/development/tools/cue/default.nix
··· 1 - { buildGoModule, fetchgit, stdenv }: 1 + { buildGoModule, fetchgit, lib, stdenv }: 2 2 3 3 buildGoModule rec { 4 4 pname = "cue"; ··· 23 23 meta = { 24 24 description = "A data constraint language which aims to simplify tasks involving defining and using data"; 25 25 homepage = "https://cuelang.org/"; 26 - maintainers = with stdenv.lib.maintainers; [ solson ]; 27 - license = stdenv.lib.licenses.asl20; 26 + maintainers = with lib.maintainers; [ solson ]; 27 + license = lib.licenses.asl20; 28 28 }; 29 29 }
+2 -2
pkgs/development/tools/database/dbmate/default.nix
··· 1 - { stdenv, buildGoModule, fetchFromGitHub }: 1 + { lib, stdenv, buildGoModule, fetchFromGitHub }: 2 2 3 3 buildGoModule rec { 4 4 pname = "dbmate"; ··· 15 15 16 16 doCheck = false; 17 17 18 - meta = with stdenv.lib; { 18 + meta = with lib; { 19 19 description = "Database migration tool"; 20 20 homepage = "https://github.com/amacneil/dbmate"; 21 21 license = licenses.mit;
+3 -3
pkgs/development/tools/database/ephemeralpg/default.nix
··· 1 - { stdenv, fetchurl, postgresql, getopt, makeWrapper }: 1 + { lib, stdenv, fetchurl, postgresql, getopt, makeWrapper }: 2 2 stdenv.mkDerivation rec { 3 3 pname = "ephemeralpg"; 4 4 version = "3.1"; ··· 10 10 installPhase = '' 11 11 mkdir -p $out 12 12 PREFIX=$out make install 13 - wrapProgram $out/bin/pg_tmp --prefix PATH : ${stdenv.lib.makeBinPath [ postgresql getopt ]} 13 + wrapProgram $out/bin/pg_tmp --prefix PATH : ${lib.makeBinPath [ postgresql getopt ]} 14 14 ''; 15 - meta = with stdenv.lib; { 15 + meta = with lib; { 16 16 description = "Run tests on an isolated, temporary PostgreSQL database"; 17 17 license = licenses.isc; 18 18 homepage = "http://ephemeralpg.org/";
+2 -2
pkgs/development/tools/database/pg_checksums/default.nix
··· 1 - { stdenv, fetchFromGitHub, libxslt, docbook_xsl, postgresql }: 1 + { lib, stdenv, fetchFromGitHub, libxslt, docbook_xsl, postgresql }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "pg_checksums"; ··· 27 27 install -Dm644 -t $out/share/man/man1 doc/man1/pg_checksums.1 28 28 ''; 29 29 30 - meta = with stdenv.lib; { 30 + meta = with lib; { 31 31 description = "Activate/deactivate/verify checksums in offline PostgreSQL clusters"; 32 32 homepage = "https://github.com/credativ/pg_checksums"; 33 33 maintainers = [ maintainers.marsam ];
+3 -3
pkgs/development/tools/database/pgcli/default.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 , buildPythonApplication 3 3 , fetchPypi 4 4 , isPy3k ··· 46 46 47 47 checkInputs = [ pytestCheckHook mock ]; 48 48 49 - disabledTests = stdenv.lib.optionals stdenv.isDarwin [ "test_application_name_db_uri" ]; 49 + disabledTests = lib.optionals stdenv.isDarwin [ "test_application_name_db_uri" ]; 50 50 51 - meta = with stdenv.lib; { 51 + meta = with lib; { 52 52 description = "Command-line interface for PostgreSQL"; 53 53 longDescription = '' 54 54 Rich command-line interface for PostgreSQL with auto-completion and
+3 -3
pkgs/development/tools/database/pyrseas/default.nix
··· 1 - { stdenv, pythonPackages, fetchFromGitHub }: 1 + { lib, stdenv, pythonPackages, fetchFromGitHub }: 2 2 3 3 let 4 4 pgdbconn = pythonPackages.buildPythonPackage { ··· 39 39 meta = { 40 40 description = "A declarative language to describe PostgreSQL databases"; 41 41 homepage = "https://perseas.github.io/"; 42 - license = stdenv.lib.licenses.bsd3; 43 - maintainers = with stdenv.lib.maintainers; [ pmeunier ]; 42 + license = lib.licenses.bsd3; 43 + maintainers = with lib.maintainers; [ pmeunier ]; 44 44 }; 45 45 }
+1 -1
pkgs/development/tools/database/shmig/default.nix
··· 34 34 mkdir -p $out/bin 35 35 ''; 36 36 37 - meta = with stdenv.lib; { 37 + meta = with lib; { 38 38 description = "Minimalistic database migration tool with MySQL, PostgreSQL and SQLite support"; 39 39 homepage = "https://github.com/mbucc/shmig"; 40 40 license = licenses.bsd3;
+2 -2
pkgs/development/tools/database/sqlcheck/default.nix
··· 1 - { stdenv, fetchFromGitHub, cmake }: 1 + { lib, stdenv, fetchFromGitHub, cmake }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "sqlcheck"; ··· 16 16 17 17 doCheck = true; 18 18 19 - meta = with stdenv.lib; { 19 + meta = with lib; { 20 20 inherit (src.meta) homepage; 21 21 description = "Automatically identify anti-patterns in SQL queries"; 22 22 license = licenses.asl20;
+2 -2
pkgs/development/tools/database/sqldeveloper/default.nix
··· 1 - { stdenv, makeDesktopItem, makeWrapper, requireFile, unzip, jdk }: 1 + { lib, stdenv, makeDesktopItem, makeWrapper, requireFile, unzip, jdk }: 2 2 3 3 let 4 4 version = "20.2.0.175.1842"; ··· 65 65 --run "cd $out/libexec/sqldeveloper/bin" 66 66 ''; 67 67 68 - meta = with stdenv.lib; { 68 + meta = with lib; { 69 69 description = "Oracle's Oracle DB GUI client"; 70 70 longDescription = '' 71 71 Oracle SQL Developer is a free integrated development environment that
+2 -2
pkgs/development/tools/database/squirrel-sql/default.nix
··· 1 1 # To enable specific database drivers, override this derivation and pass the 2 2 # driver packages in the drivers argument (e.g. mysql_jdbc, postgresql_jdbc). 3 - { stdenv, fetchurl, makeDesktopItem, makeWrapper, unzip 3 + { lib, stdenv, fetchurl, makeDesktopItem, makeWrapper, unzip 4 4 , jre 5 5 , drivers ? [] 6 6 }: ··· 69 69 icon = "squirrel-sql"; 70 70 }; 71 71 72 - meta = with stdenv.lib; { 72 + meta = with lib; { 73 73 description = "Universal SQL Client"; 74 74 homepage = "http://squirrel-sql.sourceforge.net/"; 75 75 license = licenses.lgpl21;
+2 -2
pkgs/development/tools/database/timescaledb-parallel-copy/default.nix
··· 1 - { stdenv, buildGoModule, fetchFromGitHub }: 1 + { lib, stdenv, buildGoModule, fetchFromGitHub }: 2 2 3 3 buildGoModule rec { 4 4 pname = "timescaledb-parallel-copy"; ··· 13 13 14 14 vendorSha256 = "03siay3hv1sgmmp7w4f9b0xb8c6bnbx0v4wy5grjl5k04zhnj76b"; 15 15 16 - meta = with stdenv.lib; { 16 + meta = with lib; { 17 17 description = "Bulk, parallel insert of CSV records into PostgreSQL"; 18 18 homepage = "https://github.com/timescale/timescaledb-parallel-copy"; 19 19 license = licenses.asl20;
+2 -2
pkgs/development/tools/database/timescaledb-tune/default.nix
··· 1 - { stdenv, buildGoModule, fetchFromGitHub }: 1 + { lib, stdenv, buildGoModule, fetchFromGitHub }: 2 2 3 3 buildGoModule rec { 4 4 pname = "timescaledb-tune"; ··· 13 13 14 14 vendorSha256 = "0hbpprbxs19fcar7xcy42kn9yfzhal2zsv5pml9ghiv2s61yns4z"; 15 15 16 - meta = with stdenv.lib; { 16 + meta = with lib; { 17 17 description = "A tool for tuning your TimescaleDB for better performance"; 18 18 homepage = "https://github.com/timescale/timescaledb-tune"; 19 19 license = licenses.asl20;
+2 -2
pkgs/development/tools/database/webdis/default.nix
··· 1 - { stdenv, fetchFromGitHub, hiredis, http-parser, jansson, libevent, fetchpatch }: 1 + { lib, stdenv, fetchFromGitHub, hiredis, http-parser, jansson, libevent, fetchpatch }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "webdis"; ··· 18 18 "CONFDIR=${placeholder "out"}/share/webdis" 19 19 ]; 20 20 21 - meta = with stdenv.lib; { 21 + meta = with lib; { 22 22 description = "A Redis HTTP interface with JSON output"; 23 23 homepage = "https://webd.is/"; 24 24 license = licenses.bsd2;
+2 -2
pkgs/development/tools/dcadec/default.nix
··· 1 - { stdenv, fetchFromGitHub }: 1 + { lib, stdenv, fetchFromGitHub }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "dcadec"; ··· 15 15 16 16 doCheck = false; # fails with "ERROR: Run 'git submodule update --init test/samples' first." 17 17 18 - meta = with stdenv.lib; { 18 + meta = with lib; { 19 19 description = "DTS Coherent Acoustics decoder with support for HD extensions"; 20 20 maintainers = with maintainers; [ edwtjo ]; 21 21 homepage = "https://github.com/foo86/dcadec";
+2 -2
pkgs/development/tools/deis/default.nix
··· 1 - { stdenv, buildGoPackage, fetchFromGitHub }: 1 + { lib, stdenv, buildGoPackage, fetchFromGitHub }: 2 2 3 3 buildGoPackage rec { 4 4 pname = "deis"; ··· 25 25 export GOPATH=$GOPATH:$NIX_BUILD_TOP/go/src/${goPackagePath}/Godeps/_workspace 26 26 ''; 27 27 28 - meta = with stdenv.lib; { 28 + meta = with lib; { 29 29 homepage = "https://deis.io"; 30 30 description = "A command line utility used to interact with the Deis open source PaaS"; 31 31 license = licenses.asl20;
+2 -2
pkgs/development/tools/deisctl/default.nix
··· 1 - { stdenv, buildGoPackage, fetchFromGitHub }: 1 + { lib, stdenv, buildGoPackage, fetchFromGitHub }: 2 2 3 3 buildGoPackage rec { 4 4 pname = "deis"; ··· 19 19 export GOPATH=$GOPATH:$NIX_BUILD_TOP/go/src/${goPackagePath}/Godeps/_workspace 20 20 ''; 21 21 22 - meta = with stdenv.lib; { 22 + meta = with lib; { 23 23 homepage = "https://deis.io"; 24 24 description = "A command-line utility used to provision and operate a Deis cluster"; 25 25 license = licenses.asl20;
+2 -2
pkgs/development/tools/delve/default.nix
··· 1 - { stdenv, buildGoPackage, fetchFromGitHub }: 1 + { lib, stdenv, buildGoPackage, fetchFromGitHub }: 2 2 3 3 buildGoPackage rec { 4 4 pname = "delve"; ··· 14 14 sha256 = "10zvla2jqxqibxdk3zbnsxg63i0zcwcn9npvw3bbicwd2z4vvskk"; 15 15 }; 16 16 17 - meta = with stdenv.lib; { 17 + meta = with lib; { 18 18 description = "debugger for the Go programming language"; 19 19 homepage = "https://github.com/derekparker/delve"; 20 20 maintainers = with maintainers; [ vdemeester ];
+2 -2
pkgs/development/tools/dep/default.nix
··· 1 - { stdenv, buildGoPackage, fetchFromGitHub }: 1 + { lib, stdenv, buildGoPackage, fetchFromGitHub }: 2 2 3 3 buildGoPackage rec { 4 4 pname = "dep"; ··· 17 17 18 18 buildFlagsArray = ("-ldflags=-s -w -X main.commitHash=${rev} -X main.version=${version}"); 19 19 20 - meta = with stdenv.lib; { 20 + meta = with lib; { 21 21 homepage = "https://github.com/golang/dep"; 22 22 description = "Go dependency management tool"; 23 23 license = licenses.bsd3;
+2 -2
pkgs/development/tools/devd/default.nix
··· 1 - { buildGoPackage, fetchFromGitHub, stdenv }: 1 + { buildGoPackage, fetchFromGitHub, lib, stdenv }: 2 2 3 3 buildGoPackage rec { 4 4 pname = "devd"; ··· 11 11 }; 12 12 goPackagePath = "github.com/cortesi/devd"; 13 13 subPackages = [ "cmd/devd" ]; 14 - meta = with stdenv.lib; { 14 + meta = with lib; { 15 15 description = "A local webserver for developers"; 16 16 homepage = "https://github.com/cortesi/devd"; 17 17 license = licenses.mit;
+2 -2
pkgs/development/tools/devpi-client/default.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 , buildPythonApplication 3 3 , fetchPypi 4 4 # buildInputs ··· 49 49 50 50 LC_ALL = "en_US.UTF-8"; 51 51 52 - meta = with stdenv.lib; { 52 + meta = with lib; { 53 53 homepage = "http://doc.devpi.net"; 54 54 description = "Client for devpi, a pypi index server and packaging meta tool"; 55 55 license = licenses.mit;
+3 -3
pkgs/development/tools/devpi-server/default.nix
··· 1 - { stdenv, fetchFromGitHub, python3Packages, nginx }: 1 + { lib, stdenv, fetchFromGitHub, python3Packages, nginx }: 2 2 3 3 python3Packages.buildPythonApplication rec { 4 4 pname = "devpi-server"; ··· 33 33 pytestCheckHook 34 34 pytest-flake8 35 35 webtest 36 - ] ++ stdenv.lib.optionals isPy27 [ mock ]; 36 + ] ++ lib.optionals isPy27 [ mock ]; 37 37 38 38 # root_passwd_hash tries to write to store 39 39 # TestMirrorIndexThings tries to write to /var through ngnix ··· 55 55 "TestMirrorIndexThings" 56 56 ]; 57 57 58 - meta = with stdenv.lib;{ 58 + meta = with lib;{ 59 59 homepage = "http://doc.devpi.net"; 60 60 description = "Github-style pypi index server and packaging meta tool"; 61 61 license = licenses.mit;
+2 -2
pkgs/development/tools/devtodo/default.nix
··· 1 - { stdenv, fetchurl, readline, ncurses }: 1 + { lib, stdenv, fetchurl, readline, ncurses }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "devtodo"; ··· 13 13 14 14 enableParallelBuilding = true; 15 15 16 - meta = with stdenv.lib; { 16 + meta = with lib; { 17 17 homepage = "https://swapoff.org/devtodo1.html"; 18 18 description = "A hierarchical command-line task manager"; 19 19 license = licenses.gpl2;
+1 -1
pkgs/development/tools/diesel-cli/default.nix
··· 8 8 "support for at least one database must be enabled"; 9 9 10 10 let 11 - inherit (stdenv.lib) optional optionals optionalString; 11 + inherit (lib) optional optionals optionalString; 12 12 features = '' 13 13 ${optionalString sqliteSupport "sqlite"} \ 14 14 ${optionalString postgresqlSupport "postgres"} \
+3 -3
pkgs/development/tools/dive/default.nix
··· 1 - { stdenv, buildGoModule, fetchFromGitHub, pkg-config, btrfs-progs, gpgme, lvm2 }: 1 + { lib, stdenv, buildGoModule, fetchFromGitHub, pkg-config, btrfs-progs, gpgme, lvm2 }: 2 2 3 3 buildGoModule rec { 4 4 pname = "dive"; ··· 17 17 18 18 nativeBuildInputs = [ pkg-config ]; 19 19 20 - buildInputs = stdenv.lib.optionals stdenv.isLinux [ btrfs-progs gpgme lvm2 ]; 20 + buildInputs = lib.optionals stdenv.isLinux [ btrfs-progs gpgme lvm2 ]; 21 21 22 22 buildFlagsArray = [ "-ldflags=-s -w -X main.version=${version}" ]; 23 23 24 - meta = with stdenv.lib; { 24 + meta = with lib; { 25 25 description = "A tool for exploring each layer in a docker image"; 26 26 homepage = "https://github.com/wagoodman/dive"; 27 27 license = licenses.mit;
+5 -5
pkgs/development/tools/documentation/antora/default.nix
··· 1 - { stdenv, nodePackages }: 1 + { lib, stdenv, nodePackages }: 2 2 3 3 let 4 4 linkNodeDeps = ({ pkg, deps, name ? "" }: 5 5 let 6 - targetModule = if name != "" then name else stdenv.lib.getName pkg; 6 + targetModule = if name != "" then name else lib.getName pkg; 7 7 in nodePackages.${pkg}.override (oldAttrs: { 8 8 postInstall = '' 9 9 mkdir -p $out/lib/node_modules/${targetModule}/node_modules 10 - ${stdenv.lib.concatStringsSep "\n" (map (dep: '' 11 - ln -s ${nodePackages.${dep}}/lib/node_modules/${stdenv.lib.getName dep} \ 12 - $out/lib/node_modules/${targetModule}/node_modules/${stdenv.lib.getName dep} 10 + ${lib.concatStringsSep "\n" (map (dep: '' 11 + ln -s ${nodePackages.${dep}}/lib/node_modules/${lib.getName dep} \ 12 + $out/lib/node_modules/${targetModule}/node_modules/${lib.getName dep} 13 13 '') deps 14 14 )} 15 15 '';
+9 -9
pkgs/development/tools/documentation/doxygen/default.nix
··· 1 - { stdenv, cmake, fetchFromGitHub, python3, flex, bison, qt5, CoreServices, libiconv }: 1 + { lib, stdenv, cmake, fetchFromGitHub, python3, flex, bison, qt5, CoreServices, libiconv }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "doxygen"; ··· 7 7 src = fetchFromGitHub { 8 8 owner = "doxygen"; 9 9 repo = "doxygen"; 10 - rev = "Release_${stdenv.lib.replaceStrings [ "." ] [ "_" ] version}"; 10 + rev = "Release_${lib.replaceStrings [ "." ] [ "_" ] version}"; 11 11 sha256 = "17chvi3i80rj4750smpizf562xjzd2xcv5rfyh997pyvc1zbq5rh"; 12 12 }; 13 13 ··· 19 19 ]; 20 20 21 21 buildInputs = 22 - stdenv.lib.optionals (qt5 != null) (with qt5; [ qtbase wrapQtAppsHook ]) 23 - ++ stdenv.lib.optional stdenv.isSunOS libiconv 24 - ++ stdenv.lib.optionals stdenv.isDarwin [ CoreServices libiconv ]; 22 + lib.optionals (qt5 != null) (with qt5; [ qtbase wrapQtAppsHook ]) 23 + ++ lib.optional stdenv.isSunOS libiconv 24 + ++ lib.optionals stdenv.isDarwin [ CoreServices libiconv ]; 25 25 26 26 cmakeFlags = 27 27 [ "-DICONV_INCLUDE_DIR=${libiconv}/include" ] ++ 28 - stdenv.lib.optional (qt5 != null) "-Dbuild_wizard=YES"; 28 + lib.optional (qt5 != null) "-Dbuild_wizard=YES"; 29 29 30 30 NIX_CFLAGS_COMPILE = 31 - stdenv.lib.optionalString stdenv.isDarwin "-mmacosx-version-min=10.9"; 31 + lib.optionalString stdenv.isDarwin "-mmacosx-version-min=10.9"; 32 32 33 33 enableParallelBuilding = false; 34 34 35 35 meta = { 36 - license = stdenv.lib.licenses.gpl2Plus; 36 + license = lib.licenses.gpl2Plus; 37 37 homepage = "http://doxygen.nl/"; 38 38 description = "Source code documentation generator tool"; 39 39 ··· 45 45 manual (in LaTeX) from a set of documented source files. 46 46 ''; 47 47 48 - platforms = if qt5 != null then stdenv.lib.platforms.linux else stdenv.lib.platforms.unix; 48 + platforms = if qt5 != null then lib.platforms.linux else lib.platforms.unix; 49 49 }; 50 50 }
+3 -3
pkgs/development/tools/documentation/gnome-doc-utils/default.nix
··· 1 - { stdenv, fetchurl, pkg-config, libxml2Python, libxslt, intltool, gnome3 1 + { lib, stdenv, fetchurl, pkg-config, libxml2Python, libxslt, intltool, gnome3 2 2 , python2Packages }: 3 3 4 4 python2Packages.buildPythonApplication rec { ··· 8 8 format = "other"; 9 9 10 10 src = fetchurl { 11 - url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 11 + url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 12 12 sha256 = "19n4x25ndzngaciiyd8dd6s2mf9gv6nv3wv27ggns2smm7zkj1nb"; 13 13 }; 14 14 ··· 34 34 rm $out/nix-support/propagated-build-inputs 35 35 ''; 36 36 37 - meta = with stdenv.lib; { 37 + meta = with lib; { 38 38 description = "Collection of documentation utilities for the GNOME project"; 39 39 homepage = "https://gitlab.gnome.org/GNOME/gnome-doc-utils"; 40 40 license = with licenses; [ gpl2Plus lgpl2Plus ];
+3 -3
pkgs/development/tools/documentation/gtk-doc/default.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 , fetchFromGitLab 3 3 , meson 4 4 , ninja ··· 44 44 docbook_xml_dtd_43 45 45 docbook_xsl 46 46 libxslt 47 - ] ++ stdenv.lib.optionals withDblatex [ 47 + ] ++ lib.optionals withDblatex [ 48 48 dblatex 49 49 ]; 50 50 ··· 77 77 }; 78 78 }; 79 79 80 - meta = with stdenv.lib; { 80 + meta = with lib; { 81 81 description = "Tools to extract documentation embedded in GTK and GNOME source code"; 82 82 homepage = "https://www.gtk.org/gtk-doc"; 83 83 license = licenses.gpl2;
+2 -2
pkgs/development/tools/documentation/mdsh/default.nix
··· 1 - { stdenv, fetchFromGitHub, rustPlatform }: 1 + { lib, stdenv, fetchFromGitHub, rustPlatform }: 2 2 3 3 rustPlatform.buildRustPackage rec { 4 4 pname = "mdsh"; ··· 13 13 14 14 cargoSha256 = "118ykkqlf0x6gcgywx4pg3qawfhfr5q5f51gvrw9s302c1lmgk3g"; 15 15 16 - meta = with stdenv.lib; { 16 + meta = with lib; { 17 17 description = "Markdown shell pre-processor"; 18 18 homepage = "https://github.com/zimbatm/mdsh"; 19 19 license = with licenses; [ mit ];
+1 -1
pkgs/development/tools/documentation/mkdocs/default.nix
··· 35 35 backports_tempfile 36 36 ]; 37 37 38 - meta = with stdenv.lib; { 38 + meta = with lib; { 39 39 description = "Project documentation with Markdown / static website generator"; 40 40 longDescription = '' 41 41 MkDocs is a fast, simple and downright gorgeous static site generator that's
+1 -1
pkgs/development/tools/dot-http/default.nix
··· 15 15 16 16 nativeBuildInputs = [ pkg-config ]; 17 17 18 - buildInputs = [ openssl ] ++ stdenv.lib.optionals stdenv.isDarwin [ 18 + buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ 19 19 libiconv Security 20 20 ]; 21 21
+2 -2
pkgs/development/tools/drip/default.nix
··· 1 - { stdenv, fetchFromGitHub, jdk8, which, makeWrapper }: 1 + { lib, stdenv, fetchFromGitHub, jdk8, which, makeWrapper }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "drip"; ··· 29 29 runHook postInstall 30 30 ''; 31 31 32 - meta = with stdenv.lib; { 32 + meta = with lib; { 33 33 description = "A launcher for the Java Virtual Machine intended to be a drop-in replacement for the java command, only faster"; 34 34 license = licenses.epl10; 35 35 homepage = "https://github.com/ninjudd/drip";
+2 -2
pkgs/development/tools/drm_info/default.nix
··· 1 - { stdenv, fetchFromGitHub 1 + { lib, stdenv, fetchFromGitHub 2 2 , libdrm, json_c, pciutils 3 3 , meson, ninja, pkg-config 4 4 }: ··· 17 17 nativeBuildInputs = [ meson ninja pkg-config ]; 18 18 buildInputs = [ libdrm json_c pciutils ]; 19 19 20 - meta = with stdenv.lib; { 20 + meta = with lib; { 21 21 description = "Small utility to dump info about DRM devices"; 22 22 homepage = "https://github.com/ascent12/drm_info"; 23 23 license = licenses.mit;
+2 -2
pkgs/development/tools/dtools/default.nix
··· 51 51 $makeCmd INSTALL_DIR=$out install 52 52 ''; 53 53 54 - meta = with stdenv.lib; { 54 + meta = with lib; { 55 55 description = "Ancillary tools for the D programming language compiler"; 56 56 homepage = "https://github.com/dlang/tools"; 57 57 license = lib.licenses.boost; 58 58 maintainers = with maintainers; [ ThomasMader ]; 59 - platforms = stdenv.lib.platforms.unix; 59 + platforms = lib.platforms.unix; 60 60 }; 61 61 }
+2 -2
pkgs/development/tools/easyjson/default.nix
··· 1 - { stdenv, buildGoPackage, fetchFromGitHub }: 1 + { lib, stdenv, buildGoPackage, fetchFromGitHub }: 2 2 3 3 buildGoPackage { 4 4 pname = "easyjson"; ··· 12 12 sha256 = "0q85h383mhbkcjm2vqm72bi8n2252fv3c56q3lclzb8n2crnjcdk"; 13 13 }; 14 14 15 - meta = with stdenv.lib; { 15 + meta = with lib; { 16 16 homepage = "https://github.com/mailru/easyjson"; 17 17 description = "Fast JSON serializer for golang"; 18 18 license = licenses.mit;
+2 -2
pkgs/development/tools/eclipse-mat/default.nix
··· 62 62 libCairo=$out/eclipse/libcairo-swt.so 63 63 patchelf --set-interpreter $interpreter $out/mat/MemoryAnalyzer 64 64 [ -f $libCairo ] && patchelf --set-rpath ${ 65 - stdenv.lib.makeLibraryPath [ freetype fontconfig libX11 libXrender zlib ] 65 + lib.makeLibraryPath [ freetype fontconfig libX11 libXrender zlib ] 66 66 } $libCairo 67 67 68 68 # Create wrapper script. Pass -configuration to store settings in ~/.eclipse-mat/<version> 69 69 makeWrapper $out/mat/MemoryAnalyzer $out/bin/eclipse-mat \ 70 70 --prefix PATH : ${jdk}/bin \ 71 - --prefix LD_LIBRARY_PATH : ${stdenv.lib.makeLibraryPath ([ glib gtk3 libXtst webkitgtk ])} \ 71 + --prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath ([ glib gtk3 libXtst webkitgtk ])} \ 72 72 --prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH" \ 73 73 --add-flags "-configuration \$HOME/.eclipse-mat/''${version}/configuration" 74 74
+8 -8
pkgs/development/tools/electron/default.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 , libXScrnSaver 3 3 , makeWrapper 4 4 , fetchurl ··· 94 94 headers = "1k97pfzxqrgw4y76js2chq13avgp9czin9q9mlh1zdf13bih96hj"; 95 95 }; 96 96 97 - electron_11 = mkElectron "11.2.0" { 98 - x86_64-linux = "a2ed11a5ec9ad10302053e5e2bdf2abf0f9bac521e4f80a377308bffe8c24c00"; 99 - x86_64-darwin = "c8485cc6cb754bccfb1a01db93f5f0f1ee1ed3017551f3d25a1191c7c7aea654"; 100 - i686-linux = "508b9276f97c66418e530cbfa584701d4b0a42825fb2519b21ff161db1dc121f"; 101 - armv7l-linux = "edf1ad6606eab5efc1c9a33ce16489dae1df21ce6e69166f4c8da27ca6fde2ca"; 102 - aarch64-linux = "ed8e318ce0ba92058efdc667790bcbfce1c7f888f9d94038c1c76ed8678158fc"; 103 - headers = "0mwv9vm2km6sawyds87fzy7m4pcmmwl9c2qihs1nc7cwmdz388lv"; 97 + electron_11 = mkElectron "11.2.1" { 98 + x86_64-linux = "607d9d58c9a3b5c36461acc6bbe473bc604eee42a55c2c617ac46d095cf98abb"; 99 + x86_64-darwin = "39d95668a3ea04bdc652ff9e2889c7a88f638534420e8e256679cbf4b7658a65"; 100 + i686-linux = "59f226133d01fb6acf86fe98907964f79dcf2902054e5c4c9c4ff84a3ea88f4a"; 101 + armv7l-linux = "85051d8eacf04aeec3dd74e46e7888d01bd4e6caf7ec2001122a1f3e11db44ee"; 102 + aarch64-linux = "8aa9be5d6c139386390bad64f78b95756206a40fe4982fc9f199b67a7d06bec5"; 103 + headers = "12sy8zzb0z654b85c5l1j8762nhwmkim1pbz1y3qzgbzvpbd5arq"; 104 104 }; 105 105 }
+4 -4
pkgs/development/tools/electron/generic.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 , libXScrnSaver 3 3 , makeWrapper 4 4 , fetchurl ··· 20 20 let 21 21 name = "electron-${version}"; 22 22 23 - meta = with stdenv.lib; { 23 + meta = with lib; { 24 24 description = "Cross platform desktop application shell"; 25 25 homepage = "https://github.com/electron/electron"; 26 26 license = licenses.mit; ··· 56 56 passthru.headers = headersFetcher version hashes.headers; 57 57 }; 58 58 59 - electronLibPath = with stdenv.lib; makeLibraryPath ( 59 + electronLibPath = with lib; makeLibraryPath ( 60 60 [ libuuid at-spi2-atk at-spi2-core libappindicator-gtk3 ] 61 61 ++ optionals (! versionOlder version "9.0.0") [ libdrm mesa ] 62 62 ++ optionals (! versionOlder version "11.0.0") [ libxkbcommon ] ··· 89 89 $out/lib/electron/electron 90 90 91 91 wrapProgram $out/lib/electron/electron \ 92 - --prefix LD_PRELOAD : ${stdenv.lib.makeLibraryPath [ libXScrnSaver ]}/libXss.so.1 \ 92 + --prefix LD_PRELOAD : ${lib.makeLibraryPath [ libXScrnSaver ]}/libXss.so.1 \ 93 93 "''${gappsWrapperArgs[@]}" 94 94 ''; 95 95 };
+4 -4
pkgs/development/tools/erlang/cuter/default.nix
··· 1 - { stdenv, autoreconfHook, which, writeText, makeWrapper, fetchFromGitHub, erlang 1 + { lib, stdenv, autoreconfHook, which, writeText, makeWrapper, fetchFromGitHub, erlang 2 2 , z3, python }: 3 3 4 4 stdenv.mkDerivation rec { ··· 38 38 39 39 meta = { 40 40 description = "A concolic testing tool for the Erlang functional programming language"; 41 - license = stdenv.lib.licenses.gpl3; 41 + license = lib.licenses.gpl3; 42 42 homepage = "https://github.com/aggelgian/cuter"; 43 - maintainers = with stdenv.lib.maintainers; [ ericbmerritt ]; 44 - platforms = with stdenv.lib.platforms; unix; 43 + maintainers = with lib.maintainers; [ ericbmerritt ]; 44 + platforms = with lib.platforms; unix; 45 45 }; 46 46 }
+2 -2
pkgs/development/tools/fac/default.nix
··· 1 - { stdenv, buildGoPackage, fetchFromGitHub, makeWrapper, git }: 1 + { lib, stdenv, buildGoPackage, fetchFromGitHub, makeWrapper, git }: 2 2 3 3 buildGoPackage rec { 4 4 pname = "fac"; ··· 25 25 install -D go/src/${goPackagePath}/assets/doc/fac.1 $out/share/man/man1/fac.1 26 26 ''; 27 27 28 - meta = with stdenv.lib; { 28 + meta = with lib; { 29 29 description = "CUI for fixing git conflicts"; 30 30 inherit (src.meta) homepage; 31 31 license = licenses.mit;
+2 -2
pkgs/development/tools/fedpkg/default.nix
··· 1 - { stdenv, buildPythonApplication, buildPythonPackage, isPy3k, fetchurl, rpkg, offtrac, urlgrabber, pyopenssl, python_fedora }: 1 + { lib, stdenv, buildPythonApplication, buildPythonPackage, isPy3k, fetchurl, rpkg, offtrac, urlgrabber, pyopenssl, python_fedora }: 2 2 3 3 let 4 4 fedora_cert = buildPythonPackage rec { ··· 26 26 patches = [ ./fix-paths.patch ]; 27 27 propagatedBuildInputs = [ rpkg offtrac urlgrabber fedora_cert ]; 28 28 29 - meta = with stdenv.lib; { 29 + meta = with lib; { 30 30 description = "Subclass of the rpkg project for dealing with rpm packaging"; 31 31 homepage = "https://pagure.io/fedpkg"; 32 32 license = licenses.gpl2;
+2 -2
pkgs/development/tools/flamegraph/default.nix
··· 1 - { stdenv, fetchFromGitHub, perl }: 1 + { lib, stdenv, fetchFromGitHub, perl }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "FlameGraph"; ··· 24 24 runHook postInstall 25 25 ''; 26 26 27 - meta = with stdenv.lib; { 27 + meta = with lib; { 28 28 license = with licenses; [ asl20 cddl gpl2Plus ]; 29 29 homepage = "http://www.brendangregg.com/flamegraphs.html"; 30 30 description = "Visualization for profiled code";
+2 -2
pkgs/development/tools/flatpak-builder/default.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 , fetchurl 3 3 , substituteAll 4 4 , nixosTests ··· 145 145 }; 146 146 }; 147 147 148 - meta = with stdenv.lib; { 148 + meta = with lib; { 149 149 description = "Tool to build flatpaks from source"; 150 150 homepage = "https://github.com/flatpak/flatpak-builder"; 151 151 license = licenses.lgpl21Plus;
+2 -2
pkgs/development/tools/flootty/default.nix
··· 1 - { stdenv, python3Packages }: 1 + { lib, stdenv, python3Packages }: 2 2 3 3 python3Packages.buildPythonApplication rec { 4 4 pname = "Flootty"; ··· 9 9 sha256 = "0gfl143ly81pmmrcml91yr0ypvwrs5q4s1sfdc0l2qkqpy233ih7"; 10 10 }; 11 11 12 - meta = with stdenv.lib; { 12 + meta = with lib; { 13 13 description = "A collaborative terminal. In practice, it's similar to a shared screen or tmux session"; 14 14 homepage = "https://floobits.com/help/flootty"; 15 15 license = licenses.asl20;
+2 -2
pkgs/development/tools/flyway/default.nix
··· 1 - { stdenv, fetchurl, jre_headless, makeWrapper }: 1 + { lib, stdenv, fetchurl, jre_headless, makeWrapper }: 2 2 let 3 3 version = "7.3.1"; 4 4 in ··· 22 22 --add-flags "org.flywaydb.commandline.Main" \ 23 23 --add-flags "-jarDirs='$out/share/flyway/jars'" 24 24 ''; 25 - meta = with stdenv.lib; { 25 + meta = with lib; { 26 26 description = "Evolve your Database Schema easily and reliably across all your instances"; 27 27 longDescription = '' 28 28 The Flyway command-line tool is a standalone Flyway distribution.
+3 -3
pkgs/development/tools/fmbt/default.nix
··· 1 - { stdenv, fetchFromGitHub, python, autoreconfHook, pkg-config, makeWrapper 1 + { lib, stdenv, fetchFromGitHub, python, autoreconfHook, pkg-config, makeWrapper 2 2 , flex 3 3 , gettext, libedit, glib, imagemagick, libxml2, boost, gnuplot, graphviz 4 4 , tesseract, gts, libXtst ··· 28 28 preBuild = '' 29 29 export PYTHONPATH="$PYTHONPATH:$out/lib/python${python.pythonVersion}/site-packages" 30 30 export PATH="$PATH:$out/bin" 31 - export LD_LIBRARY_PATH="${stdenv.lib.makeLibraryPath [libXtst]}" 31 + export LD_LIBRARY_PATH="${lib.makeLibraryPath [libXtst]}" 32 32 ''; 33 33 34 34 postInstall = '' ··· 42 42 done 43 43 ''; 44 44 45 - meta = with stdenv.lib; { 45 + meta = with lib; { 46 46 description = "Free Model-Based Testing tool"; 47 47 homepage = "https://github.com/intel/fMBT"; 48 48 license = licenses.lgpl21;
+2 -2
pkgs/development/tools/fusee-launcher/default.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 , python3Packages 3 3 , python3 4 4 , fetchFromGitHub ··· 32 32 buildInputs = [ python3 python3Packages.pyusb ]; 33 33 pythonPath = with python3Packages; [ pyusb ]; 34 34 35 - meta = with stdenv.lib; { 35 + meta = with lib; { 36 36 homepage = "https://github.com/Cease-and-DeSwitch/fusee-launcher"; 37 37 description = "Work-in-progress launcher for one of the Tegra X1 bootROM exploits"; 38 38 license = licenses.gpl2;
+2 -2
pkgs/development/tools/galen/default.nix
··· 1 - { stdenv, fetchurl, jre8, unzip }: 1 + { lib, stdenv, fetchurl, jre8, unzip }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "galen"; ··· 23 23 cp galen.jar $out/bin 24 24 ''; 25 25 26 - meta = with stdenv.lib; { 26 + meta = with lib; { 27 27 homepage = "http://galenframework.com"; 28 28 description = "Automated layout testing for websites"; 29 29 license = licenses.asl20;
+2 -2
pkgs/development/tools/gamecube-tools/default.nix
··· 1 - { stdenv, fetchFromGitHub, autoreconfHook 1 + { lib, stdenv, fetchFromGitHub, autoreconfHook 2 2 , freeimage, libGL }: 3 3 4 4 stdenv.mkDerivation rec { ··· 15 15 sha256 = "0zvpkzqvl8iv4ndzhkjkmrzpampyzgb91spv0h2x2arl8zy4z7ca"; 16 16 }; 17 17 18 - meta = with stdenv.lib; { 18 + meta = with lib; { 19 19 description = "Tools for gamecube/wii projects"; 20 20 homepage = "https://github.com/devkitPro/gamecube-tools/"; 21 21 license = licenses.gpl2;
+2 -2
pkgs/development/tools/gauge/default.nix
··· 1 - { stdenv, buildGoPackage, fetchFromGitHub }: 1 + { lib, stdenv, buildGoPackage, fetchFromGitHub }: 2 2 3 3 buildGoPackage rec { 4 4 pname = "gauge"; ··· 14 14 sha256 = "02yrk4d5mm4j2grlhqkf4grxawx91kd2vhdn7k5wd2dl6wsnlgcl"; 15 15 }; 16 16 17 - meta = with stdenv.lib; { 17 + meta = with lib; { 18 18 description = "Light weight cross-platform test automation"; 19 19 homepage = "https://gauge.org"; 20 20 license = licenses.gpl3;
+2 -2
pkgs/development/tools/gdm/default.nix
··· 1 - { stdenv, buildGoPackage, fetchFromGitHub }: 1 + { lib, stdenv, buildGoPackage, fetchFromGitHub }: 2 2 3 3 buildGoPackage rec { 4 4 pname = "gdm"; ··· 15 15 16 16 goDeps = ./deps.nix; 17 17 18 - meta = with stdenv.lib; { 18 + meta = with lib; { 19 19 description = "Minimalist dependency manager for Go written in Go"; 20 20 homepage = "https://github.com/sparrc/gdm"; 21 21 license = licenses.unlicense;
+2 -2
pkgs/development/tools/git-ftp/default.nix
··· 1 - { stdenv, fetchFromGitHub, pandoc, man }: 1 + { lib, stdenv, fetchFromGitHub, pandoc, man }: 2 2 stdenv.mkDerivation rec { 3 3 pname = "git-ftp"; 4 4 version = "1.6.0"; ··· 17 17 18 18 buildInputs = [pandoc man]; 19 19 20 - meta = with stdenv.lib; { 20 + meta = with lib; { 21 21 description = "Git powered FTP client written as shell script"; 22 22 homepage = "https://git-ftp.github.io/"; 23 23 license = licenses.gpl3;
+3 -3
pkgs/development/tools/git-quick-stats/default.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 , fetchFromGitHub 3 3 , makeWrapper 4 4 , coreutils ··· 28 28 29 29 postInstall = 30 30 let 31 - path = stdenv.lib.makeBinPath [ 31 + path = lib.makeBinPath [ 32 32 coreutils 33 33 gawk 34 34 git ··· 41 41 wrapProgram $out/bin/git-quick-stats --suffix PATH : ${path} 42 42 ''; 43 43 44 - meta = with stdenv.lib; { 44 + meta = with lib; { 45 45 homepage = "https://github.com/arzzen/git-quick-stats"; 46 46 description = "A simple and efficient way to access various statistics in git repository"; 47 47 platforms = platforms.all;
+2 -2
pkgs/development/tools/git-series/default.nix
··· 1 - { stdenv, fetchFromGitHub, fetchpatch, rustPlatform 1 + { lib, stdenv, fetchFromGitHub, fetchpatch, rustPlatform 2 2 , openssl, cmake, perl, pkg-config, zlib, curl, libgit2, libssh2 3 3 }: 4 4 ··· 43 43 install -D "$src/git-series.1" "$out/man/man1/git-series.1" 44 44 ''; 45 45 46 - meta = with stdenv.lib; { 46 + meta = with lib; { 47 47 description = "A tool to help with formatting git patches for review on mailing lists"; 48 48 longDescription = '' 49 49 git series tracks changes to a patch series over time. git
+2 -2
pkgs/development/tools/github/cligh/default.nix
··· 1 - { stdenv, fetchFromGitHub, buildPythonApplication, pyxdg, PyGithub }: 1 + { lib, stdenv, fetchFromGitHub, buildPythonApplication, pyxdg, PyGithub }: 2 2 3 3 buildPythonApplication rec { 4 4 pname = "cligh"; ··· 15 15 16 16 propagatedBuildInputs = [ pyxdg PyGithub ]; 17 17 18 - meta = with stdenv.lib; { 18 + meta = with lib; { 19 19 homepage = "http://the-brannons.com/software/cligh.html"; 20 20 description = "A simple command-line interface to the facilities of Github"; 21 21 longDescription = ''
+2 -2
pkgs/development/tools/github/github-release/default.nix
··· 1 - { stdenv, system, fetchurl }: 1 + { lib, stdenv, system, fetchurl }: 2 2 3 3 let 4 4 linuxPredicate = system == "x86_64-linux"; ··· 36 36 cp "${metadata.archiveBinaryPath}/github-release" "$out/bin/" 37 37 ''; 38 38 39 - meta = with stdenv.lib; { 39 + meta = with lib; { 40 40 description = "Commandline app to create and edit releases on Github (and upload artifacts)"; 41 41 longDescription = '' 42 42 A small commandline app written in Go that allows you to easily create and
+1 -1
pkgs/development/tools/glade/default.nix
··· 26 26 version = "3.38.2"; 27 27 28 28 src = fetchurl { 29 - url = "mirror://gnome/sources/glade/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 29 + url = "mirror://gnome/sources/glade/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 30 30 sha256 = "1dxsiz9ahqkxg2a1dw9sbd8jg59y5pdz4c1gvnbmql48gmj8gz4q"; 31 31 }; 32 32
+2 -2
pkgs/development/tools/glide/default.nix
··· 1 - { stdenv, buildGoPackage, fetchFromGitHub }: 1 + { lib, stdenv, buildGoPackage, fetchFromGitHub }: 2 2 3 3 buildGoPackage rec { 4 4 pname = "glide"; ··· 18 18 sha256 = "1wskg1cxqy9sp0738qiiagdw09dbs3swxsk4z6w5hsfiq2h44a54"; 19 19 }; 20 20 21 - meta = with stdenv.lib; { 21 + meta = with lib; { 22 22 homepage = "https://glide.sh"; 23 23 description = "Package management for Go"; 24 24 license = licenses.mit;
+2 -2
pkgs/development/tools/gllvm/default.nix
··· 1 - { stdenv, buildGoPackage, fetchFromGitHub }: 1 + { lib, stdenv, buildGoPackage, fetchFromGitHub }: 2 2 3 3 buildGoPackage rec { 4 4 pname = "gllvm"; ··· 13 13 sha256 = "15cgngvd9mg057iz32fk5kcprcvvavahbvfvl5ds8x7shbm60g7s"; 14 14 }; 15 15 16 - meta = with stdenv.lib; { 16 + meta = with lib; { 17 17 homepage = "https://github.com/SRI-CSL/gllvm"; 18 18 description = "Whole Program LLVM: wllvm ported to go"; 19 19 license = licenses.bsd3;
+3 -3
pkgs/development/tools/glock/default.nix
··· 1 - { stdenv, buildGoPackage, fetchFromGitHub }: 1 + { lib, stdenv, buildGoPackage, fetchFromGitHub }: 2 2 3 3 buildGoPackage rec { 4 4 pname = "glock"; 5 - version = "20160816-${stdenv.lib.strings.substring 0 7 rev}"; 5 + version = "20160816-${lib.strings.substring 0 7 rev}"; 6 6 rev = "b8c84ff5ade15a6238ca61c20d3afc70d2e41276"; 7 7 8 8 goPackagePath = "github.com/robfig/glock"; ··· 16 16 17 17 goDeps = ./deps.nix; 18 18 19 - meta = with stdenv.lib; { 19 + meta = with lib; { 20 20 homepage = "https://github.com/robfig/glock"; 21 21 description = "A command-line tool to lock Go dependencies to specific revisions"; 22 22 license = licenses.mit;
+3 -3
pkgs/development/tools/glslviewer/default.nix
··· 1 - { stdenv, fetchFromGitHub, glfw, pkg-config, libXrandr, libXdamage 1 + { lib, stdenv, fetchFromGitHub, glfw, pkg-config, libXrandr, libXdamage 2 2 , libXext, libXrender, libXinerama, libXcursor, libXxf86vm, libXi 3 3 , libX11, libGLU, python3Packages, ensureNewerSourcesForZipFilesHook 4 4 , Cocoa ··· 21 21 libXext libXrender libXinerama libXcursor libXxf86vm 22 22 libXi libX11 23 23 ] ++ (with python3Packages; [ python setuptools wrapPython ]) 24 - ++ stdenv.lib.optional stdenv.isDarwin Cocoa; 24 + ++ lib.optional stdenv.isDarwin Cocoa; 25 25 pythonPath = with python3Packages; [ pyyaml requests ]; 26 26 27 27 # Makefile has /usr/local/bin hard-coded for 'make install' ··· 43 43 wrapPythonPrograms 44 44 ''; 45 45 46 - meta = with stdenv.lib; { 46 + meta = with lib; { 47 47 description = "Live GLSL coding renderer"; 48 48 homepage = "http://patriciogonzalezvivo.com/2015/glslViewer/"; 49 49 license = licenses.bsd3;
+2 -2
pkgs/development/tools/gnome-desktop-testing/default.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 , glib 3 3 , autoreconfHook 4 4 , pkg-config ··· 30 30 31 31 enableParallelBuilding = true; 32 32 33 - meta = with stdenv.lib; { 33 + meta = with lib; { 34 34 description = "GNOME test runner for installed tests"; 35 35 homepage = "https://wiki.gnome.org/Initiatives/GnomeGoals/InstalledTests"; 36 36 license = licenses.lgpl2Plus;
+3 -3
pkgs/development/tools/gnulib/default.nix
··· 1 - { stdenv, fetchgit }: 1 + { lib, stdenv, fetchgit }: 2 2 3 3 stdenv.mkDerivation { 4 4 pname = "gnulib"; ··· 22 22 meta = { 23 23 homepage = "https://www.gnu.org/software/gnulib/"; 24 24 description = "Central location for code to be shared among GNU packages"; 25 - license = stdenv.lib.licenses.gpl3Plus; 26 - platforms = stdenv.lib.platforms.unix; 25 + license = lib.licenses.gpl3Plus; 26 + platforms = lib.platforms.unix; 27 27 }; 28 28 }
+2 -2
pkgs/development/tools/go-bindata-assetfs/default.nix
··· 1 - { stdenv, buildGoPackage, fetchFromGitHub }: 1 + { lib, stdenv, buildGoPackage, fetchFromGitHub }: 2 2 3 3 buildGoPackage rec { 4 4 pname = "go-bindata-assetfs"; ··· 13 13 sha256 = "0b6q8h9fwpgpkvml1j87wq9174g7px1dmskhm884drpvswda2djk"; 14 14 }; 15 15 16 - meta = with stdenv.lib; { 16 + meta = with lib; { 17 17 description = "Serve embedded files from jteeuwen/go-bindata"; 18 18 license = licenses.bsd2; 19 19 maintainers = with maintainers; [ avnik ];
+2 -2
pkgs/development/tools/go-bindata/default.nix
··· 1 - { stdenv, buildGoPackage, fetchFromGitHub }: 1 + { lib, stdenv, buildGoPackage, fetchFromGitHub }: 2 2 3 3 buildGoPackage { 4 4 pname = "go-bindata"; ··· 15 15 16 16 excludedPackages = "testdata"; 17 17 18 - meta = with stdenv.lib; { 18 + meta = with lib; { 19 19 homepage = "https://github.com/jteeuwen/go-bindata"; 20 20 description = "A small utility which generates Go code from any file, useful for embedding binary data in a Go program"; 21 21 maintainers = with maintainers; [ cstrahan ];
+2 -2
pkgs/development/tools/go-langserver/default.nix
··· 1 - { stdenv, buildGoPackage, fetchFromGitHub }: 1 + { lib, stdenv, buildGoPackage, fetchFromGitHub }: 2 2 3 3 buildGoPackage rec { 4 4 pname = "go-langserver"; ··· 14 14 sha256 = "1wv7xf81s3qi8xydxjkkp8vacdzrq8sbj04346fz73nsn85z0sgp"; 15 15 }; 16 16 17 - meta = with stdenv.lib; { 17 + meta = with lib; { 18 18 description = "A Go language server protocol server"; 19 19 homepage = "https://github.com/sourcegraph/go-langserver"; 20 20 license = licenses.mit;
+3 -3
pkgs/development/tools/go-outline/default.nix
··· 1 - { stdenv, buildGoPackage, fetchFromGitHub }: 1 + { lib, stdenv, buildGoPackage, fetchFromGitHub }: 2 2 3 3 buildGoPackage rec { 4 4 pname = "go-outline"; ··· 18 18 meta = { 19 19 description = "Utility to extract JSON representation of declarations from a Go source file"; 20 20 homepage = "https://github.com/ramya-rao-a/go-outline"; 21 - maintainers = with stdenv.lib.maintainers; [ vdemeester ]; 22 - license = stdenv.lib.licenses.mit; 21 + maintainers = with lib.maintainers; [ vdemeester ]; 22 + license = lib.licenses.mit; 23 23 }; 24 24 }
+2 -2
pkgs/development/tools/go-protobuf/default.nix
··· 1 - { stdenv, buildGoModule, fetchFromGitHub }: 1 + { lib, stdenv, buildGoModule, fetchFromGitHub }: 2 2 3 3 buildGoModule rec { 4 4 pname = "go-protobuf"; ··· 15 15 16 16 doCheck = false; 17 17 18 - meta = with stdenv.lib; { 18 + meta = with lib; { 19 19 homepage = "https://github.com/golang/protobuf"; 20 20 description = " Go bindings for protocol buffer"; 21 21 maintainers = with maintainers; [ lewo ];
+2 -2
pkgs/development/tools/go-repo-root/default.nix
··· 1 - { stdenv, buildGoPackage, fetchgit }: 1 + { lib, stdenv, buildGoPackage, fetchgit }: 2 2 3 3 buildGoPackage rec { 4 4 pname = "go-repo-root"; 5 - version = "20140911-${stdenv.lib.strings.substring 0 7 rev}"; 5 + version = "20140911-${lib.strings.substring 0 7 rev}"; 6 6 rev = "90041e5c7dc634651549f96814a452f4e0e680f9"; 7 7 8 8 goPackagePath = "github.com/cstrahan/go-repo-root";
+3 -3
pkgs/development/tools/go-symbols/default.nix
··· 1 - { stdenv, buildGoPackage, fetchFromGitHub }: 1 + { lib, stdenv, buildGoPackage, fetchFromGitHub }: 2 2 3 3 buildGoPackage rec { 4 4 pname = "go-symbols"; ··· 17 17 meta = { 18 18 description = "A utility for extracting a JSON representation of the package symbols from a go source tree"; 19 19 homepage = "https://github.com/acroca/go-symbols"; 20 - maintainers = with stdenv.lib.maintainers; [ vdemeester ]; 21 - license = stdenv.lib.licenses.mit; 20 + maintainers = with lib.maintainers; [ vdemeester ]; 21 + license = lib.licenses.mit; 22 22 }; 23 23 }
+2 -2
pkgs/development/tools/go2nix/default.nix
··· 1 - { stdenv, buildGoPackage, go-bindata, gotools, nix-prefetch-git, git, makeWrapper, 1 + { lib, stdenv, buildGoPackage, go-bindata, gotools, nix-prefetch-git, git, makeWrapper, 2 2 fetchFromGitHub }: 3 3 4 4 buildGoPackage rec { ··· 36 36 37 37 doCheck = false; # tries to access the net 38 38 39 - meta = with stdenv.lib; { 39 + meta = with lib; { 40 40 description = "Go apps packaging for Nix"; 41 41 homepage = "https://github.com/kamilchm/go2nix"; 42 42 license = licenses.mit;
+2 -2
pkgs/development/tools/goa/default.nix
··· 1 - { stdenv, buildGoPackage, fetchFromGitHub }: 1 + { lib, stdenv, buildGoPackage, fetchFromGitHub }: 2 2 3 3 buildGoPackage rec { 4 4 pname = "goa"; ··· 16 16 17 17 goDeps = ./deps.nix; 18 18 19 - meta = with stdenv.lib; { 19 + meta = with lib; { 20 20 homepage = "https://goa.design"; 21 21 description = "A framework for building microservices in Go using a unique design-first approach"; 22 22 license = licenses.mit;
+2 -2
pkgs/development/tools/gocode-gomod/default.nix
··· 1 - { stdenv, buildGoModule, fetchFromGitHub }: 1 + { lib, stdenv, buildGoModule, fetchFromGitHub }: 2 2 3 3 buildGoModule rec { 4 4 pname = "gocode-gomod"; ··· 24 24 mv $out/bin/gocode $out/bin/gocode-gomod 25 25 ''; 26 26 27 - meta = with stdenv.lib; { 27 + meta = with lib; { 28 28 description = "An autocompletion daemon for the Go programming language"; 29 29 longDescription = '' 30 30 Gocode is a helper tool which is intended to be integrated with your
+2 -2
pkgs/development/tools/gocode/default.nix
··· 1 - { stdenv, buildGoPackage, fetchFromGitHub }: 1 + { lib, stdenv, buildGoPackage, fetchFromGitHub }: 2 2 3 3 buildGoPackage rec { 4 4 pname = "gocode-unstable"; ··· 23 23 24 24 goDeps = ./deps.nix; 25 25 26 - meta = with stdenv.lib; { 26 + meta = with lib; { 27 27 description = "An autocompletion daemon for the Go programming language"; 28 28 longDescription = '' 29 29 Gocode is a helper tool which is intended to be integrated with your
+3 -3
pkgs/development/tools/goconvey/default.nix
··· 1 - { stdenv, buildGoPackage, fetchFromGitHub }: 1 + { lib, stdenv, buildGoPackage, fetchFromGitHub }: 2 2 3 3 buildGoPackage rec { 4 4 pname = "goconvey"; ··· 19 19 meta = { 20 20 description = "Go testing in the browser. Integrates with `go test`. Write behavioral tests in Go"; 21 21 homepage = "https://github.com/smartystreets/goconvey"; 22 - maintainers = with stdenv.lib.maintainers; [ vdemeester ]; 23 - license = stdenv.lib.licenses.mit; 22 + maintainers = with lib.maintainers; [ vdemeester ]; 23 + license = lib.licenses.mit; 24 24 }; 25 25 }
+3 -3
pkgs/development/tools/godef/default.nix
··· 1 - { stdenv, buildGoModule, fetchFromGitHub }: 1 + { lib, stdenv, buildGoModule, fetchFromGitHub }: 2 2 3 3 buildGoModule rec { 4 4 pname = "godef"; ··· 21 21 meta = { 22 22 description = "Print where symbols are defined in Go source code"; 23 23 homepage = "https://github.com/rogpeppe/godef/"; 24 - maintainers = with stdenv.lib.maintainers; [ vdemeester rvolosatovs ]; 25 - license = stdenv.lib.licenses.bsd3; 24 + maintainers = with lib.maintainers; [ vdemeester rvolosatovs ]; 25 + license = lib.licenses.bsd3; 26 26 }; 27 27 }
+2 -2
pkgs/development/tools/godot/default.nix
··· 61 61 meta = { 62 62 homepage = "https://godotengine.org"; 63 63 description = "Free and Open Source 2D and 3D game engine"; 64 - license = stdenv.lib.licenses.mit; 64 + license = lib.licenses.mit; 65 65 platforms = [ "i686-linux" "x86_64-linux" ]; 66 - maintainers = [ stdenv.lib.maintainers.twey ]; 66 + maintainers = [ lib.maintainers.twey ]; 67 67 }; 68 68 }
+2 -2
pkgs/development/tools/godot/headless.nix
··· 1 - { godot, stdenv }: 1 + { godot, lib, stdenv }: 2 2 godot.overrideAttrs (oldAttrs: rec { 3 3 pname = "godot-headless"; 4 4 sconsFlags = "target=release_debug platform=server tools=yes"; ··· 14 14 ''; 15 15 meta.description = 16 16 "Free and Open Source 2D and 3D game engine (headless build)"; 17 - meta.maintainers = with stdenv.lib.maintainers; [ twey yusdacra ]; 17 + meta.maintainers = with lib.maintainers; [ twey yusdacra ]; 18 18 })
+2 -2
pkgs/development/tools/godot/server.nix
··· 1 - { godot, stdenv }: 1 + { godot, lib, stdenv }: 2 2 godot.overrideAttrs (oldAttrs: rec { 3 3 pname = "godot-server"; 4 4 sconsFlags = "target=release platform=server tools=no"; ··· 14 14 ''; 15 15 meta.description = 16 16 "Free and Open Source 2D and 3D game engine (server build)"; 17 - meta.maintainers = with stdenv.lib.maintainers; [ twey yusdacra ]; 17 + meta.maintainers = with lib.maintainers; [ twey yusdacra ]; 18 18 })
+3 -3
pkgs/development/tools/golint/default.nix
··· 1 - { stdenv, buildGoPackage, fetchgit }: 1 + { lib, stdenv, buildGoPackage, fetchgit }: 2 2 3 3 buildGoPackage rec { 4 4 pname = "lint"; 5 - version = "20181026-${stdenv.lib.strings.substring 0 7 rev}"; 5 + version = "20181026-${lib.strings.substring 0 7 rev}"; 6 6 rev = "c67002cb31c3a748b7688c27f20d8358b4193582"; 7 7 8 8 goPackagePath = "golang.org/x/lint"; ··· 20 20 21 21 goDeps = ./deps.nix; 22 22 23 - meta = with stdenv.lib; { 23 + meta = with lib; { 24 24 homepage = "https://golang.org"; 25 25 description = "Linter for Go source code"; 26 26 license = licenses.bsd3;
+3 -3
pkgs/development/tools/gomodifytags/default.nix
··· 1 - { stdenv, buildGoModule, fetchFromGitHub }: 1 + { lib, stdenv, buildGoModule, fetchFromGitHub }: 2 2 3 3 buildGoModule rec { 4 4 pname = "gomodifytags"; ··· 18 18 meta = { 19 19 description = "Go tool to modify struct field tags"; 20 20 homepage = "https://github.com/fatih/gomodifytags"; 21 - maintainers = with stdenv.lib.maintainers; [ vdemeester ]; 22 - license = stdenv.lib.licenses.bsd3; 21 + maintainers = with lib.maintainers; [ vdemeester ]; 22 + license = lib.licenses.bsd3; 23 23 }; 24 24 }
+2 -2
pkgs/development/tools/google-app-engine-go-sdk/default.nix
··· 1 - { stdenv, fetchzip, python3Packages, makeWrapper }: 1 + { lib, stdenv, fetchzip, python3Packages, makeWrapper }: 2 2 3 3 with python3Packages; 4 4 ··· 31 31 done 32 32 ''; 33 33 34 - meta = with stdenv.lib; { 34 + meta = with lib; { 35 35 description = "Google App Engine SDK for Go"; 36 36 version = version; 37 37 homepage = "https://cloud.google.com/appengine/docs/go/";
+3 -3
pkgs/development/tools/gopkgs/default.nix
··· 1 - { stdenv, buildGoModule, fetchFromGitHub }: 1 + { lib, stdenv, buildGoModule, fetchFromGitHub }: 2 2 3 3 buildGoModule rec { 4 4 pname = "gopkgs"; ··· 20 20 meta = { 21 21 description = "Tool to get list available Go packages"; 22 22 homepage = "https://github.com/uudashr/gopkgs"; 23 - maintainers = with stdenv.lib.maintainers; [ vdemeester ]; 24 - license = stdenv.lib.licenses.mit; 23 + maintainers = with lib.maintainers; [ vdemeester ]; 24 + license = lib.licenses.mit; 25 25 }; 26 26 }
+2 -2
pkgs/development/tools/gosec/default.nix
··· 1 - { stdenv, buildGoModule, fetchFromGitHub }: 1 + { lib, stdenv, buildGoModule, fetchFromGitHub }: 2 2 3 3 buildGoModule rec { 4 4 pname = "gosec"; ··· 19 19 20 20 buildFlagsArray = [ "-ldflags=-s -w -X main.Version=${version} -X main.GitTag=${src.rev} -X main.BuildDate=unknown" ]; 21 21 22 - meta = with stdenv.lib; { 22 + meta = with lib; { 23 23 homepage = "https://github.com/securego/gosec"; 24 24 description = "Golang security checker"; 25 25 license = licenses.asl20;
+2 -2
pkgs/development/tools/gotags/default.nix
··· 1 - { stdenv, buildGoPackage, fetchgit }: 1 + { lib, stdenv, buildGoPackage, fetchgit }: 2 2 3 3 buildGoPackage rec { 4 4 pname = "gotags"; 5 - version = "20150803-${stdenv.lib.strings.substring 0 7 rev}"; 5 + version = "20150803-${lib.strings.substring 0 7 rev}"; 6 6 rev = "be986a34e20634775ac73e11a5b55916085c48e7"; 7 7 8 8 goPackagePath = "github.com/jstemmer/gotags";
+3 -3
pkgs/development/tools/gotests/default.nix
··· 1 - { stdenv, buildGoPackage, fetchFromGitHub }: 1 + { lib, stdenv, buildGoPackage, fetchFromGitHub }: 2 2 3 3 buildGoPackage rec { 4 4 pname = "gotests"; ··· 19 19 meta = { 20 20 description = "Generate Go tests from your source code"; 21 21 homepage = "https://github.com/cweill/gotests"; 22 - maintainers = with stdenv.lib.maintainers; [ vdemeester ]; 23 - license = stdenv.lib.licenses.asl20; 22 + maintainers = with lib.maintainers; [ vdemeester ]; 23 + license = lib.licenses.asl20; 24 24 }; 25 25 }
+2 -2
pkgs/development/tools/gotools/default.nix
··· 1 - { stdenv, buildGoModule, fetchgit }: 1 + { lib, stdenv, buildGoModule, fetchgit }: 2 2 3 3 buildGoModule rec { 4 4 pname = "gotools-unstable"; ··· 40 40 ''; 41 41 42 42 excludedPackages = "\\(" 43 - + stdenv.lib.concatStringsSep "\\|" ([ "testdata" "vet" "cover" ]) 43 + + lib.concatStringsSep "\\|" ([ "testdata" "vet" "cover" ]) 44 44 + "\\)"; 45 45 46 46 # Set GOTOOLDIR for derivations adding this to buildInputs
+2 -2
pkgs/development/tools/govendor/default.nix
··· 1 - { stdenv, buildGoPackage, fetchFromGitHub }: 1 + { lib, stdenv, buildGoPackage, fetchFromGitHub }: 2 2 3 3 buildGoPackage rec { 4 4 pname = "govendor"; ··· 13 13 sha256 = "0g02cd25chyijg0rzab4xr627pkvk5k33mscd6r0gf1v5xvadcfq"; 14 14 }; 15 15 16 - meta = with stdenv.lib; { 16 + meta = with lib; { 17 17 homepage = "https://github.com/kardianos/govendor"; 18 18 description = "Go vendor tool that works with the standard vendor file"; 19 19 license = licenses.bsd3;
+2 -2
pkgs/development/tools/govers/default.nix
··· 1 - { stdenv, buildGoPackage, fetchgit }: 1 + { lib, stdenv, buildGoPackage, fetchgit }: 2 2 3 3 buildGoPackage rec { 4 4 pname = "govers"; 5 - version = "20160623-${stdenv.lib.strings.substring 0 7 rev}"; 5 + version = "20160623-${lib.strings.substring 0 7 rev}"; 6 6 rev = "77fd787551fc5e7ae30696e009e334d52d2d3a43"; 7 7 8 8 goPackagePath = "github.com/rogpeppe/govers";
+2 -2
pkgs/development/tools/gox/default.nix
··· 1 - { stdenv, buildGoPackage, fetchFromGitHub }: 1 + { lib, stdenv, buildGoPackage, fetchFromGitHub }: 2 2 3 3 buildGoPackage rec { 4 4 pname = "gox"; ··· 13 13 sha256 = "0mkh81hd7kn45dz7b6yhzqsg2mvg1g6pwx89jjigxrnqhyg9vrl7"; 14 14 }; 15 15 16 - meta = with stdenv.lib; { 16 + meta = with lib; { 17 17 homepage = "https://github.com/mitchellh/gox"; 18 18 description = "A dead simple, no frills Go cross compile tool"; 19 19 license = licenses.mpl20;
+2 -2
pkgs/development/tools/gpp/default.nix
··· 1 - { stdenv, fetchFromGitHub, autoreconfHook }: 1 + { lib, stdenv, fetchFromGitHub, autoreconfHook }: 2 2 3 3 stdenv.mkDerivation { 4 4 pname = "gpp"; ··· 16 16 installCheckPhase = "$out/bin/gpp --help"; 17 17 doInstallCheck = true; 18 18 19 - meta = with stdenv.lib; { 19 + meta = with lib; { 20 20 description = "General-purpose preprocessor with customizable syntax"; 21 21 homepage = "https://logological.org/gpp"; 22 22 license = licenses.lgpl3;
+2 -2
pkgs/development/tools/gron/default.nix
··· 1 - { stdenv, buildGoPackage, fetchFromGitHub }: 1 + { lib, stdenv, buildGoPackage, fetchFromGitHub }: 2 2 3 3 buildGoPackage rec { 4 4 pname = "gron"; ··· 16 16 17 17 goDeps = ./deps.nix; 18 18 19 - meta = with stdenv.lib; { 19 + meta = with lib; { 20 20 description = "Make JSON greppable!"; 21 21 longDescription = '' 22 22 gron transforms JSON into discrete assignments to make it easier to grep
+2 -2
pkgs/development/tools/guile/g-wrap/default.nix
··· 1 - { fetchurl, stdenv, guile, guile-lib, libffi, pkg-config, glib }: 1 + { fetchurl, lib, stdenv, guile, guile-lib, libffi, pkg-config, glib }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "g-wrap"; ··· 19 19 20 20 doCheck = true; 21 21 22 - meta = with stdenv.lib; { 22 + meta = with lib; { 23 23 description = "A wrapper generator for Guile"; 24 24 longDescription = '' 25 25 G-Wrap is a tool (and Guile library) for generating function wrappers for
+2 -2
pkgs/development/tools/guile/guile-lint/default.nix
··· 1 - { stdenv, fetchurl, guile }: 1 + { lib, stdenv, fetchurl, guile }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "guile-lint"; ··· 20 20 21 21 doCheck = !stdenv.isDarwin; 22 22 23 - meta = with stdenv.lib; { 23 + meta = with lib; { 24 24 description = "Checks syntax and semantics in a Guile program or module"; 25 25 homepage = "https://user42.tuxfamily.org/guile-lint/index.html"; 26 26 license = licenses.gpl3Plus;
+2 -2
pkgs/development/tools/haskell/dconf2nix/dconf2nix.nix
··· 1 1 { mkDerivation, base, containers, fetchgit, hedgehog 2 - , optparse-applicative, parsec, stdenv, template-haskell, text 2 + , optparse-applicative, parsec, lib, stdenv, template-haskell, text 3 3 }: 4 4 mkDerivation { 5 5 pname = "dconf2nix"; ··· 20 20 base containers hedgehog parsec template-haskell text 21 21 ]; 22 22 description = "Convert dconf files to Nix, as expected by Home Manager"; 23 - license = stdenv.lib.licenses.asl20; 23 + license = lib.licenses.asl20; 24 24 }
+2 -2
pkgs/development/tools/haskell/haskell-language-server/default.nix
··· 7 7 , hls-tactics-plugin, hslogger, hspec, hspec-core 8 8 , hspec-expectations, lens, lsp-test, mtl, optparse-applicative 9 9 , optparse-simple, ormolu, process, regex-tdfa, safe-exceptions 10 - , shake, stdenv, stm, stylish-haskell, tasty, tasty-ant-xml 10 + , shake, lib, stdenv, stm, stylish-haskell, tasty, tasty-ant-xml 11 11 , tasty-expected-failure, tasty-golden, tasty-hunit, tasty-rerun 12 12 , temporary, text, transformers, unordered-containers, with-utf8 13 13 , yaml ··· 49 49 testToolDepends = [ ghcide ]; 50 50 homepage = "https://github.com/haskell/haskell-language-server#readme"; 51 51 description = "LSP server for GHC"; 52 - license = stdenv.lib.licenses.asl20; 52 + license = lib.licenses.asl20; 53 53 }
+2 -2
pkgs/development/tools/haskell/haskell-language-server/hls-class-plugin.nix
··· 1 1 { mkDerivation, aeson, base, containers, fetchgit, ghc 2 2 , ghc-exactprint, ghcide, haskell-lsp, hls-plugin-api, lens, shake 3 - , stdenv, text, transformers, unordered-containers 3 + , lib, stdenv, text, transformers, unordered-containers 4 4 }: 5 5 mkDerivation { 6 6 pname = "hls-class-plugin"; ··· 17 17 hls-plugin-api lens shake text transformers unordered-containers 18 18 ]; 19 19 description = "Explicit imports plugin for Haskell Language Server"; 20 - license = stdenv.lib.licenses.asl20; 20 + license = lib.licenses.asl20; 21 21 }
+2 -2
pkgs/development/tools/haskell/haskell-language-server/hls-eval-plugin.nix
··· 2 2 , extra, fetchgit, filepath, ghc, ghc-boot-th, ghc-paths, ghcide 3 3 , hashable, haskell-lsp, haskell-lsp-types, hls-plugin-api 4 4 , parser-combinators, pretty-simple, QuickCheck, safe-exceptions 5 - , shake, stdenv, temporary, text, time, transformers 5 + , shake, lib, stdenv, temporary, text, time, transformers 6 6 , unordered-containers 7 7 }: 8 8 mkDerivation { ··· 23 23 unordered-containers 24 24 ]; 25 25 description = "Eval plugin for Haskell Language Server"; 26 - license = stdenv.lib.licenses.asl20; 26 + license = lib.licenses.asl20; 27 27 }
+2 -2
pkgs/development/tools/haskell/haskell-language-server/hls-explicit-imports-plugin.nix
··· 1 1 { mkDerivation, aeson, base, containers, deepseq, fetchgit, ghc 2 - , ghcide, haskell-lsp-types, hls-plugin-api, shake, stdenv, text 2 + , ghcide, haskell-lsp-types, hls-plugin-api, shake, lib, stdenv, text 3 3 , unordered-containers 4 4 }: 5 5 mkDerivation { ··· 17 17 hls-plugin-api shake text unordered-containers 18 18 ]; 19 19 description = "Explicit imports plugin for Haskell Language Server"; 20 - license = stdenv.lib.licenses.asl20; 20 + license = lib.licenses.asl20; 21 21 }
+2 -2
pkgs/development/tools/haskell/haskell-language-server/hls-hlint-plugin.nix
··· 2 2 , containers, data-default, deepseq, Diff, directory, extra 3 3 , fetchgit, filepath, ghc, ghc-lib, ghc-lib-parser-ex, ghcide 4 4 , hashable, haskell-lsp, hlint, hls-plugin-api, hslogger, lens 5 - , regex-tdfa, shake, stdenv, temporary, text, transformers 5 + , regex-tdfa, shake, lib, stdenv, temporary, text, transformers 6 6 , unordered-containers 7 7 }: 8 8 mkDerivation { ··· 22 22 regex-tdfa shake temporary text transformers unordered-containers 23 23 ]; 24 24 description = "Hlint integration plugin with Haskell Language Server"; 25 - license = stdenv.lib.licenses.asl20; 25 + license = lib.licenses.asl20; 26 26 }
+2 -2
pkgs/development/tools/haskell/haskell-language-server/hls-retrie-plugin.nix
··· 1 1 { mkDerivation, aeson, base, containers, deepseq, directory, extra 2 2 , fetchgit, ghc, ghcide, hashable, haskell-lsp, haskell-lsp-types 3 - , hls-plugin-api, retrie, safe-exceptions, shake, stdenv, text 3 + , hls-plugin-api, retrie, safe-exceptions, shake, lib, stdenv, text 4 4 , transformers, unordered-containers 5 5 }: 6 6 mkDerivation { ··· 19 19 shake text transformers unordered-containers 20 20 ]; 21 21 description = "Retrie integration plugin for Haskell Language Server"; 22 - license = stdenv.lib.licenses.asl20; 22 + license = lib.licenses.asl20; 23 23 }
+2 -2
pkgs/development/tools/haskell/haskell-language-server/hls-tactics-plugin.nix
··· 2 2 , directory, extra, fetchgit, filepath, fingertree, generic-lens 3 3 , ghc, ghc-boot-th, ghc-exactprint, ghc-source-gen, ghcide 4 4 , haskell-lsp, hie-bios, hls-plugin-api, hspec, hspec-discover 5 - , lens, mtl, QuickCheck, refinery, retrie, shake, stdenv, syb, text 5 + , lens, mtl, QuickCheck, refinery, retrie, shake, lib, stdenv, syb, text 6 6 , transformers 7 7 }: 8 8 mkDerivation { ··· 28 28 testToolDepends = [ hspec-discover ]; 29 29 description = "Tactics plugin for Haskell Language Server"; 30 30 license = "unknown"; 31 - hydraPlatforms = stdenv.lib.platforms.none; 31 + hydraPlatforms = lib.platforms.none; 32 32 }
+3 -3
pkgs/development/tools/haskell/hyper-haskell/default.nix
··· 1 - { stdenv, fetchFromGitHub, jshon, electron_3 1 + { lib, stdenv, fetchFromGitHub, jshon, electron_3 2 2 , runtimeShell, hyper-haskell-server, extra-packages ? [] }: 3 3 4 4 let 5 - binPath = stdenv.lib.makeBinPath ([ hyper-haskell-server ] ++ extra-packages); 5 + binPath = lib.makeBinPath ([ hyper-haskell-server ] ++ extra-packages); 6 6 electron = electron_3; 7 7 in stdenv.mkDerivation rec { 8 8 pname = "hyper-haskell"; ··· 42 42 chmod 755 $out/bin/hyper-haskell 43 43 ''; 44 44 45 - meta = with stdenv.lib; { 45 + meta = with lib; { 46 46 description = "The strongly hyped graphical interpreter for the Haskell programming language"; 47 47 homepage = "https://github.com/HeinrichApfelmus/hyper-haskell"; 48 48 license = licenses.bsd3;
+2 -2
pkgs/development/tools/haskell/ihaskell/wrapper.nix
··· 1 - { stdenv, writeScriptBin, makeWrapper, buildEnv, haskell, ghcWithPackages, jupyter, packages }: 1 + { lib, stdenv, writeScriptBin, makeWrapper, buildEnv, haskell, ghcWithPackages, jupyter, packages }: 2 2 let 3 3 ihaskellEnv = ghcWithPackages (self: [ 4 4 self.ihaskell ··· 9 9 ihaskellSh = writeScriptBin "ihaskell-notebook" '' 10 10 #! ${stdenv.shell} 11 11 export GHC_PACKAGE_PATH="$(echo ${ihaskellEnv}/lib/*/package.conf.d| tr ' ' ':'):$GHC_PACKAGE_PATH" 12 - export PATH="${stdenv.lib.makeBinPath ([ ihaskellEnv jupyter ])}''${PATH:+:}$PATH" 12 + export PATH="${lib.makeBinPath ([ ihaskellEnv jupyter ])}''${PATH:+:}$PATH" 13 13 ${ihaskellEnv}/bin/ihaskell install -l $(${ihaskellEnv}/bin/ghc --print-libdir) && ${jupyter}/bin/jupyter notebook 14 14 ''; 15 15 in
+3 -3
pkgs/development/tools/haskell/vaultenv/default.nix
··· 1 1 { mkDerivation, async, base, bytestring, connection, containers 2 2 , directory, hpack, hspec, hspec-discover, hspec-expectations 3 3 , http-client, http-conduit, lens, lens-aeson, megaparsec, mtl 4 - , optparse-applicative, parser-combinators, retry, stdenv, text 4 + , optparse-applicative, parser-combinators, retry, lib, stdenv, text 5 5 , unix, unordered-containers, utf8-string, fetchzip, dotenv 6 6 }: 7 7 mkDerivation rec { ··· 37 37 preConfigure = "hpack"; 38 38 homepage = "https://github.com/channable/vaultenv#readme"; 39 39 description = "Runs processes with secrets from HashiCorp Vault"; 40 - license = stdenv.lib.licenses.bsd3; 41 - maintainers = with stdenv.lib.maintainers; [ lnl7 manveru ]; 40 + license = lib.licenses.bsd3; 41 + maintainers = with lib.maintainers; [ lnl7 manveru ]; 42 42 }
+3 -3
pkgs/development/tools/hcloud/default.nix
··· 1 - { stdenv, buildGoModule, fetchFromGitHub, installShellFiles }: 1 + { lib, stdenv, buildGoModule, fetchFromGitHub, installShellFiles }: 2 2 3 3 buildGoModule rec { 4 4 pname = "hcloud"; ··· 29 29 meta = { 30 30 description = "A command-line interface for Hetzner Cloud, a provider for cloud virtual private servers"; 31 31 homepage = "https://github.com/hetznercloud/cli"; 32 - license = stdenv.lib.licenses.mit; 33 - maintainers = [ stdenv.lib.maintainers.zauberpony ]; 32 + license = lib.licenses.mit; 33 + maintainers = [ lib.maintainers.zauberpony ]; 34 34 }; 35 35 }
+3 -3
pkgs/development/tools/hexio/default.nix
··· 1 - { stdenv, fetchFromGitHub, python, pcsclite, pth }: 1 + { lib, stdenv, fetchFromGitHub, python, pcsclite, pth }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "hexio"; ··· 16 16 17 17 patchPhase = '' 18 18 substituteInPlace Makefile \ 19 - --replace '-I/usr/local/include/PCSC/' '-I${stdenv.lib.getDev pcsclite}/include/PCSC/' \ 19 + --replace '-I/usr/local/include/PCSC/' '-I${lib.getDev pcsclite}/include/PCSC/' \ 20 20 --replace '-L/usr/local/lib/pth' '-I${pth}/lib/' 21 21 ''; 22 22 ··· 26 26 make DESTDIR=$out PREFIX=/ install 27 27 ''; 28 28 29 - meta = with stdenv.lib; { 29 + meta = with lib; { 30 30 description = "Low-level I/O helpers for hexadecimal, tty/serial devices and so on"; 31 31 homepage = "https://github.com/vanrein/hexio"; 32 32 license = licenses.bsd2;
+2 -2
pkgs/development/tools/iaca/2.1.nix
··· 1 - { stdenv, makeWrapper, requireFile, gcc, unzip }: 2 - with stdenv.lib; 1 + { lib, stdenv, makeWrapper, requireFile, gcc, unzip }: 2 + with lib; 3 3 4 4 # v2.1: last version with NHM/WSM arch support 5 5 stdenv.mkDerivation {
+2 -2
pkgs/development/tools/iaca/3.0.nix
··· 1 - { stdenv, requireFile, unzip }: 2 - with stdenv.lib; 1 + { lib, stdenv, requireFile, unzip }: 2 + with lib; 3 3 4 4 stdenv.mkDerivation { 5 5 name = "iaca-3.0";
+4 -4
pkgs/development/tools/icestorm/default.nix
··· 1 - { stdenv, fetchFromGitHub 1 + { lib, stdenv, fetchFromGitHub 2 2 , pkg-config, libftdi1 3 3 , python3, pypy3 4 4 ··· 63 63 creating bitstream files. 64 64 ''; 65 65 homepage = "http://www.clifford.at/icestorm/"; 66 - license = stdenv.lib.licenses.isc; 67 - maintainers = with stdenv.lib.maintainers; [ shell thoughtpolice emily ]; 68 - platforms = stdenv.lib.platforms.all; 66 + license = lib.licenses.isc; 67 + maintainers = with lib.maintainers; [ shell thoughtpolice emily ]; 68 + platforms = lib.platforms.all; 69 69 }; 70 70 }
+1 -1
pkgs/development/tools/icr/default.nix
··· 26 26 --prefix PATH : ${lib.makeBinPath [ crystal shards makeWrapper which ]} 27 27 ''; 28 28 29 - meta = with stdenv.lib; { 29 + meta = with lib; { 30 30 description = "Interactive console for the Crystal programming language"; 31 31 homepage = "https://github.com/crystal-community/icr"; 32 32 license = licenses.mit;
+2 -2
pkgs/development/tools/imatix_gsl/default.nix
··· 1 - { stdenv, fetchFromGitHub, pcre } : 1 + { lib, stdenv, fetchFromGitHub, pcre } : 2 2 3 3 stdenv.mkDerivation { 4 4 pname = "imatix_gsl"; ··· 19 19 preBuild = "cd src"; 20 20 installFlags = [ "DESTDIR=$(out)" ]; 21 21 22 - meta = with stdenv.lib; { 22 + meta = with lib; { 23 23 license = licenses.gpl3Plus; 24 24 homepage = "https://github.com/imatix/gsl/"; 25 25 description = "A universal code generator";
+2 -2
pkgs/development/tools/irony-server/default.nix
··· 1 - { stdenv, cmake, llvmPackages, irony }: 1 + { lib, stdenv, cmake, llvmPackages, irony }: 2 2 3 3 stdenv.mkDerivation { 4 4 pname = "irony-server"; ··· 15 15 "-DCMAKE_PREFIX_PATH=${llvmPackages.clang-unwrapped}" 16 16 ]; 17 17 18 - meta = with stdenv.lib; { 18 + meta = with lib; { 19 19 description = "The server part of irony"; 20 20 homepage = "https://melpa.org/#/irony"; 21 21 maintainers = [ maintainers.deepfire ];
+2 -2
pkgs/development/tools/java/cfr/default.nix
··· 1 - { stdenv, makeWrapper, fetchurl, jre }: 1 + { lib, stdenv, makeWrapper, fetchurl, jre }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "cfr"; ··· 17 17 makeWrapper ${jre}/bin/java $out/bin/cfr --add-flags "-jar $jar" 18 18 ''; 19 19 20 - meta = with stdenv.lib; { 20 + meta = with lib; { 21 21 description = "Another java decompiler"; 22 22 longDescription = '' 23 23 CFR will decompile modern Java features - Java 8 lambdas (pre and post
+1 -1
pkgs/development/tools/java/dex2jar/default.nix
··· 34 34 done 35 35 ''; 36 36 37 - meta = with stdenv.lib; { 37 + meta = with lib; { 38 38 homepage = https://sourceforge.net/projects/dex2jar/; 39 39 description = "Tools to work with android .dex and java .class files"; 40 40 maintainers = with maintainers; [ makefu ];
+3 -3
pkgs/development/tools/java/fastjar/default.nix
··· 1 - { fetchurl, stdenv, zlib }: 1 + { fetchurl, lib, stdenv, zlib }: 2 2 3 3 let version = "0.98"; in 4 4 stdenv.mkDerivation { ··· 25 25 26 26 homepage = "https://savannah.nongnu.org/projects/fastjar/"; 27 27 28 - license = stdenv.lib.licenses.gpl2Plus; 29 - platforms = stdenv.lib.platforms.linux; 28 + license = lib.licenses.gpl2Plus; 29 + platforms = lib.platforms.linux; 30 30 maintainers = [ ]; 31 31 }; 32 32 }
+4 -4
pkgs/development/tools/java/jhiccup/default.nix
··· 1 - { stdenv, fetchzip }: 1 + { lib, stdenv, fetchzip }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "jhiccup"; ··· 29 29 meta = { 30 30 description = "Measure JVM application stalls and GC pauses"; 31 31 homepage = "https://www.azul.com/jhiccup/"; 32 - license = stdenv.lib.licenses.cc0; 33 - platforms = stdenv.lib.platforms.linux; 34 - maintainers = with stdenv.lib.maintainers; [ thoughtpolice ]; 32 + license = lib.licenses.cc0; 33 + platforms = lib.platforms.linux; 34 + maintainers = with lib.maintainers; [ thoughtpolice ]; 35 35 }; 36 36 }
+1 -1
pkgs/development/tools/java/visualvm/default.nix
··· 33 33 cp -r . $out 34 34 ''; 35 35 36 - meta = with stdenv.lib; { 36 + meta = with lib; { 37 37 description = "A visual interface for viewing information about Java applications"; 38 38 longDescription = '' 39 39 VisualVM is a visual tool integrating several commandline JDK
+2 -2
pkgs/development/tools/jbake/default.nix
··· 1 - { stdenv, fetchzip, makeWrapper, jre }: 1 + { lib, stdenv, fetchzip, makeWrapper, jre }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 version = "2.6.5"; ··· 25 25 ''; 26 26 doCheck = true; 27 27 28 - meta = with stdenv.lib; { 28 + meta = with lib; { 29 29 description = "Java based, open source, static site/blog generator for developers & designers"; 30 30 homepage = "https://jbake.org/"; 31 31 license = licenses.mit;
+1 -1
pkgs/development/tools/jbang/default.nix
··· 26 26 $out/bin/jbang --version 2>&1 | grep -q "${version}" 27 27 ''; 28 28 29 - meta = with stdenv.lib; { 29 + meta = with lib; { 30 30 description = "Run java as scripts anywhere"; 31 31 longDescription = '' 32 32 jbang uses the java language to build scripts similar to groovy scripts. Dependencies are automatically
+2 -2
pkgs/development/tools/jd/default.nix
··· 1 - { stdenv, buildGoPackage, fetchgit }: 1 + { lib, stdenv, buildGoPackage, fetchgit }: 2 2 3 3 buildGoPackage rec { 4 4 pname = "jd"; ··· 13 13 sha256 = "0dj4k38pf80dl77jns29vx2dj265s4ksg2q2s9n240b7b8z8mn5h"; 14 14 }; 15 15 16 - meta = with stdenv.lib; { 16 + meta = with lib; { 17 17 description = "Interactive JSON Editor"; 18 18 license = licenses.mit; 19 19 maintainers = [ maintainers.np ];
+3 -3
pkgs/development/tools/jid/default.nix
··· 1 - { stdenv, buildGoPackage, fetchFromGitHub }: 1 + { lib, stdenv, buildGoPackage, fetchFromGitHub }: 2 2 3 3 buildGoPackage rec { 4 4 pname = "jid"; ··· 18 18 meta = { 19 19 description = "A command-line tool to incrementally drill down JSON"; 20 20 homepage = "https://github.com/simeji/jid"; 21 - license = stdenv.lib.licenses.mit; 22 - maintainers = with stdenv.lib.maintainers; [ stesie ]; 21 + license = lib.licenses.mit; 22 + maintainers = with lib.maintainers; [ stesie ]; 23 23 }; 24 24 }
+2 -2
pkgs/development/tools/jira_cli/default.nix
··· 1 - { stdenv, libffi, openssl, python3Packages }: 1 + { lib, stdenv, libffi, openssl, python3Packages }: 2 2 let 3 3 inherit (python3Packages) fetchPypi buildPythonApplication vcrpy mock hiro; 4 4 in ··· 23 23 jira keyrings-alt 24 24 ]; 25 25 26 - meta = with stdenv.lib; { 26 + meta = with lib; { 27 27 description = "A command line interface to Jira"; 28 28 homepage = "https://github.com/alisaifee/jira-cli"; 29 29 maintainers = with maintainers; [ nyarly ];
+3 -3
pkgs/development/tools/jl/default.nix
··· 1 1 { mkDerivation, fetchFromGitHub, fetchpatch 2 2 , aeson, aeson-pretty, attoparsec, base, bytestring, conduit, conduit-extra 3 - , containers, exceptions, mtl, optparse-simple, parsec, scientific, stdenv 3 + , containers, exceptions, mtl, optparse-simple, parsec, scientific, lib, stdenv 4 4 , text, unordered-containers, vector 5 5 }: 6 6 mkDerivation rec { ··· 30 30 aeson aeson-pretty base bytestring conduit conduit-extra containers 31 31 mtl optparse-simple text vector 32 32 ]; 33 - license = stdenv.lib.licenses.bsd3; 33 + license = lib.licenses.bsd3; 34 34 description = "Functional sed for JSON"; 35 - maintainers = with stdenv.lib.maintainers; [ fgaz ]; 35 + maintainers = with lib.maintainers; [ fgaz ]; 36 36 homepage = "https://github.com/chrisdone/jl"; 37 37 }
+2 -2
pkgs/development/tools/jmespath/default.nix
··· 1 - { stdenv, buildGoPackage, fetchFromGitHub }: 1 + { lib, stdenv, buildGoPackage, fetchFromGitHub }: 2 2 3 3 buildGoPackage rec { 4 4 pname = "jmespath"; ··· 13 13 repo = "go-jmespath"; 14 14 sha256 = "0f4j0m44limnjd6q5fk152g6jq2a5cshcdms4p3a1br8pl9wp5fb"; 15 15 }; 16 - meta = with stdenv.lib; { 16 + meta = with lib; { 17 17 description = "A JMESPath implementation in Go"; 18 18 homepage = "https://github.com/jmespath/go-jmespath"; 19 19 maintainers = with maintainers; [ cransom ];
+2 -2
pkgs/development/tools/jo/default.nix
··· 1 - {stdenv, fetchFromGitHub, autoreconfHook, pandoc, pkg-config}: 1 + {lib, stdenv, fetchFromGitHub, autoreconfHook, pandoc, pkg-config}: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "jo"; ··· 15 15 16 16 nativeBuildInputs = [ autoreconfHook pandoc pkg-config ]; 17 17 18 - meta = with stdenv.lib; { 18 + meta = with lib; { 19 19 description = "A small utility to create JSON objects"; 20 20 homepage = "https://github.com/jpmens/jo"; 21 21 license = licenses.gpl2Plus;
+2 -2
pkgs/development/tools/jp/default.nix
··· 1 - { stdenv, buildGoPackage, fetchFromGitHub }: 1 + { lib, stdenv, buildGoPackage, fetchFromGitHub }: 2 2 3 3 buildGoPackage rec { 4 4 pname = "jp"; ··· 13 13 repo = "jp"; 14 14 sha256 = "0fdbnihbd0kq56am3bmh2zrfk4fqjslcbm48malbgmpqw3a5nvpi"; 15 15 }; 16 - meta = with stdenv.lib; { 16 + meta = with lib; { 17 17 description = "A command line interface to the JMESPath expression language for JSON"; 18 18 homepage = "https://github.com/jmespath/jp"; 19 19 maintainers = with maintainers; [ cransom ];
+3 -3
pkgs/development/tools/jq/default.nix
··· 1 - { stdenv, nixosTests, fetchurl, oniguruma }: 1 + { lib, stdenv, nixosTests, fetchurl, oniguruma }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "jq"; ··· 21 21 "--mandir=\${man}/share/man" 22 22 ] 23 23 # jq is linked to libjq: 24 - ++ stdenv.lib.optional (!stdenv.isDarwin) "LDFLAGS=-Wl,-rpath,\\\${libdir}"; 24 + ++ lib.optional (!stdenv.isDarwin) "LDFLAGS=-Wl,-rpath,\\\${libdir}"; 25 25 26 26 doInstallCheck = true; 27 27 installCheckTarget = "check"; ··· 32 32 33 33 passthru.tests = { inherit (nixosTests) jq; }; 34 34 35 - meta = with stdenv.lib; { 35 + meta = with lib; { 36 36 description = "A lightweight and flexible command-line JSON processor"; 37 37 license = licenses.mit; 38 38 maintainers = with maintainers; [ raskin globin ];
+2 -2
pkgs/development/tools/just/default.nix
··· 1 - { stdenv, fetchFromGitHub, rustPlatform, coreutils, bash, installShellFiles }: 1 + { lib, stdenv, fetchFromGitHub, rustPlatform, coreutils, bash, installShellFiles }: 2 2 3 3 rustPlatform.buildRustPackage rec { 4 4 pname = "just"; ··· 42 42 # Skip "choose" when running "cargo test", since this test case needs "fzf". 43 43 checkFlags = [ "--skip=choose" "--skip=edit" ]; 44 44 45 - meta = with stdenv.lib; { 45 + meta = with lib; { 46 46 description = "A handy way to save and run project-specific commands"; 47 47 homepage = "https://github.com/casey/just"; 48 48 license = licenses.cc0;
+2 -2
pkgs/development/tools/k6/default.nix
··· 1 - { stdenv, buildGoPackage, fetchFromGitHub }: 1 + { lib, stdenv, buildGoPackage, fetchFromGitHub }: 2 2 3 3 buildGoPackage rec { 4 4 pname = "k6"; ··· 15 15 16 16 subPackages = [ "./" ]; 17 17 18 - meta = with stdenv.lib; { 18 + meta = with lib; { 19 19 description = "A modern load testing tool, using Go and JavaScript"; 20 20 homepage = "https://k6.io/"; 21 21 changelog = "https://github.com/loadimpact/k6/releases/tag/v${version}";
+2 -2
pkgs/development/tools/kafkacat/default.nix
··· 1 - { stdenv, fetchFromGitHub, pkg-config, zlib, rdkafka, yajl }: 1 + { lib, stdenv, fetchFromGitHub, pkg-config, zlib, rdkafka, yajl }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "kafkacat"; ··· 20 20 patchShebangs ./configure 21 21 ''; 22 22 23 - meta = with stdenv.lib; { 23 + meta = with lib; { 24 24 description = "A generic non-JVM producer and consumer for Apache Kafka"; 25 25 homepage = "https://github.com/edenhill/kafkacat"; 26 26 license = licenses.bsd2;
+6 -6
pkgs/development/tools/kind/default.nix
··· 1 - { stdenv, buildGoModule, fetchFromGitHub, installShellFiles }: 1 + { lib, stdenv, buildGoModule, fetchFromGitHub, installShellFiles }: 2 2 3 - with stdenv.lib; 3 + with lib; 4 4 5 5 buildGoModule rec { 6 6 pname = "kind"; 7 - version = "0.9.0"; 7 + version = "0.10.0"; 8 8 9 9 src = fetchFromGitHub { 10 10 rev = "v${version}"; 11 11 owner = "kubernetes-sigs"; 12 12 repo = "kind"; 13 - sha256 = "1kyjmlp1kmr3lwylnya6w392j1qpqgbvcacwpnz3ifyh3pbv32qr"; 13 + sha256 = "1pp2x4bfqsd15siahyv9xkdyswsipmp9n86iwavrd0xhliqxlsa7"; 14 14 }; 15 15 16 - vendorSha256 = "04fmqh6lhvvzpvf1l2xk1r8687k5jx2lb5199rgmjbfnjgsa0q2d"; 16 + vendorSha256 = "0c0j4s8kfzk2b3hy0d2g5bp1zr60l6vnwnpynsg6ksv8spwnpl5m"; 17 17 18 18 doCheck = false; 19 19 ··· 31 31 description = "Kubernetes IN Docker - local clusters for testing Kubernetes"; 32 32 homepage = "https://github.com/kubernetes-sigs/kind"; 33 33 maintainers = with maintainers; [ offline rawkode ]; 34 - license = stdenv.lib.licenses.asl20; 34 + license = lib.licenses.asl20; 35 35 platforms = platforms.unix; 36 36 }; 37 37 }
+1 -1
pkgs/development/tools/krew/default.nix
··· 19 19 description = "Package manager for kubectl plugins"; 20 20 homepage = "https://github.com/kubernetes-sigs/krew"; 21 21 maintainers = with maintainers; [ vdemeester ]; 22 - license = stdenv.lib.licenses.asl20; 22 + license = lib.licenses.asl20; 23 23 platforms = platforms.unix; 24 24 }; 25 25 }
+2 -2
pkgs/development/tools/ktlint/default.nix
··· 1 - { stdenv, fetchurl, makeWrapper, jre_headless }: 1 + { lib, stdenv, fetchurl, makeWrapper, jre_headless }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "ktlint"; ··· 21 21 wrapProgram $out/bin/ktlint --prefix PATH : "${jre_headless}/bin" 22 22 ''; 23 23 24 - meta = with stdenv.lib; { 24 + meta = with lib; { 25 25 description = "An anti-bikeshedding Kotlin linter with built-in formatter"; 26 26 homepage = "https://ktlint.github.io/"; 27 27 license = licenses.mit;
+2 -2
pkgs/development/tools/kubectx/default.nix
··· 1 - { stdenv, buildGoModule, fetchFromGitHub, installShellFiles }: 1 + { lib, stdenv, buildGoModule, fetchFromGitHub, installShellFiles }: 2 2 3 3 buildGoModule rec { 4 4 pname = "kubectx"; ··· 21 21 installShellCompletion completion/* 22 22 ''; 23 23 24 - meta = with stdenv.lib; { 24 + meta = with lib; { 25 25 description = "Fast way to switch between clusters and namespaces in kubectl!"; 26 26 license = licenses.asl20; 27 27 homepage = "https://github.com/ahmetb/kubectx";
+5 -5
pkgs/development/tools/kubicorn/default.nix
··· 1 - { stdenv, buildGoPackage, fetchFromGitHub }: 1 + { lib, stdenv, buildGoPackage, fetchFromGitHub }: 2 2 3 - with stdenv.lib; 3 + with lib; 4 4 5 5 buildGoPackage rec { 6 6 pname = "kubicorn"; 7 - version = "2018-10-13-${stdenv.lib.strings.substring 0 7 rev}"; 7 + version = "2018-10-13-${lib.strings.substring 0 7 rev}"; 8 8 rev = "4c7f3623e9188fba43778271afe161a4facfb657"; 9 9 10 10 src = fetchFromGitHub { ··· 20 20 meta = { 21 21 description = "Simple, cloud native infrastructure for Kubernetes"; 22 22 homepage = "http://kubicorn.io/"; 23 - maintainers = with stdenv.lib.maintainers; [ offline ]; 24 - license = stdenv.lib.licenses.asl20; 23 + maintainers = with lib.maintainers; [ offline ]; 24 + license = lib.licenses.asl20; 25 25 }; 26 26 }
+1 -1
pkgs/development/tools/kubie/default.nix
··· 15 15 16 16 nativeBuildInputs = [ installShellFiles ]; 17 17 18 - buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ]; 18 + buildInputs = lib.optionals stdenv.isDarwin [ Security ]; 19 19 20 20 postInstall = '' 21 21 installShellCompletion completion/kubie.bash
+3 -3
pkgs/development/tools/kythe/default.nix
··· 1 - { stdenv, binutils , fetchurl, ncurses5 }: 1 + { lib, stdenv, binutils , fetchurl, ncurses5 }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 version = "0.0.30"; ··· 23 23 write_entries write_tables entrystream; do 24 24 echo "Patching:" $exe 25 25 patchelf --interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" $exe 26 - patchelf --set-rpath "${stdenv.lib.makeLibraryPath [ stdenv.cc.cc ncurses5 ]}" $exe 26 + patchelf --set-rpath "${lib.makeLibraryPath [ stdenv.cc.cc ncurses5 ]}" $exe 27 27 done 28 28 cd ../ 29 29 cp -R ./ $out 30 30 ln -s $out/tools $out/bin 31 31 ''; 32 32 33 - meta = with stdenv.lib; { 33 + meta = with lib; { 34 34 description = "A pluggable, (mostly) language-agnostic ecosystem for building tools that work with code"; 35 35 longDescription = '' 36 36 The Kythe project was founded to provide and support tools and standards
+4 -4
pkgs/development/tools/lattice-diamond/default.nix
··· 1 - { stdenv, rpmextract, patchelf, makeWrapper, file, requireFile, glib, zlib, 1 + { lib, stdenv, rpmextract, patchelf, makeWrapper, file, requireFile, glib, zlib, 2 2 freetype, fontconfig, xorg, libusb-compat-0_1 }: 3 3 4 4 stdenv.mkDerivation { ··· 95 95 done 96 96 ''; 97 97 98 - libPath = stdenv.lib.makeLibraryPath [ 98 + libPath = lib.makeLibraryPath [ 99 99 glib zlib freetype fontconfig 100 100 xorg.libSM xorg.libICE xorg.libXrender xorg.libXext xorg.libX11 xorg.libXt 101 101 libusb-compat-0_1 ··· 109 109 next-generation replacement for ispLEVER. 110 110 ''; 111 111 homepage = "http://www.latticesemi.com/latticediamond"; 112 - license = stdenv.lib.licenses.unfree; 113 - maintainers = with stdenv.lib.maintainers; [ q3k ]; 112 + license = lib.licenses.unfree; 113 + maintainers = with lib.maintainers; [ q3k ]; 114 114 platforms = [ "x86_64-linux" ]; 115 115 }; 116 116 }
+2 -2
pkgs/development/tools/lazygit/default.nix
··· 1 - { stdenv, buildGoModule, fetchFromGitHub }: 1 + { lib, stdenv, buildGoModule, fetchFromGitHub }: 2 2 3 3 buildGoModule rec { 4 4 pname = "lazygit"; ··· 16 16 17 17 buildFlagsArray = [ "-ldflags=-X main.version=${version} -X main.buildSource=nix" ]; 18 18 19 - meta = with stdenv.lib; { 19 + meta = with lib; { 20 20 description = "Simple terminal UI for git commands"; 21 21 homepage = "https://github.com/jesseduffield/lazygit"; 22 22 changelog = "https://github.com/jesseduffield/lazygit/releases/tag/v${version}";
+3 -3
pkgs/development/tools/leaps/default.nix
··· 1 - { stdenv, buildGoPackage, fetchFromGitHub }: 1 + { lib, stdenv, buildGoPackage, fetchFromGitHub }: 2 2 3 3 buildGoPackage rec { 4 4 pname = "leaps"; ··· 19 19 description = "A pair programming tool and library written in Golang"; 20 20 homepage = "https://github.com/jeffail/leaps/"; 21 21 license = "MIT"; 22 - maintainers = with stdenv.lib.maintainers; [ qknight ]; 23 - platforms = stdenv.lib.platforms.unix; 22 + maintainers = with lib.maintainers; [ qknight ]; 23 + platforms = lib.platforms.unix; 24 24 }; 25 25 }
+2 -2
pkgs/development/tools/libsigrok/default.nix
··· 1 - { stdenv, fetchurl, pkg-config, libzip, glib, libusb1, libftdi1, check 1 + { lib, stdenv, fetchurl, pkg-config, libzip, glib, libusb1, libftdi1, check 2 2 , libserialport, librevisa, doxygen, glibmm, python 3 3 , version ? "0.5.1", sha256 ? "171b553dir5gn6w4f7n37waqk62nq2kf1jykx4ifjacdz5xdw3z4" 4 4 }: ··· 27 27 tar --strip-components=1 -xvf "${firmware}" -C "$out/share/sigrok-firmware/" 28 28 ''; 29 29 30 - meta = with stdenv.lib; { 30 + meta = with lib; { 31 31 description = "Core library of the sigrok signal analysis software suite"; 32 32 homepage = "https://sigrok.org/"; 33 33 license = licenses.gpl3Plus;
+2 -2
pkgs/development/tools/libsigrokdecode/default.nix
··· 1 - { stdenv, fetchurl, pkg-config, glib, python3, libsigrok, check }: 1 + { lib, stdenv, fetchurl, pkg-config, glib, python3, libsigrok, check }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "libsigrokdecode-0.5.3"; ··· 11 11 nativeBuildInputs = [ pkg-config ]; 12 12 buildInputs = [ glib python3 libsigrok check ]; 13 13 14 - meta = with stdenv.lib; { 14 + meta = with lib; { 15 15 description = "Protocol decoding library for the sigrok signal analysis software suite"; 16 16 homepage = "https://sigrok.org/"; 17 17 license = licenses.gpl3Plus;
+2 -2
pkgs/development/tools/literate-programming/Literate/default.nix
··· 1 - { stdenv, fetchgit, dmd, dub }: 1 + { lib, stdenv, fetchgit, dmd, dub }: 2 2 3 3 stdenv.mkDerivation { 4 4 pname = "Literate"; ··· 14 14 15 15 installPhase = "install -D bin/lit $out/bin/lit"; 16 16 17 - meta = with stdenv.lib; { 17 + meta = with lib; { 18 18 description = "A literate programming tool for any language"; 19 19 homepage = "http://literate.zbyedidia.webfactional.com/"; 20 20 license = licenses.mit;
+2 -2
pkgs/development/tools/literate-programming/eweb/default.nix
··· 1 - { stdenv, fetchurl, python3, asciidoc }: 1 + { lib, stdenv, fetchurl, python3, asciidoc }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "eweb"; ··· 17 17 cp etangle.w etangle.html $out/share/doc/${pname}-${version} 18 18 ''; 19 19 20 - meta = with stdenv.lib; { 20 + meta = with lib; { 21 21 homepage = "http://eweb.sourceforge.net/"; 22 22 description = "An Asciidoc-based literate programming tool, written in Python"; 23 23 platforms = platforms.linux;
+2 -2
pkgs/development/tools/literate-programming/funnelweb/default.nix
··· 1 - {stdenv, fetchurl}: 1 + {lib, stdenv, fetchurl}: 2 2 3 3 stdenv.mkDerivation rec { 4 4 ··· 18 18 install fw $out/bin/fw 19 19 ''; 20 20 21 - meta = with stdenv.lib; { 21 + meta = with lib; { 22 22 version = "3.20"; 23 23 description = "A simple, reliable literate-programming macro preprocessor"; 24 24 homepage = "http://www.ross.net/funnelweb/";
+5 -5
pkgs/development/tools/literate-programming/noweb/default.nix
··· 1 - { stdenv, fetchFromGitHub, gawk, groff, icon-lang ? null }: 1 + { lib, stdenv, fetchFromGitHub, gawk, groff, icon-lang ? null }: 2 2 3 3 let noweb = stdenv.mkDerivation rec { 4 4 pname = "noweb"; ··· 13 13 14 14 patches = [ ./no-FAQ.patch ]; 15 15 16 - nativeBuildInputs = [ groff ] ++ stdenv.lib.optionals (!isNull icon-lang) [ icon-lang ]; 16 + nativeBuildInputs = [ groff ] ++ lib.optionals (!isNull icon-lang) [ icon-lang ]; 17 17 18 18 preBuild = '' 19 19 mkdir -p "$out/lib/noweb" 20 20 cd src 21 21 ''; 22 22 23 - makeFlags = stdenv.lib.optionals (!isNull icon-lang) [ 23 + makeFlags = lib.optionals (!isNull icon-lang) [ 24 24 "LIBSRC=icon" 25 25 "ICONC=icont" 26 - ] ++ stdenv.lib.optionals stdenv.isDarwin [ 26 + ] ++ lib.optionals stdenv.isDarwin [ 27 27 "CC=clang" 28 28 ]; 29 29 ··· 70 70 tlType = "run"; 71 71 passthru.pkgs = [ noweb.tex ]; 72 72 73 - meta = with stdenv.lib; { 73 + meta = with lib; { 74 74 description = "A simple, extensible literate-programming tool"; 75 75 homepage = "https://www.cs.tufts.edu/~nr/noweb"; 76 76 license = licenses.bsd2;
+2 -2
pkgs/development/tools/literate-programming/nuweb/default.nix
··· 1 - {stdenv, fetchurl, tex}: 1 + {lib, stdenv, fetchurl, tex}: 2 2 3 3 stdenv.mkDerivation rec { 4 4 ··· 27 27 cp htdocs/index.html nuweb.w nuweb.pdf nuwebdoc.pdf README $out/share/doc/${pname}-${version} 28 28 ''; 29 29 30 - meta = with stdenv.lib; { 30 + meta = with lib; { 31 31 description = "A simple literate programming tool"; 32 32 homepage = "http://nuweb.sourceforge.net"; 33 33 license = licenses.free;
+2 -2
pkgs/development/tools/makerpm/default.nix
··· 1 - { stdenv, fetchFromGitHub, zlib, libarchive, openssl }: 1 + { lib, stdenv, fetchFromGitHub, zlib, libarchive, openssl }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 version = "1.0"; ··· 18 18 sha256 = "089dkbh5705ppyi920rd0ksjc0143xmvnhm8qrx93rsgwc1ggi1y"; 19 19 }; 20 20 21 - meta = with stdenv.lib; { 21 + meta = with lib; { 22 22 homepage = "https://github.com/ivan-tkatchev/makerpm/"; 23 23 description = "A clean, simple RPM packager reimplemented completely from scratch"; 24 24 license = licenses.free;
+2 -2
pkgs/development/tools/manul/default.nix
··· 1 - { stdenv, buildGoPackage, fetchFromGitHub }: 1 + { lib, stdenv, buildGoPackage, fetchFromGitHub }: 2 2 3 3 buildGoPackage { 4 4 name = "manul-unstable-2016-09-30"; ··· 16 16 deleteVendor = true; 17 17 goDeps = ./deps.nix; 18 18 19 - meta = with stdenv.lib; { 19 + meta = with lib; { 20 20 description = "The madness vendoring utility for Golang programs"; 21 21 homepage = "https://github.com/kovetskiy/manul"; 22 22 license = licenses.mit;
+3 -3
pkgs/development/tools/mdk/default.nix
··· 1 - { stdenv, fetchurl, intltool, pkg-config, glib }: 1 + { lib, stdenv, fetchurl, intltool, pkg-config, glib }: 2 2 3 3 stdenv.mkDerivation { 4 4 name = "gnu-mdk-1.3.0"; ··· 16 16 meta = { 17 17 description = "GNU MIX Development Kit (MDK)"; 18 18 homepage = "https://www.gnu.org/software/mdk/"; 19 - license = stdenv.lib.licenses.gpl3; 20 - platforms = stdenv.lib.platforms.all; 19 + license = lib.licenses.gpl3; 20 + platforms = lib.platforms.all; 21 21 }; 22 22 }
+2 -2
pkgs/development/tools/minizinc/default.nix
··· 1 - { stdenv, fetchFromGitHub, fetchpatch, cmake, flex, bison }: 1 + { lib, stdenv, fetchFromGitHub, fetchpatch, cmake, flex, bison }: 2 2 let 3 3 version = "2.4.3"; 4 4 in ··· 34 34 }) 35 35 ]; 36 36 37 - meta = with stdenv.lib; { 37 + meta = with lib; { 38 38 homepage = "https://www.minizinc.org/"; 39 39 description = "A medium-level constraint modelling language"; 40 40
+3 -3
pkgs/development/tools/minizinc/ide.nix
··· 1 - { stdenv, fetchFromGitHub, qtbase, qtwebengine, qtwebkit, qmake, makeWrapper, minizinc }: 1 + { lib, stdenv, fetchFromGitHub, qtbase, qtwebengine, qtwebkit, qmake, makeWrapper, minizinc }: 2 2 let 3 3 version = "2.4.3"; 4 4 in ··· 21 21 enableParallelBuilding = true; 22 22 23 23 postInstall = '' 24 - wrapProgram $out/bin/MiniZincIDE --prefix PATH ":" ${stdenv.lib.makeBinPath [ minizinc ]} 24 + wrapProgram $out/bin/MiniZincIDE --prefix PATH ":" ${lib.makeBinPath [ minizinc ]} 25 25 ''; 26 26 27 - meta = with stdenv.lib; { 27 + meta = with lib; { 28 28 homepage = "https://www.minizinc.org/"; 29 29 description = "IDE for MiniZinc, a medium-level constraint modelling language"; 30 30
+2 -2
pkgs/development/tools/misc/abi-compliance-checker/default.nix
··· 1 - { stdenv, fetchFromGitHub, ctags, perl, binutils, abi-dumper }: 1 + { lib, stdenv, fetchFromGitHub, ctags, perl, binutils, abi-dumper }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "abi-compliance-checker"; ··· 16 16 17 17 makeFlags = [ "prefix=$(out)" ]; 18 18 19 - meta = with stdenv.lib; { 19 + meta = with lib; { 20 20 homepage = "https://lvc.github.io/abi-compliance-checker"; 21 21 description = "A tool for checking backward API/ABI compatibility of a C/C++ library"; 22 22 license = licenses.lgpl21;
+2 -2
pkgs/development/tools/misc/abi-dumper/default.nix
··· 1 - { stdenv, fetchFromGitHub, ctags, perl, elfutils, vtable-dumper }: 1 + { lib, stdenv, fetchFromGitHub, ctags, perl, elfutils, vtable-dumper }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "abi-dumper"; ··· 23 23 preBuild = "mkdir -p $out"; 24 24 makeFlags = [ "prefix=$(out)" ]; 25 25 26 - meta = with stdenv.lib; { 26 + meta = with lib; { 27 27 homepage = "https://github.com/lvc/abi-dumper"; 28 28 description = "Dump ABI of an ELF object containing DWARF debug info"; 29 29 license = licenses.lgpl21;
+5 -5
pkgs/development/tools/misc/arcanist/default.nix
··· 2 2 , fetchFromGitHub 3 3 , flex 4 4 , php 5 - , stdenv 5 + , lib, stdenv 6 6 }: 7 7 8 8 # Make a custom wrapper. If `wrapProgram` is used, arcanist thinks .arc-wrapped is being ··· 31 31 }; 32 32 buildInputs = [ bison flex php ]; 33 33 34 - postPatch = stdenv.lib.optionalString stdenv.isAarch64 '' 34 + postPatch = lib.optionalString stdenv.isAarch64 '' 35 35 substituteInPlace support/xhpast/Makefile \ 36 36 --replace "-minline-all-stringops" "" 37 37 ''; ··· 60 60 meta = { 61 61 description = "Command line interface to Phabricator"; 62 62 homepage = "http://phabricator.org"; 63 - license = stdenv.lib.licenses.asl20; 64 - platforms = stdenv.lib.platforms.unix; 65 - maintainers = [ stdenv.lib.maintainers.thoughtpolice ]; 63 + license = lib.licenses.asl20; 64 + platforms = lib.platforms.unix; 65 + maintainers = [ lib.maintainers.thoughtpolice ]; 66 66 }; 67 67 }
+2 -2
pkgs/development/tools/misc/argbash/default.nix
··· 1 - { stdenv, fetchFromGitHub, autoconf, runtimeShell, python3Packages, makeWrapper }: 1 + { lib, stdenv, fetchFromGitHub, autoconf, runtimeShell, python3Packages, makeWrapper }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "argbash"; ··· 30 30 --prefix PATH : '${autoconf}/bin' 31 31 ''; 32 32 33 - meta = with stdenv.lib; { 33 + meta = with lib; { 34 34 description = "Bash argument parsing code generator"; 35 35 homepage = "https://argbash.io/"; 36 36 license = licenses.free; # custom license. See LICENSE in source repo.
+2 -2
pkgs/development/tools/misc/asls/default.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 , fetchurl 3 3 , erlangR22 4 4 }: ··· 15 15 buildInputs = [ erlangR22 ]; 16 16 installPhase = "install -Dm755 -t $out/bin asls"; 17 17 18 - meta = with stdenv.lib; { 18 + meta = with lib; { 19 19 description = "AssemblyScript Language Server"; 20 20 homepage = "https://github.com/saulecabrera/asls"; 21 21 license = licenses.mit;
+2 -2
pkgs/development/tools/misc/autobuild/default.nix
··· 1 - { fetchurl, stdenv, makeWrapper, perl, openssh, rsync }: 1 + { fetchurl, lib, stdenv, makeWrapper, perl, openssh, rsync }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "autobuild-5.3"; ··· 29 29 ''; 30 30 31 31 homepage = "https://josefsson.org/autobuild/"; 32 - license = stdenv.lib.licenses.gpl2Plus; 32 + license = lib.licenses.gpl2Plus; 33 33 }; 34 34 }
+2 -2
pkgs/development/tools/misc/autoconf-archive/default.nix
··· 1 - { stdenv, fetchurl, xz }: 1 + { lib, stdenv, fetchurl, xz }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "autoconf-archive"; ··· 11 11 12 12 buildInputs = [ xz ]; 13 13 14 - meta = with stdenv.lib; { 14 + meta = with lib; { 15 15 description = "Archive of autoconf m4 macros"; 16 16 homepage = "https://www.gnu.org/software/autoconf-archive/"; 17 17 license = licenses.gpl3;
+3 -3
pkgs/development/tools/misc/autoconf/2.13.nix
··· 1 - {stdenv, fetchurl, m4, perl, lzma}: 1 + {lib, stdenv, fetchurl, m4, perl, lzma}: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "autoconf-2.13"; ··· 34 34 can use, in the form of M4 macro calls. 35 35 ''; 36 36 37 - license = stdenv.lib.licenses.gpl2Plus; 38 - platforms = stdenv.lib.platforms.unix; 37 + license = lib.licenses.gpl2Plus; 38 + platforms = lib.platforms.unix; 39 39 }; 40 40 }
+3 -3
pkgs/development/tools/misc/autoconf/2.64.nix
··· 1 - { stdenv, fetchurl, m4, perl }: 1 + { lib, stdenv, fetchurl, m4, perl }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "autoconf-2.64"; ··· 44 44 can use, in the form of M4 macro calls. 45 45 ''; 46 46 47 - license = stdenv.lib.licenses.gpl2Plus; 47 + license = lib.licenses.gpl2Plus; 48 48 49 - platforms = stdenv.lib.platforms.all; 49 + platforms = lib.platforms.all; 50 50 }; 51 51 }
+3 -3
pkgs/development/tools/misc/autoconf/2.69.nix
··· 1 - { stdenv, fetchurl, m4, perl }: 1 + { lib, stdenv, fetchurl, m4, perl }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "autoconf-2.69"; ··· 45 45 can use, in the form of M4 macro calls. 46 46 ''; 47 47 48 - license = stdenv.lib.licenses.gpl2Plus; 48 + license = lib.licenses.gpl2Plus; 49 49 50 - platforms = stdenv.lib.platforms.all; 50 + platforms = lib.platforms.all; 51 51 }; 52 52 }
+3 -3
pkgs/development/tools/misc/autoconf/default.nix
··· 1 - { stdenv, fetchurl, m4, perl }: 1 + { lib, stdenv, fetchurl, m4, perl }: 2 2 3 3 # Note: this package is used for bootstrapping fetchurl, and thus 4 4 # cannot use fetchpatch! All mutable patches (generated by GitHub or ··· 47 47 can use, in the form of M4 macro calls. 48 48 ''; 49 49 50 - license = stdenv.lib.licenses.gpl3Plus; 50 + license = lib.licenses.gpl3Plus; 51 51 52 - platforms = stdenv.lib.platforms.all; 52 + platforms = lib.platforms.all; 53 53 }; 54 54 }
+5 -5
pkgs/development/tools/misc/autogen/default.nix
··· 1 - { stdenv, buildPackages, fetchurl, autoreconfHook, which, pkg-config, perl, guile, libxml2 }: 1 + { lib, stdenv, buildPackages, fetchurl, autoreconfHook, which, pkg-config, perl, guile, libxml2 }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "autogen"; ··· 34 34 35 35 nativeBuildInputs = [ 36 36 which pkg-config perl autoreconfHook/*patches applied*/ 37 - ] ++ stdenv.lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ 37 + ] ++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ 38 38 # autogen needs a build autogen when cross-compiling 39 39 buildPackages.buildPackages.autogen buildPackages.texinfo 40 40 ]; ··· 56 56 # Debian: https://salsa.debian.org/debian/autogen/-/blob/master/debian/rules#L21 57 57 "--enable-timeout=78" 58 58 ] 59 - ++ (stdenv.lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ 59 + ++ (lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ 60 60 "--with-libxml2=${libxml2.dev}" 61 61 "--with-libxml2-cflags=-I${libxml2.dev}/include/libxml2" 62 62 # the configure check for regcomp wants to run a host program ··· 76 76 sed -e "s|$lib/lib|/no-such-autogen-lib-path|" -i $f 77 77 done 78 78 79 - '' + stdenv.lib.optionalString (!stdenv.hostPlatform.isDarwin) '' 79 + '' + lib.optionalString (!stdenv.hostPlatform.isDarwin) '' 80 80 # remove /build/** from RPATHs 81 81 for f in "$bin"/bin/*; do 82 82 local nrp="$(patchelf --print-rpath "$f" | sed -E 's@(:|^)/build/[^:]*:@\1@g')" ··· 84 84 done 85 85 ''; 86 86 87 - meta = with stdenv.lib; { 87 + meta = with lib; { 88 88 description = "Automated text and program generation tool"; 89 89 license = with licenses; [ gpl3Plus lgpl3Plus ]; 90 90 homepage = "https://www.gnu.org/software/autogen/";
+3 -3
pkgs/development/tools/misc/automake/automake-1.11.x.nix
··· 1 - { stdenv, fetchurl, perl, autoconf }: 1 + { lib, stdenv, fetchurl, perl, autoconf }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "automake-1.11.6"; ··· 42 42 Standards. Automake requires the use of Autoconf. 43 43 ''; 44 44 45 - license = stdenv.lib.licenses.gpl2Plus; 45 + license = lib.licenses.gpl2Plus; 46 46 47 - platforms = stdenv.lib.platforms.all; 47 + platforms = lib.platforms.all; 48 48 }; 49 49 }
+3 -3
pkgs/development/tools/misc/automake/automake-1.15.x.nix
··· 1 - { stdenv, fetchurl, perl, autoconf }: 1 + { lib, stdenv, fetchurl, perl, autoconf }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "automake-1.15.1"; ··· 32 32 branch = "1.15"; 33 33 homepage = "https://www.gnu.org/software/automake/"; 34 34 description = "GNU standard-compliant makefile generator"; 35 - license = stdenv.lib.licenses.gpl2Plus; 35 + license = lib.licenses.gpl2Plus; 36 36 37 37 longDescription = '' 38 38 GNU Automake is a tool for automatically generating ··· 40 40 Standards. Automake requires the use of Autoconf. 41 41 ''; 42 42 43 - platforms = stdenv.lib.platforms.all; 43 + platforms = lib.platforms.all; 44 44 }; 45 45 }
+3 -3
pkgs/development/tools/misc/automake/automake-1.16.x.nix
··· 1 - { stdenv, fetchurl, perl, autoconf }: 1 + { lib, stdenv, fetchurl, perl, autoconf }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "automake-1.16.3"; ··· 30 30 branch = "1.16"; 31 31 homepage = "https://www.gnu.org/software/automake/"; 32 32 description = "GNU standard-compliant makefile generator"; 33 - license = stdenv.lib.licenses.gpl2Plus; 33 + license = lib.licenses.gpl2Plus; 34 34 35 35 longDescription = '' 36 36 GNU Automake is a tool for automatically generating ··· 38 38 Standards. Automake requires the use of Autoconf. 39 39 ''; 40 40 41 - platforms = stdenv.lib.platforms.all; 41 + platforms = lib.platforms.all; 42 42 }; 43 43 }
+2 -2
pkgs/development/tools/misc/automoc4/default.nix
··· 1 - { stdenv, fetchurl, cmake, qt4 }: 1 + { lib, stdenv, fetchurl, cmake, qt4 }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "automoc4"; ··· 12 12 nativeBuildInputs = [ cmake ]; 13 13 buildInputs = [ qt4 ]; 14 14 15 - meta = with stdenv.lib; { 15 + meta = with lib; { 16 16 homepage = "https://techbase.kde.org/Development/Tools/Automoc4"; 17 17 description = "KDE Meta Object Compiler"; 18 18 license = licenses.bsd2;
+4 -4
pkgs/development/tools/misc/avrdude/default.nix
··· 1 - { stdenv, fetchurl, yacc, flex, libusb-compat-0_1, libelf, libftdi1, readline 1 + { lib, stdenv, fetchurl, yacc, flex, libusb-compat-0_1, libelf, libftdi1, readline 2 2 # docSupport is a big dependency, disabled by default 3 3 , docSupport ? false, texLive ? null, texinfo ? null, texi2html ? null 4 4 }: ··· 13 13 sha256 = "15m1w1qad3dj7r8n5ng1qqcaiyx1gyd6hnc3p2apgjllccdp77qg"; 14 14 }; 15 15 16 - configureFlags = stdenv.lib.optionals docSupport "--enable-doc"; 16 + configureFlags = lib.optionals docSupport "--enable-doc"; 17 17 18 18 buildInputs = [ yacc flex libusb-compat-0_1 libelf libftdi1 readline ] 19 - ++ stdenv.lib.optionals docSupport [ texLive texinfo texi2html ]; 19 + ++ lib.optionals docSupport [ texLive texinfo texi2html ]; 20 20 21 - meta = with stdenv.lib; { 21 + meta = with lib; { 22 22 description = "Command-line tool for programming Atmel AVR microcontrollers"; 23 23 longDescription = '' 24 24 AVRDUDE (AVR Downloader/UploaDEr) is an utility to
+2 -2
pkgs/development/tools/misc/awf/default.nix
··· 1 - { stdenv, fetchFromGitHub, autoreconfHook, gtk2, gtk3, pkg-config 1 + { lib, stdenv, fetchFromGitHub, autoreconfHook, gtk2, gtk3, pkg-config 2 2 , wrapGAppsHook }: 3 3 4 4 stdenv.mkDerivation rec { ··· 21 21 ./autogen.sh 22 22 ''; 23 23 24 - meta = with stdenv.lib; { 24 + meta = with lib; { 25 25 description = "A Widget Factory"; 26 26 longDescription = '' 27 27 A widget factory is a theme preview application for gtk2 and
+2 -2
pkgs/development/tools/misc/babeltrace/default.nix
··· 1 - { stdenv, fetchurl, pkg-config, glib, libuuid, popt, elfutils }: 1 + { lib, stdenv, fetchurl, pkg-config, glib, libuuid, popt, elfutils }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "babeltrace-1.5.8"; ··· 11 11 nativeBuildInputs = [ pkg-config ]; 12 12 buildInputs = [ glib libuuid popt elfutils ]; 13 13 14 - meta = with stdenv.lib; { 14 + meta = with lib; { 15 15 description = "Command-line tool and library to read and convert LTTng tracefiles"; 16 16 homepage = "https://www.efficios.com/babeltrace"; 17 17 license = licenses.mit;
+3 -3
pkgs/development/tools/misc/bashdb/default.nix
··· 1 - { stdenv, fetchurl, makeWrapper, python3Packages }: 1 + { lib, stdenv, fetchurl, makeWrapper, python3Packages }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "bashdb"; ··· 20 20 meta = { 21 21 description = "Bash script debugger"; 22 22 homepage = "http://bashdb.sourceforge.net/"; 23 - license = stdenv.lib.licenses.gpl2; 24 - platforms = stdenv.lib.platforms.linux; 23 + license = lib.licenses.gpl2; 24 + platforms = lib.platforms.linux; 25 25 }; 26 26 }
+2 -2
pkgs/development/tools/misc/bin_replace_string/default.nix
··· 1 - { stdenv, fetchurl, libelf, txt2man }: 1 + { lib, stdenv, fetchurl, libelf, txt2man }: 2 2 3 3 stdenv.mkDerivation { 4 4 pname = "bin_replace_string"; ··· 14 14 15 15 enableParallelBuilding = true; 16 16 17 - meta = with stdenv.lib; { 17 + meta = with lib; { 18 18 description = "Edit precompiled binaries"; 19 19 longDescription = '' 20 20 bin_replace_string edits C-style strings in precompiled binaries. This is
+2 -2
pkgs/development/tools/misc/bossa/default.nix
··· 1 - { stdenv, fetchgit, wxGTK, libX11, readline }: 1 + { lib, stdenv, fetchgit, wxGTK, libX11, readline }: 2 2 3 3 let 4 4 # BOSSA needs a "bin2c" program to embed images. ··· 36 36 cp bin/bossa{c,sh,} $out/bin/ 37 37 ''; 38 38 39 - meta = with stdenv.lib; { 39 + meta = with lib; { 40 40 description = "A flash programming utility for Atmel's SAM family of flash-based ARM microcontrollers"; 41 41 longDescription = '' 42 42 BOSSA is a flash programming utility for Atmel's SAM family of
+3 -3
pkgs/development/tools/misc/bsdbuild/default.nix
··· 1 - { stdenv, fetchurl, perl, libtool, pkg-config, gettext, mandoc, ed }: 1 + { lib, stdenv, fetchurl, perl, libtool, pkg-config, gettext, mandoc, ed }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "bsdbuild"; ··· 62 62 directory, BSDBuild will produce the required Makefiles in place). 63 63 ''; 64 64 65 - license = stdenv.lib.licenses.bsd3; 66 - platforms = stdenv.lib.platforms.linux; 65 + license = lib.licenses.bsd3; 66 + platforms = lib.platforms.linux; 67 67 }; 68 68 }
+4 -4
pkgs/development/tools/misc/cbrowser/default.nix
··· 1 - { fetchurl, stdenv, tk, makeWrapper }: 1 + { fetchurl, lib, stdenv, tk, makeWrapper }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "cbrowser-0.8"; ··· 23 23 meta = { 24 24 description = "Tcl/Tk GUI front-end to cscope"; 25 25 26 - license = stdenv.lib.licenses.gpl2Plus; 26 + license = lib.licenses.gpl2Plus; 27 27 28 28 homepage = "https://sourceforge.net/projects/cbrowser/"; 29 29 30 - maintainers = with stdenv.lib.maintainers; [viric]; 30 + maintainers = with lib.maintainers; [viric]; 31 31 32 - platforms = with stdenv.lib.platforms; linux; 32 + platforms = with lib.platforms; linux; 33 33 }; 34 34 }
+2 -2
pkgs/development/tools/misc/cc-tool/default.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 , fetchFromGitHub 3 3 , autoreconfHook 4 4 , boost ··· 29 29 install -D udev/90-cc-debugger.rules $out/lib/udev/rules.d/90-cc-debugger.rules 30 30 ''; 31 31 32 - meta = with stdenv.lib; { 32 + meta = with lib; { 33 33 description = "Command line tool for the Texas Instruments CC Debugger"; 34 34 longDescription = '' 35 35 cc-tool provides support for Texas Instruments CC Debugger
+2 -2
pkgs/development/tools/misc/ccache/default.nix
··· 60 60 local cname="$1" 61 61 if [ -x "${unwrappedCC}/bin/$cname" ]; then 62 62 makeWrapper ${ccache}/bin/ccache $out/bin/$cname \ 63 - --run ${stdenv.lib.escapeShellArg extraConfig} \ 63 + --run ${lib.escapeShellArg extraConfig} \ 64 64 --add-flags ${unwrappedCC}/bin/$cname 65 65 fi 66 66 } ··· 84 84 }; 85 85 }; 86 86 87 - meta = with stdenv.lib; { 87 + meta = with lib; { 88 88 description = "Compiler cache for fast recompilation of C/C++ code"; 89 89 homepage = "https://ccache.dev"; 90 90 downloadPage = "https://ccache.dev/download.html";
+3 -3
pkgs/development/tools/misc/ccls/default.nix
··· 1 - { stdenv, fetchFromGitHub 1 + { lib, stdenv, fetchFromGitHub 2 2 , cmake, llvmPackages, rapidjson, runtimeShell }: 3 3 4 4 stdenv.mkDerivation rec { ··· 25 25 postFixup = '' 26 26 # We need to tell ccls where to find the standard library headers. 27 27 28 - standard_library_includes="\\\"-isystem\\\", \\\"${stdenv.lib.getDev stdenv.cc.libc}/include\\\"" 28 + standard_library_includes="\\\"-isystem\\\", \\\"${lib.getDev stdenv.cc.libc}/include\\\"" 29 29 standard_library_includes+=", \\\"-isystem\\\", \\\"${llvmPackages.libcxx}/include/c++/v1\\\"" 30 30 export standard_library_includes 31 31 ··· 37 37 chmod --reference=$out/bin/$wrapped $out/bin/ccls 38 38 ''; 39 39 40 - meta = with stdenv.lib; { 40 + meta = with lib; { 41 41 description = "A c/c++ language server powered by clang"; 42 42 homepage = "https://github.com/MaskRay/ccls"; 43 43 license = licenses.asl20;
+4 -4
pkgs/development/tools/misc/cflow/default.nix
··· 1 - { stdenv, fetchurl, gettext, emacs }: 1 + { lib, stdenv, fetchurl, gettext, emacs }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "cflow-1.6"; ··· 16 16 17 17 buildInputs = [ gettext ] ++ 18 18 # We don't have Emacs/GTK/etc. on {Dar,Cyg}win. 19 - stdenv.lib.optional 20 - (! (stdenv.lib.lists.any (x: stdenv.hostPlatform.system == x) 19 + lib.optional 20 + (! (lib.lists.any (x: stdenv.hostPlatform.system == x) 21 21 [ "i686-cygwin" ])) 22 22 emacs; 23 23 24 24 doCheck = true; 25 25 26 - meta = with stdenv.lib; { 26 + meta = with lib; { 27 27 description = "Tool to analyze the control flow of C programs"; 28 28 29 29 longDescription = ''
+2 -2
pkgs/development/tools/misc/cgdb/default.nix
··· 1 - { stdenv, fetchurl, ncurses, readline, flex, texinfo }: 1 + { lib, stdenv, fetchurl, ncurses, readline, flex, texinfo }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "cgdb"; ··· 11 11 12 12 buildInputs = [ ncurses readline flex texinfo ]; 13 13 14 - meta = with stdenv.lib; { 14 + meta = with lib; { 15 15 description = "A curses interface to gdb"; 16 16 17 17 homepage = "https://cgdb.github.io/";
+3 -3
pkgs/development/tools/misc/checkbashisms/default.nix
··· 1 - { stdenv, fetchurl, perl }: 1 + { lib, stdenv, fetchurl, perl }: 2 2 stdenv.mkDerivation rec { 3 3 version = "2.0.0.2"; 4 4 pname = "checkbashisms"; ··· 20 20 meta = { 21 21 homepage = "https://sourceforge.net/projects/checkbaskisms/"; 22 22 description = "Check shell scripts for non-portable syntax"; 23 - license = stdenv.lib.licenses.gpl2; 24 - platforms = stdenv.lib.platforms.unix; 23 + license = lib.licenses.gpl2; 24 + platforms = lib.platforms.unix; 25 25 }; 26 26 }
+2 -2
pkgs/development/tools/misc/chrpath/default.nix
··· 1 - { stdenv, fetchurl }: 1 + { lib, stdenv, fetchurl }: 2 2 3 3 stdenv.mkDerivation { 4 4 name = "chrpath-0.16"; ··· 8 8 sha256 = "0yvfq891mcdkf8g18gjjkn2m5rvs8z4z4cl1vwdhx6f2p9a4q3dv"; 9 9 }; 10 10 11 - meta = with stdenv.lib; { 11 + meta = with lib; { 12 12 description = "Command line tool to adjust the RPATH or RUNPATH of ELF binaries"; 13 13 longDescription = '' 14 14 chrpath changes, lists or removes the rpath or runpath setting in a
+2 -2
pkgs/development/tools/misc/circleci-cli/default.nix
··· 1 - { stdenv, fetchFromGitHub, buildGoModule }: 1 + { lib, stdenv, fetchFromGitHub, buildGoModule }: 2 2 3 3 buildGoModule rec { 4 4 pname = "circleci-cli"; ··· 26 26 install -Dm644 -t $out/share/circleci-cli _data/data.yml 27 27 ''; 28 28 29 - meta = with stdenv.lib; { 29 + meta = with lib; { 30 30 # Box blurb edited from the AUR package circleci-cli 31 31 description = '' 32 32 Command to enable you to reproduce the CircleCI environment locally and
+4 -4
pkgs/development/tools/misc/cl-launch/default.nix
··· 1 - {stdenv, fetchurl}: 1 + {lib, stdenv, fetchurl}: 2 2 let 3 3 s = # Generated upstream information 4 4 rec { ··· 31 31 meta = { 32 32 inherit (s) version; 33 33 description = ''Common Lisp launcher script''; 34 - license = stdenv.lib.licenses.llgpl21 ; 35 - maintainers = [stdenv.lib.maintainers.raskin]; 36 - platforms = stdenv.lib.platforms.unix; 34 + license = lib.licenses.llgpl21 ; 35 + maintainers = [lib.maintainers.raskin]; 36 + platforms = lib.platforms.unix; 37 37 }; 38 38 }
+2 -2
pkgs/development/tools/misc/cli11/default.nix
··· 1 1 { 2 - stdenv, 2 + lib, stdenv, 3 3 fetchFromGitHub, 4 4 cmake, 5 5 gtest, ··· 30 30 sed -i '/TrueFalseTest/d' tests/CMakeLists.txt 31 31 ''; 32 32 33 - meta = with stdenv.lib; { 33 + meta = with lib; { 34 34 description = "Command line parser for C++11"; 35 35 homepage = "https://github.com/CLIUtils/CLI11"; 36 36 platforms = platforms.unix;
+2 -2
pkgs/development/tools/misc/clojure-lsp/default.nix
··· 1 - { stdenv, fetchurl, jre, makeWrapper }: 1 + { lib, stdenv, fetchurl, jre, makeWrapper }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "clojure-lsp"; ··· 21 21 --add-flags "-jar $out/share/java/${pname}.jar" 22 22 ''; 23 23 24 - meta = with stdenv.lib; { 24 + meta = with lib; { 25 25 description = "Language Server Protocol (LSP) for Clojure"; 26 26 homepage = "https://github.com/snoe/clojure-lsp"; 27 27 license = licenses.mit;
+4 -4
pkgs/development/tools/misc/coccinelle/default.nix
··· 1 - { fetchurl, stdenv, python, ncurses, ocamlPackages, pkg-config }: 1 + { fetchurl, lib, stdenv, python, ncurses, ocamlPackages, pkg-config }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "coccinelle"; ··· 50 50 ''; 51 51 52 52 homepage = "http://coccinelle.lip6.fr/"; 53 - license = stdenv.lib.licenses.gpl2; 54 - platforms = stdenv.lib.platforms.unix; 55 - maintainers = [ stdenv.lib.maintainers.thoughtpolice ]; 53 + license = lib.licenses.gpl2; 54 + platforms = lib.platforms.unix; 55 + maintainers = [ lib.maintainers.thoughtpolice ]; 56 56 }; 57 57 }
+3 -3
pkgs/development/tools/misc/complexity/default.nix
··· 1 - { fetchurl, stdenv, autogen }: 1 + { fetchurl, lib, stdenv, autogen }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "complexity"; ··· 22 22 addresses several issues not considered in that scoring scheme. 23 23 ''; 24 24 25 - license = stdenv.lib.licenses.gpl3Plus; 25 + license = lib.licenses.gpl3Plus; 26 26 27 27 homepage = "https://www.gnu.org/software/complexity/"; 28 28 29 - platforms = stdenv.lib.platforms.gnu ++ stdenv.lib.platforms.linux; 29 + platforms = lib.platforms.gnu ++ lib.platforms.linux; 30 30 maintainers = [ ]; 31 31 }; 32 32 }
+3 -3
pkgs/development/tools/misc/cppi/default.nix
··· 1 - { fetchurl, stdenv }: 1 + { fetchurl, lib, stdenv }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "cppi-1.18"; ··· 23 23 to the level of nesting of that directive. 24 24 ''; 25 25 26 - license = stdenv.lib.licenses.gpl3Plus; 26 + license = lib.licenses.gpl3Plus; 27 27 28 28 maintainers = [ ]; 29 - platforms = stdenv.lib.platforms.all; 29 + platforms = lib.platforms.all; 30 30 }; 31 31 }
+2 -2
pkgs/development/tools/misc/cproto/default.nix
··· 1 - { stdenv, fetchurl, flex, bison }: 1 + { lib, stdenv, fetchurl, flex, bison }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "cproto"; ··· 25 25 [ "$("$out/bin/cproto" -V 2>&1)" = '${version}' ] 26 26 ''; 27 27 28 - meta = with stdenv.lib; { 28 + meta = with lib; { 29 29 description = "Tool to generate C function prototypes from C source code"; 30 30 homepage = "https://invisible-island.net/cproto/"; 31 31 license = licenses.publicDomain;
+3 -3
pkgs/development/tools/misc/creduce/default.nix
··· 1 - { stdenv, fetchurl, cmake, makeWrapper 1 + { lib, stdenv, fetchurl, cmake, makeWrapper 2 2 , llvm, clang-unwrapped 3 3 , flex 4 4 , zlib ··· 27 27 # On Linux, c-reduce's preferred way to reason about 28 28 # the cpu architecture/topology is to use 'lscpu', 29 29 # so let's make sure it knows where to find it: 30 - postPatch = stdenv.lib.optionalString stdenv.isLinux '' 30 + postPatch = lib.optionalString stdenv.isLinux '' 31 31 substituteInPlace creduce/creduce_utils.pm --replace \ 32 32 lscpu ${util-linux}/bin/lscpu 33 33 ''; ··· 36 36 wrapProgram $out/bin/creduce --prefix PERL5LIB : "$PERL5LIB" 37 37 ''; 38 38 39 - meta = with stdenv.lib; { 39 + meta = with lib; { 40 40 description = "A C program reducer"; 41 41 homepage = "https://embed.cs.utah.edu/creduce"; 42 42 # Officially, the license is: https://github.com/csmith-project/creduce/blob/master/COPYING
+5 -5
pkgs/development/tools/misc/cscope/default.nix
··· 1 - { fetchurl, stdenv, ncurses 1 + { fetchurl, lib, stdenv, ncurses 2 2 , emacsSupport ? true, emacs 3 3 }: 4 4 ··· 13 13 configureFlags = [ "--with-ncurses=${ncurses.dev}" ]; 14 14 15 15 buildInputs = [ ncurses ]; 16 - nativeBuildInputs = stdenv.lib.optional emacsSupport emacs; 16 + nativeBuildInputs = lib.optional emacsSupport emacs; 17 17 18 - postInstall = stdenv.lib.optionalString emacsSupport '' 18 + postInstall = lib.optionalString emacsSupport '' 19 19 cd "contrib/xcscope" 20 20 21 21 sed -i "cscope-indexer" \ ··· 46 46 47 47 homepage = "http://cscope.sourceforge.net/"; 48 48 49 - maintainers = with stdenv.lib.maintainers; [viric]; 49 + maintainers = with lib.maintainers; [viric]; 50 50 51 - platforms = stdenv.lib.platforms.unix; 51 + platforms = lib.platforms.unix; 52 52 }; 53 53 }
+2 -2
pkgs/development/tools/misc/csmith/default.nix
··· 1 - { stdenv, fetchurl, m4, makeWrapper, libbsd, perlPackages }: 1 + { lib, stdenv, fetchurl, m4, makeWrapper, libbsd, perlPackages }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "csmith"; ··· 31 31 32 32 enableParallelBuilding = true; 33 33 34 - meta = with stdenv.lib; { 34 + meta = with lib; { 35 35 description = "A random generator of C programs"; 36 36 homepage = "https://embed.cs.utah.edu/csmith"; 37 37 # Officially, the license is this: https://github.com/csmith-project/csmith/blob/master/COPYING
+2 -2
pkgs/development/tools/misc/ctags/default.nix
··· 1 - { stdenv, fetchsvn, autoreconfHook }: 1 + { lib, stdenv, fetchsvn, autoreconfHook }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "ctags-${revision}"; ··· 15 15 # don't use $T(E)MP which is set to the build directory 16 16 configureFlags= [ "--enable-tmpdir=/tmp" ]; 17 17 18 - meta = with stdenv.lib; { 18 + meta = with lib; { 19 19 description = "A tool for fast source code browsing (exuberant ctags)"; 20 20 longDescription = '' 21 21 Ctags generates an index (or tag) file of language objects found
+2 -2
pkgs/development/tools/misc/cwebbin/default.nix
··· 1 - { stdenv, fetchFromGitHub, fetchurl, tie }: 1 + { lib, stdenv, fetchFromGitHub, fetchurl, tie }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "cwebbin"; ··· 41 41 make -f Makefile.unix install $makeFlags 42 42 ''; 43 43 44 - meta = with stdenv.lib; { 44 + meta = with lib; { 45 45 inherit (src.meta) homepage; 46 46 description = "Literate Programming in C/C++"; 47 47 platforms = with platforms; unix;
+3 -3
pkgs/development/tools/misc/d-feet/default.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 , pkg-config 3 3 , fetchurl 4 4 , meson ··· 21 21 format = "other"; 22 22 23 23 src = fetchurl { 24 - url = "mirror://gnome/sources/d-feet/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 24 + url = "mirror://gnome/sources/d-feet/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 25 25 sha256 = "1cgxgpj546jgpyns6z9nkm5k48lid8s36mvzj8ydkjqws2d19zqz"; 26 26 }; 27 27 ··· 68 68 }; 69 69 }; 70 70 71 - meta = with stdenv.lib; { 71 + meta = with lib; { 72 72 description = "D-Feet is an easy to use D-Bus debugger"; 73 73 longDescription = '' 74 74 D-Feet can be used to inspect D-Bus interfaces of running programs
+2 -2
pkgs/development/tools/misc/dbench/default.nix
··· 1 - { stdenv, fetchgit, autoconf, popt, zlib, rpcsvc-proto, libtirpc }: 1 + { lib, stdenv, fetchgit, autoconf, popt, zlib, rpcsvc-proto, libtirpc }: 2 2 3 3 stdenv.mkDerivation { 4 4 name = "dbench-2013-01-01"; ··· 35 35 ln -s dbench/doc/dbench/loadfiles $out/share/loadfiles 36 36 ''; 37 37 38 - meta = with stdenv.lib; { 38 + meta = with lib; { 39 39 description = "Filesystem benchmark tool based on load patterns"; 40 40 homepage = "https://dbench.samba.org/"; 41 41 license = licenses.gpl3;
+3 -3
pkgs/development/tools/misc/ddd/default.nix
··· 1 - {stdenv, fetchurl, motif, ncurses, libX11, libXt}: 1 + {lib, stdenv, fetchurl, motif, ncurses, libX11, libXt}: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "ddd-3.3.12"; ··· 16 16 meta = { 17 17 homepage = "https://www.gnu.org/software/ddd"; 18 18 description = "Graphical front-end for command-line debuggers"; 19 - license = stdenv.lib.licenses.gpl2; 20 - platforms = stdenv.lib.platforms.linux; 19 + license = lib.licenses.gpl2; 20 + platforms = lib.platforms.linux; 21 21 }; 22 22 }
+2 -2
pkgs/development/tools/misc/dejagnu/default.nix
··· 1 - { fetchurl, stdenv, expect, makeWrapper }: 1 + { fetchurl, lib, stdenv, expect, makeWrapper }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "dejagnu-1.6.2"; ··· 30 30 --prefix PATH ":" "${expect}/bin" 31 31 ''; 32 32 33 - meta = with stdenv.lib; { 33 + meta = with lib; { 34 34 description = "Framework for testing other programs"; 35 35 36 36 longDescription = ''
+2 -2
pkgs/development/tools/misc/dfu-programmer/default.nix
··· 1 - { stdenv, fetchurl, libusb-compat-0_1 }: 1 + { lib, stdenv, fetchurl, libusb-compat-0_1 }: 2 2 let 3 3 version = "0.7.2"; 4 4 in ··· 15 15 16 16 configureFlags = [ "--disable-libusb_1_0" ]; 17 17 18 - meta = with stdenv.lib; { 18 + meta = with lib; { 19 19 license = licenses.gpl2; 20 20 description = "A Device Firmware Update based USB programmer for Atmel chips with a USB bootloader"; 21 21 homepage = "http://dfu-programmer.sourceforge.net/";
+2 -2
pkgs/development/tools/misc/dfu-util/default.nix
··· 1 - { stdenv, fetchurl, pkg-config, libusb1 }: 1 + { lib, stdenv, fetchurl, pkg-config, libusb1 }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "dfu-util"; ··· 12 12 sha256 = "0hlvc47ccf5hry13saqhc1j5cdq5jyjv4i05kj0mdh3rzj6wagd0"; 13 13 }; 14 14 15 - meta = with stdenv.lib; { 15 + meta = with lib; { 16 16 description = "Device firmware update (DFU) USB programmer"; 17 17 longDescription = '' 18 18 dfu-util is a program that implements the host (PC) side of the USB
+6 -6
pkgs/development/tools/misc/dialog/default.nix
··· 1 - { stdenv, fetchurl 1 + { lib, stdenv, fetchurl 2 2 , ncurses 3 3 , withLibrary ? false, libtool 4 4 , unicodeSupport ? true ··· 24 24 25 25 configureFlags = [ 26 26 "--disable-rpath-hacks" 27 - (stdenv.lib.withFeature withLibrary "libtool") 28 - "--with-ncurses${stdenv.lib.optionalString unicodeSupport "w"}" 29 - "--with-libtool-opts=${stdenv.lib.optionalString enableShared "-shared"}" 27 + (lib.withFeature withLibrary "libtool") 28 + "--with-ncurses${lib.optionalString unicodeSupport "w"}" 29 + "--with-libtool-opts=${lib.optionalString enableShared "-shared"}" 30 30 ]; 31 31 32 - installTargets = [ "install${stdenv.lib.optionalString withLibrary "-full"}" ]; 32 + installTargets = [ "install${lib.optionalString withLibrary "-full"}" ]; 33 33 34 - meta = with stdenv.lib; { 34 + meta = with lib; { 35 35 homepage = "https://invisible-island.net/dialog/dialog.html"; 36 36 description = "Display dialog boxes from shell"; 37 37 license = licenses.lgpl21Plus;
+2 -2
pkgs/development/tools/misc/direvent/default.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 , fetchurl 3 3 }: 4 4 ··· 11 11 sha256 = "0m9vi01b1km0cpknflyzsjnknbava0s1n6393b2bpjwyvb6j5613"; 12 12 }; 13 13 14 - meta = with stdenv.lib; { 14 + meta = with lib; { 15 15 description = "Directory event monitoring daemon"; 16 16 homepage = "https://www.gnu.org.ua/software/direvent/"; 17 17 license = licenses.gpl3Plus;
+3 -3
pkgs/development/tools/misc/distcc/default.nix
··· 1 - { stdenv, fetchFromGitHub, popt, avahi, pkg-config, python, gtk2, runCommand 1 + { lib, stdenv, fetchFromGitHub, popt, avahi, pkg-config, python, gtk2, runCommand 2 2 , gcc, autoconf, automake, which, procps, libiberty_static 3 3 , runtimeShell 4 4 , sysconfDir ? "" # set this parameter to override the default value $out/etc ··· 76 76 homepage = "http://distcc.org"; 77 77 license = "GPL"; 78 78 79 - platforms = stdenv.lib.platforms.linux; 80 - maintainers = with stdenv.lib.maintainers; [ anderspapitto ]; 79 + platforms = lib.platforms.linux; 80 + maintainers = with lib.maintainers; [ anderspapitto ]; 81 81 }; 82 82 }; 83 83 in
+2 -2
pkgs/development/tools/misc/distcc/masq.nix
··· 1 - { stdenv, gccRaw, binutils }: 1 + { lib, stdenv, gccRaw, binutils }: 2 2 3 3 stdenv.mkDerivation { 4 4 name = "distcc-masq-${gccRaw.name}"; ··· 39 39 ''; 40 40 41 41 meta = { 42 - platforms = stdenv.lib.platforms.linux; 42 + platforms = lib.platforms.linux; 43 43 }; 44 44 }
+2 -2
pkgs/development/tools/misc/doclifter/default.nix
··· 1 - {stdenv, fetchurl, python}: 1 + {lib, stdenv, fetchurl, python}: 2 2 3 3 stdenv.mkDerivation { 4 4 name = "doclifter-2.19"; ··· 21 21 description = "Lift documents in nroff markups to XML-DocBook"; 22 22 homepage = "http://www.catb.org/esr/doclifter"; 23 23 license = "BSD"; 24 - platforms = stdenv.lib.platforms.unix; 24 + platforms = lib.platforms.unix; 25 25 }; 26 26 }
+2 -2
pkgs/development/tools/misc/docopts/default.nix
··· 1 - { stdenv, buildGoPackage, fetchFromGitHub }: 1 + { lib, stdenv, buildGoPackage, fetchFromGitHub }: 2 2 3 3 buildGoPackage rec { 4 4 pname = "docopts"; ··· 21 21 install -D -m 755 ./go/src/$goPackagePath/docopts.sh $out/bin/docopts.sh 22 22 ''; 23 23 24 - meta = with stdenv.lib; { 24 + meta = with lib; { 25 25 homepage = "https://github.com/docopt/${pname}"; 26 26 description = "docopt CLI tool for shell scripting"; 27 27 license = licenses.mit;
+3 -3
pkgs/development/tools/misc/drush/default.nix
··· 1 - { stdenv, fetchurl, php73, which, makeWrapper, bash, coreutils, ncurses }: 1 + { lib, stdenv, fetchurl, php73, which, makeWrapper, bash, coreutils, ncurses }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "drush-6.1.0"; 5 5 6 - meta = with stdenv.lib; { 6 + meta = with lib; { 7 7 description = "Command-line shell and Unix scripting interface for Drupal"; 8 8 homepage = "https://github.com/drush-ops/drush"; 9 9 license = licenses.gpl2; ··· 32 32 mkdir -p "$out" 33 33 cp -r . "$out/src" 34 34 mkdir "$out/bin" 35 - wrapProgram "$out/src/drush" --prefix PATH : "${stdenv.lib.makeBinPath [ which php73 bash coreutils ncurses ]}" 35 + wrapProgram "$out/src/drush" --prefix PATH : "${lib.makeBinPath [ which php73 bash coreutils ncurses ]}" 36 36 ln -s "$out/src/drush" "$out/bin/drush" 37 37 ''; 38 38 }
+2 -2
pkgs/development/tools/misc/editorconfig-core-c/default.nix
··· 1 - { stdenv, fetchgit, cmake, pcre, doxygen }: 1 + { lib, stdenv, fetchgit, cmake, pcre, doxygen }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "editorconfig-core-c-${meta.version}"; ··· 18 18 # parallel: https://bugzilla.gnome.org/show_bug.cgi?id=791153 19 19 enableParallelBuilding = false; 20 20 21 - meta = with stdenv.lib; { 21 + meta = with lib; { 22 22 homepage = "https://editorconfig.org/"; 23 23 description = "EditorConfig core library written in C"; 24 24 longDescription = ''
+2 -2
pkgs/development/tools/misc/eggdbus/default.nix
··· 1 - { stdenv, fetchurl, pkg-config, glib, dbus, dbus-glib }: 1 + { lib, stdenv, fetchurl, pkg-config, glib, dbus, dbus-glib }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "eggdbus-0.6"; ··· 11 11 nativeBuildInputs = [ pkg-config ]; 12 12 buildInputs = [ glib dbus dbus-glib ]; 13 13 14 - meta = with stdenv.lib; { 14 + meta = with lib; { 15 15 homepage = "https://hal.freedesktop.org/releases/"; 16 16 description = "D-Bus bindings for GObject"; 17 17 platforms = platforms.linux;
+2 -2
pkgs/development/tools/misc/elfinfo/default.nix
··· 1 - { stdenv, buildGoPackage, fetchFromGitHub }: 1 + { lib, stdenv, buildGoPackage, fetchFromGitHub }: 2 2 3 3 buildGoPackage rec { 4 4 pname = "elfinfo"; ··· 12 12 sha256 = "1n8bg0rcq9fqa6rdnk6x9ngvm59hcayblkpjv9j5myn2vmm6fv8m"; 13 13 }; 14 14 15 - meta = with stdenv.lib; { 15 + meta = with lib; { 16 16 description = "Small utility for showing information about ELF files"; 17 17 homepage = "https://elfinfo.roboticoverlords.org/"; 18 18 license = licenses.mit;
+2 -2
pkgs/development/tools/misc/elfkickers/default.nix
··· 1 - { stdenv, fetchurl }: 1 + { lib, stdenv, fetchurl }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "elfkickers"; ··· 13 13 14 14 enableParallelBuilding = true; 15 15 16 - meta = with stdenv.lib; { 16 + meta = with lib; { 17 17 homepage = "http://www.muppetlabs.com/~breadbox/software/elfkickers.html"; 18 18 description = "A collection of programs that access and manipulate ELF files"; 19 19 platforms = platforms.linux;
+2 -2
pkgs/development/tools/misc/epm/default.nix
··· 1 - {stdenv, fetchFromGitHub, rpm}: 1 + {lib, stdenv, fetchFromGitHub, rpm}: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "epm"; ··· 17 17 sed -i 's/README/README.md/' Makefile 18 18 ''; 19 19 20 - meta = with stdenv.lib; { 20 + meta = with lib; { 21 21 description = "The ESP Package Manager generates distribution archives for a variety of platforms"; 22 22 homepage = "https://www.msweet.org/projects.php?Z2"; 23 23 license = licenses.gpl2;
+2 -2
pkgs/development/tools/misc/findnewest/default.nix
··· 1 - { stdenv, fetchFromGitHub, autoreconfHook }: 1 + { lib, stdenv, fetchFromGitHub, autoreconfHook }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "findnewest"; ··· 13 13 14 14 nativeBuildInputs = [ autoreconfHook ]; 15 15 16 - meta = with stdenv.lib; { 16 + meta = with lib; { 17 17 homepage = "https://github.com/0-wiz-0/findnewest"; 18 18 description = "Recursively find newest file in a hierarchy and print its timestamp"; 19 19 license = licenses.bsd2;
+2 -2
pkgs/development/tools/misc/fsatrace/default.nix
··· 1 - { stdenv, fetchFromGitHub }: 1 + { lib, stdenv, fetchFromGitHub }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "fsatrace"; ··· 24 24 ln -s $out/$installDir/fsatrace $out/bin/fsatrace 25 25 ''; 26 26 27 - meta = with stdenv.lib; { 27 + meta = with lib; { 28 28 homepage = "https://github.com/jacereda/fsatrace"; 29 29 description = "filesystem access tracer"; 30 30 license = licenses.isc;
+3 -3
pkgs/development/tools/misc/fswatch/default.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 , fetchFromGitHub 3 3 , autoreconfHook 4 4 # for xargs ··· 20 20 sha256 = "11479ac436g8bwk0lfnmdms0cirv9k11pdvfrrg9jwkki1j1abkk"; 21 21 }; 22 22 23 - nativeBuildInputs = [ autoreconfHook ] ++ stdenv.lib.optionals stdenv.isDarwin [ CoreServices ]; 23 + nativeBuildInputs = [ autoreconfHook ] ++ lib.optionals stdenv.isDarwin [ CoreServices ]; 24 24 buildInputs = [ gettext libtool makeWrapper texinfo ]; 25 25 26 26 enableParallelBuilding = true; 27 27 28 - meta = with stdenv.lib; { 28 + meta = with lib; { 29 29 description = "A cross-platform file change monitor with multiple backends"; 30 30 homepage = "https://github.com/emcrisostomo/fswatch"; 31 31 license = licenses.gpl3Plus;
+3 -3
pkgs/development/tools/misc/fujprog/default.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 , fetchFromGitHub 3 3 , cmake 4 4 , pkg-config ··· 26 26 buildInputs = [ 27 27 libftdi1 28 28 libusb-compat-0_1 29 - ] ++ stdenv.lib.optionals stdenv.isDarwin [ IOKit ]; 29 + ] ++ lib.optionals stdenv.isDarwin [ IOKit ]; 30 30 31 - meta = with stdenv.lib; { 31 + meta = with lib; { 32 32 description = "JTAG programmer for the ULX3S and ULX2S open hardware FPGA development boards"; 33 33 homepage = "https://github.com/kost/fujprog"; 34 34 license = licenses.bsd2;
+11 -11
pkgs/development/tools/misc/gdb/default.nix
··· 1 - { stdenv, targetPackages 1 + { lib, stdenv, targetPackages 2 2 3 3 # Build time 4 4 , fetchurl, pkg-config, perl, texinfo, setupDebugInfoDirs, buildPackages ··· 18 18 19 19 let 20 20 basename = "gdb"; 21 - targetPrefix = stdenv.lib.optionalString (stdenv.targetPlatform != stdenv.hostPlatform) 21 + targetPrefix = lib.optionalString (stdenv.targetPlatform != stdenv.hostPlatform) 22 22 "${stdenv.targetPlatform.config}-"; 23 23 in 24 24 ··· 40 40 41 41 patches = [ 42 42 ./debug-info-from-env.patch 43 - ] ++ stdenv.lib.optionals stdenv.isDarwin [ 43 + ] ++ lib.optionals stdenv.isDarwin [ 44 44 ./darwin-target-match.patch 45 45 ]; 46 46 47 47 nativeBuildInputs = [ pkg-config texinfo perl setupDebugInfoDirs ]; 48 48 49 49 buildInputs = [ ncurses readline gmp mpfr expat libipt zlib guile ] 50 - ++ stdenv.lib.optional pythonSupport python3 51 - ++ stdenv.lib.optional doCheck dejagnu; 50 + ++ lib.optional pythonSupport python3 51 + ++ lib.optional doCheck dejagnu; 52 52 53 53 propagatedNativeBuildInputs = [ setupDebugInfoDirs ]; 54 54 ··· 57 57 enableParallelBuilding = true; 58 58 59 59 # darwin build fails with format hardening since v7.12 60 - hardeningDisable = stdenv.lib.optionals stdenv.isDarwin [ "format" ]; 60 + hardeningDisable = lib.optionals stdenv.isDarwin [ "format" ]; 61 61 62 62 NIX_CFLAGS_COMPILE = "-Wno-format-nonliteral"; 63 63 64 64 # TODO(@Ericson2314): Always pass "--target" and always prefix. 65 - configurePlatforms = [ "build" "host" ] ++ stdenv.lib.optional (stdenv.targetPlatform != stdenv.hostPlatform) "target"; 65 + configurePlatforms = [ "build" "host" ] ++ lib.optional (stdenv.targetPlatform != stdenv.hostPlatform) "target"; 66 66 67 67 # GDB have to be built out of tree. 68 68 preConfigure = '' ··· 71 71 ''; 72 72 configureScript = "../configure"; 73 73 74 - configureFlags = with stdenv.lib; [ 74 + configureFlags = with lib; [ 75 75 "--enable-targets=all" "--enable-64-bit-bfd" 76 76 "--disable-install-libbfd" 77 77 "--disable-shared" "--enable-static" ··· 82 82 "--with-mpfr=${mpfr.dev}" 83 83 "--with-expat" "--with-libexpat-prefix=${expat.dev}" 84 84 "--with-auto-load-safe-path=${builtins.concatStringsSep ":" safePaths}" 85 - ] ++ stdenv.lib.optional (!pythonSupport) "--without-python"; 85 + ] ++ lib.optional (!pythonSupport) "--without-python"; 86 86 87 87 postInstall = 88 88 '' # Remove Info files already provided by Binutils and other packages. ··· 92 92 # TODO: Investigate & fix the test failures. 93 93 doCheck = false; 94 94 95 - meta = with stdenv.lib; { 95 + meta = with lib; { 96 96 description = "The GNU Project debugger"; 97 97 98 98 longDescription = '' ··· 103 103 104 104 homepage = "https://www.gnu.org/software/gdb/"; 105 105 106 - license = stdenv.lib.licenses.gpl3Plus; 106 + license = lib.licenses.gpl3Plus; 107 107 108 108 platforms = with platforms; linux ++ cygwin ++ darwin; 109 109 maintainers = with maintainers; [ pierron globin lsix ];
+3 -3
pkgs/development/tools/misc/gdbgui/default.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 , buildPythonApplication 3 3 , fetchPypi 4 4 , gdb ··· 41 41 42 42 postInstall = '' 43 43 wrapProgram $out/bin/gdbgui \ 44 - --prefix PATH : ${stdenv.lib.makeBinPath [ gdb ]} 44 + --prefix PATH : ${lib.makeBinPath [ gdb ]} 45 45 ''; 46 46 47 47 # tests do not work without stdout/stdin 48 48 doCheck = false; 49 49 50 - meta = with stdenv.lib; { 50 + meta = with lib; { 51 51 description = "A browser-based frontend for GDB"; 52 52 homepage = "https://www.gdbgui.com/"; 53 53 license = licenses.gpl3;
+3 -3
pkgs/development/tools/misc/gengetopt/default.nix
··· 1 - { fetchurl, stdenv, texinfo, help2man }: 1 + { fetchurl, lib, stdenv, texinfo, help2man }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "gengetopt"; ··· 37 37 38 38 homepage = "https://www.gnu.org/software/gengetopt/"; 39 39 40 - license = stdenv.lib.licenses.gpl3Plus; 40 + license = lib.licenses.gpl3Plus; 41 41 42 42 maintainers = [ ]; 43 - platforms = stdenv.lib.platforms.all; 43 + platforms = lib.platforms.all; 44 44 }; 45 45 }
+2 -2
pkgs/development/tools/misc/global/default.nix
··· 1 - { fetchurl, stdenv, libtool, makeWrapper 1 + { fetchurl, lib, stdenv, libtool, makeWrapper 2 2 , coreutils, ctags, ncurses, pythonPackages, sqlite, universal-ctags 3 3 }: 4 4 ··· 39 39 --prefix PYTHONPATH : "$(toPythonPath ${pythonPackages.pygments})" 40 40 ''; 41 41 42 - meta = with stdenv.lib; { 42 + meta = with lib; { 43 43 description = "Source code tag system"; 44 44 longDescription = '' 45 45 GNU GLOBAL is a source code tagging system that works the same way
+4 -4
pkgs/development/tools/misc/gnum4/default.nix
··· 1 - { stdenv, fetchurl }: 1 + { lib, stdenv, fetchurl }: 2 2 3 3 # Note: this package is used for bootstrapping fetchurl, and thus 4 4 # cannot use fetchpatch! All mutable patches (generated by GitHub or ··· 26 26 sha256 = "12lmdnbml9lfvy0khpjc42riicddaz7li8wmbnsam7zsw6al11qk"; 27 27 }) 28 28 ] 29 - ++ stdenv.lib.optional stdenv.isDarwin ./darwin-secure-format.patch; 29 + ++ lib.optional stdenv.isDarwin ./darwin-secure-format.patch; 30 30 31 31 meta = { 32 32 homepage = "https://www.gnu.org/software/m4/"; ··· 49 49 compiler or as a macro processor in its own right. 50 50 ''; 51 51 52 - license = stdenv.lib.licenses.gpl3Plus; 53 - platforms = stdenv.lib.platforms.unix ++ stdenv.lib.platforms.windows; 52 + license = lib.licenses.gpl3Plus; 53 + platforms = lib.platforms.unix ++ lib.platforms.windows; 54 54 }; 55 55 56 56 }
+4 -4
pkgs/development/tools/misc/gob2/default.nix
··· 1 - { stdenv, fetchurl, pkg-config, glib, bison, flex, gnome3 }: 1 + { lib, stdenv, fetchurl, pkg-config, glib, bison, flex, gnome3 }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "gob2"; 5 5 version = "2.0.20"; 6 6 7 7 src = fetchurl { 8 - url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 8 + url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 9 9 sha256 = "5fe5d7990fd65b0d4b617ba894408ebaa6df453f2781c15a1cfdf2956c0c5428"; 10 10 }; 11 11 ··· 23 23 meta = { 24 24 description = "Preprocessor for making GObjects with inline C code"; 25 25 homepage = "https://www.jirka.org/gob.html"; 26 - license = stdenv.lib.licenses.gpl2Plus; 27 - platforms = stdenv.lib.platforms.unix; 26 + license = lib.licenses.gpl2Plus; 27 + platforms = lib.platforms.unix; 28 28 }; 29 29 }
+3 -3
pkgs/development/tools/misc/gperf/3.0.x.nix
··· 1 - {stdenv, fetchurl, autoreconfHook }: 1 + {lib, stdenv, fetchurl, autoreconfHook }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "gperf-3.0.4"; ··· 27 27 employed by gperf. 28 28 ''; 29 29 30 - license = stdenv.lib.licenses.gpl3Plus; 30 + license = lib.licenses.gpl3Plus; 31 31 32 32 homepage = "https://www.gnu.org/software/gperf/"; 33 - platforms = stdenv.lib.platforms.unix; 33 + platforms = lib.platforms.unix; 34 34 }; 35 35 }
+3 -3
pkgs/development/tools/misc/gperf/default.nix
··· 1 - {stdenv, fetchurl}: 1 + {lib, stdenv, fetchurl}: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "gperf-3.1"; ··· 25 25 employed by gperf. 26 26 ''; 27 27 28 - license = stdenv.lib.licenses.gpl3Plus; 28 + license = lib.licenses.gpl3Plus; 29 29 30 30 homepage = "https://www.gnu.org/software/gperf/"; 31 - platforms = stdenv.lib.platforms.unix; 31 + platforms = lib.platforms.unix; 32 32 }; 33 33 }
+2 -2
pkgs/development/tools/misc/gpshell/default.nix
··· 1 - { stdenv, fetchurl, pkg-config, globalplatform, pcsclite, gppcscconnectionplugin 1 + { lib, stdenv, fetchurl, pkg-config, globalplatform, pcsclite, gppcscconnectionplugin 2 2 , makeWrapper 3 3 }: 4 4 ··· 18 18 wrapProgram "$out/bin/gpshell" --prefix LD_LIBRARY_PATH : "${gppcscconnectionplugin}/lib" 19 19 ''; 20 20 21 - meta = with stdenv.lib; { 21 + meta = with lib; { 22 22 homepage = "https://sourceforge.net/p/globalplatform/wiki/Home/"; 23 23 description = "Smartcard management application"; 24 24 license = licenses.gpl3;
+2 -2
pkgs/development/tools/misc/gputils/default.nix
··· 1 - { stdenv, fetchurl }: 1 + { lib, stdenv, fetchurl }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "gputils"; ··· 9 9 sha256 = "055v83fdgqljprapf7rmh8x66mr13fj0qypj49xba5spx0ca123g"; 10 10 }; 11 11 12 - meta = with stdenv.lib; { 12 + meta = with lib; { 13 13 homepage = "https://gputils.sourceforge.io"; 14 14 description = "A collection of tools for the Microchip (TM) PIC microcontrollers. It includes gpasm, gplink, and gplib"; 15 15 license = licenses.gpl2;
+3 -3
pkgs/development/tools/misc/gtkdialog/default.nix
··· 1 - {stdenv, fetchurl, gtk2, pkg-config }: 1 + {lib, stdenv, fetchurl, gtk2, pkg-config }: 2 2 3 3 stdenv.mkDerivation { 4 4 name = "gtkdialog-0.8.3"; ··· 15 15 homepage = "https://code.google.com/archive/p/gtkdialog/"; 16 16 # community links: http://murga-linux.com/puppy/viewtopic.php?t=111923 -> https://github.com/01micko/gtkdialog 17 17 description = "Small utility for fast and easy GUI building from many scripted and compiled languages"; 18 - license = stdenv.lib.licenses.gpl2Plus; 19 - platforms = stdenv.lib.platforms.linux; 18 + license = lib.licenses.gpl2Plus; 19 + platforms = lib.platforms.linux; 20 20 }; 21 21 }
+2 -2
pkgs/development/tools/misc/gtkperf/default.nix
··· 1 - { stdenv, fetchurl, gtk2, pkg-config, libintl }: 1 + { lib, stdenv, fetchurl, gtk2, pkg-config, libintl }: 2 2 3 3 stdenv.mkDerivation { 4 4 name = "gtkperf-0.40.0"; ··· 15 15 # https://openbenchmarking.org/innhold/7e9780c11550d09aa67bdba71248facbe2d781db 16 16 patches = [ ./bench.patch ]; 17 17 18 - meta = with stdenv.lib; { 18 + meta = with lib; { 19 19 description = "Application designed to test GTK performance"; 20 20 homepage = "http://gtkperf.sourceforge.net/"; 21 21 license = with licenses; [ gpl2 ];
+3 -3
pkgs/development/tools/misc/help2man/default.nix
··· 1 - { stdenv, fetchurl, perlPackages, gettext }: 1 + { lib, stdenv, fetchurl, perlPackages, gettext }: 2 2 3 3 # Note: this package is used for bootstrapping fetchurl, and thus 4 4 # cannot use fetchpatch! All mutable patches (generated by GitHub or ··· 27 27 cat > $out/bin/help2man <<EOF 28 28 #! $SHELL -e 29 29 export PERL5LIB=\''${PERL5LIB:+:}${perlPackages.LocaleGettext}/${perlPackages.perl.libPrefix} 30 - ${stdenv.lib.optionalString stdenv.hostPlatform.isCygwin 30 + ${lib.optionalString stdenv.hostPlatform.isCygwin 31 31 ''export PATH=\''${PATH:+:}${gettext}/bin''} 32 32 exec -a \$0 $out/bin/.help2man-wrapped "\$@" 33 33 EOF 34 34 chmod +x $out/bin/help2man 35 35 ''; 36 36 37 - meta = with stdenv.lib; { 37 + meta = with lib; { 38 38 description = "Generate man pages from `--help' output"; 39 39 40 40 longDescription =
+4 -4
pkgs/development/tools/misc/hound/default.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 , buildGoPackage 3 3 , fetchFromGitHub 4 4 , makeWrapper ··· 32 32 inherit (src.meta) homepage; 33 33 34 34 description = "Lightning fast code searching made easy"; 35 - license = stdenv.lib.licenses.mit; 36 - maintainers = with stdenv.lib.maintainers; [ grahamc ]; 37 - platforms = stdenv.lib.platforms.unix; 35 + license = lib.licenses.mit; 36 + maintainers = with lib.maintainers; [ grahamc ]; 37 + platforms = lib.platforms.unix; 38 38 }; 39 39 }
+1 -1
pkgs/development/tools/misc/hydra-cli/default.nix
··· 19 19 pkg-config 20 20 ]; 21 21 22 - meta = with stdenv.lib; { 22 + meta = with lib; { 23 23 description = "A client for the Hydra CI"; 24 24 homepage = "https://github.com/nlewo/hydra-cli"; 25 25 license = with licenses; [ mit ];
+1 -1
pkgs/development/tools/misc/hydra/common.nix
··· 128 128 129 129 passthru = { inherit perlDeps migration tests; }; 130 130 131 - meta = with stdenv.lib; { 131 + meta = with lib; { 132 132 description = "Nix-based continuous build system"; 133 133 license = licenses.gpl3; 134 134 platforms = platforms.linux;
+2 -2
pkgs/development/tools/misc/icon-naming-utils/default.nix
··· 1 - {stdenv, fetchurl, perlPackages, librsvg}: 1 + {lib, stdenv, fetchurl, perlPackages, librsvg}: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "icon-naming-utils-0.8.90"; ··· 17 17 --replace '/bin/perl' '/bin/perl -I${perlPackages.XMLSimple}/${perlPackages.perl.libPrefix}' 18 18 ''; 19 19 20 - meta = with stdenv.lib; { 20 + meta = with lib; { 21 21 homepage = "http://tango.freedesktop.org/Standard_Icon_Naming_Specification"; 22 22 platforms = with platforms; linux ++ darwin; 23 23 license = licenses.gpl2;
+4 -4
pkgs/development/tools/misc/igprof/default.nix
··· 1 - {stdenv, fetchFromGitHub, libunwind, cmake, pcre, gdb}: 1 + {lib, stdenv, fetchFromGitHub, libunwind, cmake, pcre, gdb}: 2 2 3 3 stdenv.mkDerivation rec { 4 4 version = "5.9.16"; ··· 34 34 details and see the big picture from combined workloads. 35 35 ''; 36 36 37 - license = stdenv.lib.licenses.gpl2; 37 + license = lib.licenses.gpl2; 38 38 39 39 homepage = "https://igprof.org/"; 40 - platforms = stdenv.lib.platforms.linux; 41 - maintainers = with stdenv.lib.maintainers; [ ktf ]; 40 + platforms = lib.platforms.linux; 41 + maintainers = with lib.maintainers; [ ktf ]; 42 42 }; 43 43 }
+5 -5
pkgs/development/tools/misc/indent/default.nix
··· 1 - { stdenv, fetchurl, texinfo }: 1 + { lib, stdenv, fetchurl, texinfo }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "indent-2.2.12"; ··· 12 12 13 13 buildInputs = [ texinfo ]; 14 14 15 - NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.cc.isClang 15 + NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang 16 16 "-Wno-implicit-function-declaration"; 17 17 18 18 hardeningDisable = [ "format" ]; ··· 20 20 meta = { 21 21 homepage = "https://www.gnu.org/software/indent/"; 22 22 description = "A source code reformatter"; 23 - license = stdenv.lib.licenses.gpl3Plus; 24 - maintainers = [ stdenv.lib.maintainers.mmahut ]; 25 - platforms = stdenv.lib.platforms.unix; 23 + license = lib.licenses.gpl3Plus; 24 + maintainers = [ lib.maintainers.mmahut ]; 25 + platforms = lib.platforms.unix; 26 26 }; 27 27 }
+2 -2
pkgs/development/tools/misc/inotify-tools/default.nix
··· 1 - { stdenv, autoreconfHook, fetchFromGitHub, fetchpatch }: 1 + { lib, stdenv, autoreconfHook, fetchFromGitHub, fetchpatch }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "inotify-tools"; ··· 20 20 21 21 nativeBuildInputs = [ autoreconfHook ]; 22 22 23 - meta = with stdenv.lib; { 23 + meta = with lib; { 24 24 homepage = "https://github.com/rvoicilas/inotify-tools/wiki"; 25 25 license = licenses.gpl2; 26 26 maintainers = with maintainers; [ marcweber pSub ];
+2 -2
pkgs/development/tools/misc/intel-gpu-tools/default.nix
··· 1 - { stdenv, fetchurl, pkg-config, libdrm, libpciaccess, cairo, xorgproto, udev 1 + { lib, stdenv, fetchurl, pkg-config, libdrm, libpciaccess, cairo, xorgproto, udev 2 2 , libX11, libXext, libXv, libXrandr, glib, bison, libunwind, python3, kmod 3 3 , procps, utilmacros, gtk-doc, openssl, peg, elfutils 4 4 }: ··· 33 33 34 34 enableParallelBuilding = true; 35 35 36 - meta = with stdenv.lib; { 36 + meta = with lib; { 37 37 homepage = "https://01.org/linuxgraphics/"; 38 38 description = "Tools for development and testing of the Intel DRM driver"; 39 39 license = licenses.mit;
+3 -3
pkgs/development/tools/misc/intltool/default.nix
··· 1 - { stdenv, fetchurl, fetchpatch, gettext, perlPackages, buildPackages }: 1 + { lib, stdenv, fetchurl, fetchpatch, gettext, perlPackages, buildPackages }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "intltool"; ··· 22 22 nativeBuildInputs = with perlPackages; [ perl XMLParser ]; 23 23 propagatedBuildInputs = [ gettext ] ++ (with perlPackages; [ perl XMLParser ]); 24 24 25 - postInstall = stdenv.lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) '' 25 + postInstall = lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) '' 26 26 for f in $out/bin/*; do 27 27 substituteInPlace $f --replace "${buildPackages.perl}" "${perlPackages.perl}" 28 28 done 29 29 ''; 30 - meta = with stdenv.lib; { 30 + meta = with lib; { 31 31 description = "Translation helper tool"; 32 32 homepage = "https://launchpad.net/intltool/"; 33 33 license = licenses.gpl2Plus;
+2 -2
pkgs/development/tools/misc/iozone/default.nix
··· 55 55 meta = { 56 56 description = "IOzone Filesystem Benchmark"; 57 57 homepage = "http://www.iozone.org/"; 58 - license = stdenv.lib.licenses.unfreeRedistributable; 58 + license = lib.licenses.unfreeRedistributable; 59 59 platforms = ["i686-linux" "x86_64-linux" "x86_64-darwin" "aarch64-linux" ]; 60 - maintainers = with stdenv.lib.maintainers; [ Baughn makefu ]; 60 + maintainers = with lib.maintainers; [ Baughn makefu ]; 61 61 }; 62 62 }
+2 -2
pkgs/development/tools/misc/itm-tools/default.nix
··· 1 - { stdenv, fetchFromGitHub, rustPlatform, pkg-config }: 1 + { lib, stdenv, fetchFromGitHub, rustPlatform, pkg-config }: 2 2 3 3 rustPlatform.buildRustPackage rec { 4 4 pname = "itm-tools"; ··· 19 19 20 20 doCheck = false; 21 21 22 - meta = with stdenv.lib; { 22 + meta = with lib; { 23 23 description = "Tools for analyzing ITM traces"; 24 24 homepage = "https://github.com/japaric/itm-tools"; 25 25 license = with licenses; [ asl20 mit ];
+2 -2
pkgs/development/tools/misc/itstool/default.nix
··· 19 19 meta = { 20 20 homepage = "http://itstool.org/"; 21 21 description = "XML to PO and back again"; 22 - license = stdenv.lib.licenses.gpl3Plus; 23 - platforms = stdenv.lib.platforms.all; 22 + license = lib.licenses.gpl3Plus; 23 + platforms = lib.platforms.all; 24 24 maintainers = [ ]; 25 25 }; 26 26 }
+3 -3
pkgs/development/tools/misc/jscoverage/default.nix
··· 1 - { autoconf, fetchurl, makedepend, perl, python, stdenv, unzip, zip }: 1 + { autoconf, fetchurl, makedepend, perl, python, lib, stdenv, unzip, zip }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "jscoverage-0.5.1"; ··· 46 46 ''; 47 47 48 48 homepage = "http://siliconforks.com/jscoverage/"; 49 - license = stdenv.lib.licenses.gpl2; 50 - platforms = stdenv.lib.platforms.linux; 49 + license = lib.licenses.gpl2; 50 + platforms = lib.platforms.linux; 51 51 }; 52 52 }
+3 -3
pkgs/development/tools/misc/kconfig-frontends/default.nix
··· 1 - { stdenv, fetchurl, pkg-config, bison, flex, gperf, ncurses, pythonPackages }: 1 + { lib, stdenv, fetchurl, pkg-config, bison, flex, gperf, ncurses, pythonPackages }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 basename = "kconfig-frontends"; ··· 21 21 wrapPythonPrograms 22 22 ''; 23 23 24 - NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.cc.isClang "-Wno-error=format-security"; 24 + NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-error=format-security"; 25 25 26 - meta = with stdenv.lib; { 26 + meta = with lib; { 27 27 description = "Out of Linux tree packaging of the kconfig infrastructure"; 28 28 longDescription = '' 29 29 Configuration language and system for the Linux kernel and other
+2 -2
pkgs/development/tools/misc/kdbg/default.nix
··· 1 - { stdenv, fetchurl, cmake, extra-cmake-modules, qt5, 1 + { lib, stdenv, fetchurl, cmake, extra-cmake-modules, qt5, 2 2 ki18n, kconfig, kiconthemes, kxmlgui, kwindowsystem, 3 3 qtbase, makeWrapper, 4 4 }: ··· 18 18 wrapProgram $out/bin/kdbg --prefix QT_PLUGIN_PATH : ${qtbase}/${qtbase.qtPluginPrefix} 19 19 ''; 20 20 21 - meta = with stdenv.lib; { 21 + meta = with lib; { 22 22 homepage = "https://www.kdbg.org/"; 23 23 description = '' 24 24 A graphical user interface to gdb, the GNU debugger. It provides an
+3 -3
pkgs/development/tools/misc/kibana/6.x.nix
··· 1 1 { elk6Version 2 2 , enableUnfree ? true 3 - , stdenv 3 + , lib, stdenv 4 4 , makeWrapper 5 5 , fetchurl 6 6 , nodejs-10_x ··· 8 8 , which 9 9 }: 10 10 11 - with stdenv.lib; 11 + with lib; 12 12 let 13 13 nodejs = nodejs-10_x; 14 14 inherit (builtins) elemAt; ··· 49 49 mv * $out/libexec/kibana/ 50 50 rm -r $out/libexec/kibana/node 51 51 makeWrapper $out/libexec/kibana/bin/kibana $out/bin/kibana \ 52 - --prefix PATH : "${stdenv.lib.makeBinPath [ nodejs coreutils which ]}" 52 + --prefix PATH : "${lib.makeBinPath [ nodejs coreutils which ]}" 53 53 sed -i 's@NODE=.*@NODE=${nodejs}/bin/node@' $out/libexec/kibana/bin/kibana 54 54 ''; 55 55
+3 -3
pkgs/development/tools/misc/kibana/7.x.nix
··· 1 1 { elk7Version 2 2 , enableUnfree ? true 3 - , stdenv 3 + , lib, stdenv 4 4 , makeWrapper 5 5 , fetchurl 6 6 , nodejs-10_x ··· 8 8 , which 9 9 }: 10 10 11 - with stdenv.lib; 11 + with lib; 12 12 let 13 13 nodejs = nodejs-10_x; 14 14 inherit (builtins) elemAt; ··· 49 49 mv * $out/libexec/kibana/ 50 50 rm -r $out/libexec/kibana/node 51 51 makeWrapper $out/libexec/kibana/bin/kibana $out/bin/kibana \ 52 - --prefix PATH : "${stdenv.lib.makeBinPath [ nodejs coreutils which ]}" 52 + --prefix PATH : "${lib.makeBinPath [ nodejs coreutils which ]}" 53 53 sed -i 's@NODE=.*@NODE=${nodejs}/bin/node@' $out/libexec/kibana/bin/kibana 54 54 ''; 55 55
+3 -3
pkgs/development/tools/misc/libtool/default.nix
··· 1 - {stdenv, fetchurl, m4, perl}: 1 + {lib, stdenv, fetchurl, m4, perl}: 2 2 3 3 # Note: this package is used for bootstrapping fetchurl, and thus 4 4 # cannot use fetchpatch! All mutable patches (generated by GitHub or ··· 35 35 36 36 homepage = "https://www.gnu.org/software/libtool/"; 37 37 38 - license = stdenv.lib.licenses.gpl2Plus; 39 - platforms = stdenv.lib.platforms.unix; 38 + license = lib.licenses.gpl2Plus; 39 + platforms = lib.platforms.unix; 40 40 }; 41 41 }
+2 -2
pkgs/development/tools/misc/libtool/libtool2.nix
··· 1 - { stdenv, fetchurl, m4, perl, help2man 1 + { lib, stdenv, fetchurl, m4, perl, help2man 2 2 }: 3 3 4 4 stdenv.mkDerivation rec { ··· 26 26 27 27 enableParallelBuilding = true; 28 28 29 - meta = with stdenv.lib; { 29 + meta = with lib; { 30 30 description = "GNU Libtool, a generic library support script"; 31 31 longDescription = '' 32 32 GNU libtool is a generic library support script. Libtool hides
+2 -2
pkgs/development/tools/misc/libwhich/default.nix
··· 1 - { stdenv, fetchFromGitHub }: 1 + { lib, stdenv, fetchFromGitHub }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "libwhich"; ··· 15 15 install -Dm755 -t $out/bin libwhich 16 16 ''; 17 17 18 - meta = with stdenv.lib; { 18 + meta = with lib; { 19 19 description = "Like `which`, for dynamic libraries"; 20 20 homepage = "https://github.com/vtjnash/libwhich"; 21 21 license = licenses.mit;
+2 -2
pkgs/development/tools/misc/loccount/default.nix
··· 1 - { stdenv, buildGoPackage, fetchFromGitLab }: 1 + { lib, stdenv, buildGoPackage, fetchFromGitLab }: 2 2 buildGoPackage rec { 3 3 pname = "loccount"; 4 4 version = "1.2"; ··· 13 13 sha256 = "18z7ai7wy2k9yd3w65d37apfqs3h9bc2c15y7v1bydppi44zfsdk"; 14 14 }; 15 15 16 - meta = with stdenv.lib; { 16 + meta = with lib; { 17 17 description = "Re-implementation of sloccount in Go"; 18 18 longDescription = '' 19 19 loccount is a re-implementation of David A. Wheeler's sloccount tool
+6 -6
pkgs/development/tools/misc/lsof/default.nix
··· 1 - { stdenv, fetchFromGitHub, buildPackages, ncurses }: 1 + { lib, stdenv, fetchFromGitHub, buildPackages, ncurses }: 2 2 3 - let dialect = with stdenv.lib; last (splitString "-" stdenv.hostPlatform.system); in 3 + let dialect = with lib; last (splitString "-" stdenv.hostPlatform.system); in 4 4 5 5 stdenv.mkDerivation rec { 6 6 pname = "lsof"; ··· 18 18 19 19 patches = [ ./no-build-info.patch ]; 20 20 21 - postPatch = stdenv.lib.optionalString stdenv.hostPlatform.isMusl '' 21 + postPatch = lib.optionalString stdenv.hostPlatform.isMusl '' 22 22 substituteInPlace dialects/linux/dlsof.h --replace "defined(__UCLIBC__)" 1 23 - '' + stdenv.lib.optionalString stdenv.isDarwin '' 23 + '' + lib.optionalString stdenv.isDarwin '' 24 24 sed -i 's|lcurses|lncurses|g' Configure 25 25 ''; 26 26 27 27 # Stop build scripts from searching global include paths 28 - LSOF_INCLUDE = "${stdenv.lib.getDev stdenv.cc.libc}/include"; 28 + LSOF_INCLUDE = "${lib.getDev stdenv.cc.libc}/include"; 29 29 configurePhase = "LINUX_CONF_CC=$CC_FOR_BUILD LSOF_CC=$CC LSOF_AR=\"$AR cr\" LSOF_RANLIB=$RANLIB ./Configure -n ${dialect}"; 30 30 preBuild = '' 31 31 for filepath in $(find dialects/${dialect} -type f); do ··· 43 43 cp lsof $out/bin 44 44 ''; 45 45 46 - meta = with stdenv.lib; { 46 + meta = with lib; { 47 47 homepage = "https://github.com/lsof-org/lsof"; 48 48 description = "A tool to list open files"; 49 49 longDescription = ''
+2 -2
pkgs/development/tools/misc/ltrace/default.nix
··· 1 - { stdenv, fetchurl, elfutils, libunwind }: 1 + { lib, stdenv, fetchurl, elfutils, libunwind }: 2 2 3 3 stdenv.mkDerivation { 4 4 name = "ltrace-0.7.3"; ··· 20 20 patches="$patches $(cat debian/patches/series | sed 's|^|debian/patches/|')" 21 21 ''; 22 22 23 - meta = with stdenv.lib; { 23 + meta = with lib; { 24 24 description = "Library call tracer"; 25 25 homepage = "https://www.ltrace.org/"; 26 26 platforms = [ "i686-linux" "x86_64-linux" ];
+2 -2
pkgs/development/tools/misc/lttng-tools/default.nix
··· 1 - { stdenv, fetchurl, pkg-config, popt, libuuid, liburcu, lttng-ust, kmod, libxml2 }: 1 + { lib, stdenv, fetchurl, pkg-config, popt, libuuid, liburcu, lttng-ust, kmod, libxml2 }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "lttng-tools"; ··· 12 12 nativeBuildInputs = [ pkg-config ]; 13 13 buildInputs = [ popt libuuid liburcu lttng-ust libxml2 kmod ]; 14 14 15 - meta = with stdenv.lib; { 15 + meta = with lib; { 16 16 description = "Tracing tools (kernel + user space) for Linux"; 17 17 homepage = "https://lttng.org/"; 18 18 license = licenses.lgpl21;
+2 -2
pkgs/development/tools/misc/lttng-ust/default.nix
··· 1 - { stdenv, fetchurl, liburcu, python3 }: 1 + { lib, stdenv, fetchurl, liburcu, python3 }: 2 2 3 3 # NOTE: 4 4 # ./configure ... ··· 28 28 29 29 propagatedBuildInputs = [ liburcu ]; 30 30 31 - meta = with stdenv.lib; { 31 + meta = with lib; { 32 32 description = "LTTng Userspace Tracer libraries"; 33 33 homepage = "https://lttng.org/"; 34 34 license = licenses.lgpl21Plus;
+2 -2
pkgs/development/tools/misc/lttv/default.nix
··· 1 - { stdenv, fetchurl, pkg-config, glib, gtk2, popt, babeltrace }: 1 + { lib, stdenv, fetchurl, pkg-config, glib, gtk2, popt, babeltrace }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "lttv-1.5"; ··· 11 11 nativeBuildInputs = [ pkg-config ]; 12 12 buildInputs = [ glib gtk2 popt babeltrace ]; 13 13 14 - meta = with stdenv.lib; { 14 + meta = with lib; { 15 15 description = "Graphical trace viewer for LTTng trace files"; 16 16 homepage = "https://lttng.org/"; 17 17 # liblttvtraceread (ltt/ directory) is distributed under the GNU LGPL v2.1.
+2 -2
pkgs/development/tools/misc/luarocks/default.nix
··· 1 - {stdenv, fetchFromGitHub 1 + {lib, stdenv, fetchFromGitHub 2 2 , curl, makeWrapper, which, unzip 3 3 , lua 4 4 # for 'luarocks pack' ··· 62 62 export LUA_PATH="src/?.lua;''${LUA_PATH:-}" 63 63 ''; 64 64 65 - meta = with stdenv.lib; { 65 + meta = with lib; { 66 66 inherit version; 67 67 description = ''A package manager for Lua''; 68 68 license = licenses.mit ;
+2 -2
pkgs/development/tools/misc/macdylibbundler/default.nix
··· 1 - { stdenv, makeWrapper, fetchFromGitHub, cctools }: 1 + { lib, stdenv, makeWrapper, fetchFromGitHub, cctools }: 2 2 3 3 stdenv.mkDerivation { 4 4 pname = "macdylibbundler"; ··· 20 20 --prefix PATH ":" "${cctools}/bin" 21 21 ''; 22 22 23 - meta = with stdenv.lib; { 23 + meta = with lib; { 24 24 description = "Utility to ease bundling libraries into executables for OSX"; 25 25 longDescription = '' 26 26 dylibbundler is a small command-line programs that aims to make bundling
+1 -1
pkgs/development/tools/misc/micronucleus/default.nix
··· 19 19 }; 20 20 21 21 buildInputs = [ libusb-compat-0_1 ]; 22 - makeFlags = stdenv.lib.optionals stdenv.isDarwin [ "CC=cc" ]; 22 + makeFlags = lib.optionals stdenv.isDarwin [ "CC=cc" ]; 23 23 24 24 installPhase = '' 25 25 mkdir -p $out/bin
+3 -3
pkgs/development/tools/misc/msitools/default.nix
··· 1 - { stdenv, fetchurl, intltool, glib, pkg-config, libgsf, libuuid, gcab, bzip2, gnome3 }: 1 + { lib, stdenv, fetchurl, intltool, glib, pkg-config, libgsf, libuuid, gcab, bzip2, gnome3 }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "msitools"; 5 5 version = "0.98"; 6 6 7 7 src = fetchurl { 8 - url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 8 + url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 9 9 sha256 = "19wb3n3nwkpc6bjr0q3f1znaxsfaqgjbdxxnbx8ic8bb5b49hwac"; 10 10 }; 11 11 ··· 18 18 }; 19 19 }; 20 20 21 - meta = with stdenv.lib; { 21 + meta = with lib; { 22 22 description = "Set of programs to inspect and build Windows Installer (.MSI) files"; 23 23 homepage = "https://wiki.gnome.org/msitools"; 24 24 license = [ licenses.gpl2 licenses.lgpl21 ];
+2 -2
pkgs/development/tools/misc/nimlsp/default.nix
··· 1 - { stdenv, fetchFromGitHub, srcOnly, nim }: 1 + { lib, stdenv, fetchFromGitHub, srcOnly, nim }: 2 2 let 3 3 astpatternmatching = fetchFromGitHub { 4 4 owner = "krux02"; ··· 38 38 install -Dt $out/bin src/nimlsp 39 39 ''; 40 40 41 - meta = with stdenv.lib; { 41 + meta = with lib; { 42 42 description = "Language Server Protocol implementation for Nim"; 43 43 homepage = "https://github.com/PMunch/nimlsp"; 44 44 license = licenses.mit;
+2 -2
pkgs/development/tools/misc/ninka/default.nix
··· 1 - { stdenv, fetchFromGitHub, perl, perlPackages }: 1 + { lib, stdenv, fetchFromGitHub, perl, perlPackages }: 2 2 3 3 assert stdenv ? glibc; 4 4 ··· 26 26 perl Makefile.PL 27 27 ''; 28 28 29 - meta = with stdenv.lib; { 29 + meta = with lib; { 30 30 description = "A sentence based license detector"; 31 31 homepage = "http://ninka.turingmachine.org/"; 32 32 license = licenses.gpl2;
+2 -2
pkgs/development/tools/misc/nrfutil/default.nix
··· 1 - { stdenv, python37Packages, fetchFromGitHub }: 1 + { lib, stdenv, python37Packages, fetchFromGitHub }: 2 2 3 3 with python37Packages; buildPythonApplication rec { 4 4 pname = "nrfutil"; ··· 20 20 mkdir test-reports 21 21 ''; 22 22 23 - meta = with stdenv.lib; { 23 + meta = with lib; { 24 24 description = "Device Firmware Update tool for nRF chips"; 25 25 homepage = "https://github.com/NordicSemiconductor/pc-nrfutil"; 26 26 license = licenses.unfreeRedistributable;
+2 -2
pkgs/development/tools/misc/nxpmicro-mfgtools/default.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 , fetchFromGitHub 3 3 , cmake 4 4 , pkg-config ··· 25 25 26 26 preConfigure = "echo ${version} > .tarball-version"; 27 27 28 - meta = with stdenv.lib; { 28 + meta = with lib; { 29 29 description = "Freescale/NXP I.MX chip image deploy tools"; 30 30 longDescription = '' 31 31 UUU (Universal Update Utility) is a command line tool, evolved out of
+2 -2
pkgs/development/tools/misc/objconv/default.nix
··· 1 - { stdenv, fetchurl, unzip }: 1 + { lib, stdenv, fetchurl, unzip }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "objconv"; ··· 29 29 mv objconv-instructions.pdf $out/doc/objconv 30 30 ''; 31 31 32 - meta = with stdenv.lib; { 32 + meta = with lib; { 33 33 description = "Object and executable file converter, modifier and disassembler"; 34 34 homepage = "https://www.agner.org/optimize/"; 35 35 license = licenses.gpl2;
+3 -3
pkgs/development/tools/misc/opengrok/default.nix
··· 1 - { stdenv, fetchurl, jre, ctags, makeWrapper, coreutils, git, runtimeShell }: 1 + { lib, stdenv, fetchurl, jre, ctags, makeWrapper, coreutils, git, runtimeShell }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "opengrok"; ··· 18 18 substituteInPlace $out/bin/OpenGrok --replace "/bin/uname" "${coreutils}/bin/uname" 19 19 substituteInPlace $out/bin/Messages --replace "#!/bin/ksh" "#!${runtimeShell}" 20 20 wrapProgram $out/bin/OpenGrok \ 21 - --prefix PATH : "${stdenv.lib.makeBinPath [ ctags git ]}" \ 21 + --prefix PATH : "${lib.makeBinPath [ ctags git ]}" \ 22 22 --set JAVA_HOME "${jre}" \ 23 23 --set OPENGROK_TOMCAT_BASE "/var/tomcat" 24 24 ''; 25 25 26 - meta = with stdenv.lib; { 26 + meta = with lib; { 27 27 description = "Source code search and cross reference engine"; 28 28 homepage = "https://opengrok.github.io/OpenGrok/"; 29 29 license = licenses.cddl;
+2 -2
pkgs/development/tools/misc/pahole/default.nix
··· 1 - { stdenv, fetchgit, cmake, elfutils, zlib }: 1 + { lib, stdenv, fetchgit, cmake, elfutils, zlib }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "pahole"; ··· 15 15 # Put libraries in "lib" subdirectory, not top level of $out 16 16 cmakeFlags = [ "-D__LIB=lib" ]; 17 17 18 - meta = with stdenv.lib; { 18 + meta = with lib; { 19 19 homepage = "https://git.kernel.org/cgit/devel/pahole/pahole.git/"; 20 20 description = "Pahole and other DWARF utils"; 21 21 license = licenses.gpl2;
+2 -2
pkgs/development/tools/misc/patchelf/default.nix
··· 1 - { stdenv, fetchurl }: 1 + { lib, stdenv, fetchurl }: 2 2 3 3 # Note: this package is used for bootstrapping fetchurl, and thus 4 4 # cannot use fetchpatch! All mutable patches (generated by GitHub or ··· 19 19 # fails 8 out of 24 tests, problems when loading libc.so.6 20 20 doCheck = stdenv.name == "stdenv-linux"; 21 21 22 - meta = with stdenv.lib; { 22 + meta = with lib; { 23 23 homepage = "https://github.com/NixOS/patchelf/blob/master/README"; 24 24 license = licenses.gpl3; 25 25 description = "A small utility to modify the dynamic linker and RPATH of ELF executables";
+3 -3
pkgs/development/tools/misc/patchelf/unstable.nix
··· 1 - { stdenv, fetchurl, autoreconfHook, fetchFromGitHub }: 1 + { lib, stdenv, fetchurl, autoreconfHook, fetchFromGitHub }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "patchelf-${version}"; ··· 12 12 }; 13 13 14 14 # Drop test that fails on musl (?) 15 - postPatch = stdenv.lib.optionalString stdenv.hostPlatform.isMusl '' 15 + postPatch = lib.optionalString stdenv.hostPlatform.isMusl '' 16 16 substituteInPlace tests/Makefile.am \ 17 17 --replace "set-rpath-library.sh" "" 18 18 ''; ··· 24 24 25 25 doCheck = !stdenv.isDarwin; 26 26 27 - meta = with stdenv.lib; { 27 + meta = with lib; { 28 28 homepage = "https://github.com/NixOS/patchelf/blob/master/README"; 29 29 license = licenses.gpl3; 30 30 description = "A small utility to modify the dynamic linker and RPATH of ELF executables";
+2 -2
pkgs/development/tools/misc/perfect-hash/default.nix
··· 1 - { stdenv, python3, fetchFromGitHub }: 1 + { lib, stdenv, python3, fetchFromGitHub }: 2 2 python3.pkgs.buildPythonApplication rec { 3 3 pname = "perfect-hash"; 4 4 version = "0.4.1"; ··· 18 18 cp -r examples $out/share/doc/perfect-hash 19 19 ''; 20 20 21 - meta = with stdenv.lib; { 21 + meta = with lib; { 22 22 description = "Minimal perfect hash function generator"; 23 23 longDescription = '' 24 24 Generate a minimal perfect hash function for a given set of keys.
+2 -2
pkgs/development/tools/misc/pkg-config/default.nix
··· 1 - { stdenv, fetchurl, libiconv, vanilla ? false }: 1 + { lib, stdenv, fetchurl, libiconv, vanilla ? false }: 2 2 3 - with stdenv.lib; 3 + with lib; 4 4 5 5 stdenv.mkDerivation rec { 6 6 pname = "pkg-config";
+2 -2
pkgs/development/tools/misc/pkgconf/default.nix
··· 1 - { stdenv, fetchurl, removeReferencesTo }: 1 + { lib, stdenv, fetchurl, removeReferencesTo }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "pkgconf"; ··· 36 36 mv ${placeholder "dev"}/share ${placeholder "out"} 37 37 ''; 38 38 39 - meta = with stdenv.lib; { 39 + meta = with lib; { 40 40 description = "Package compiler and linker metadata toolkit"; 41 41 homepage = "https://git.dereferenced.org/pkgconf/pkgconf"; 42 42 platforms = platforms.all;
+2 -2
pkgs/development/tools/misc/pmccabe/default.nix
··· 1 - { stdenv, fetchurl }: 1 + { lib, stdenv, fetchurl }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "pmccabe"; ··· 25 25 26 26 doCheck = true; 27 27 28 - meta = with stdenv.lib; { 28 + meta = with lib; { 29 29 description = "McCabe-style function complexity and line counting for C and C++"; 30 30 homepage = "https://people.debian.org/~bame/pmccabe/"; 31 31 license = licenses.gpl2Plus;
+3 -3
pkgs/development/tools/misc/prelink/default.nix
··· 1 - { stdenv, fetchurl, libelf }: 1 + { lib, stdenv, fetchurl, libelf }: 2 2 3 3 let 4 4 version = "20130503"; ··· 8 8 inherit version; 9 9 10 10 buildInputs = [ 11 - libelf stdenv.cc.libc (stdenv.lib.getOutput "static" stdenv.cc.libc) 11 + libelf stdenv.cc.libc (lib.getOutput "static" stdenv.cc.libc) 12 12 ]; 13 13 14 14 src = fetchurl { ··· 20 20 homepage = "https://people.redhat.com/jakub/prelink/"; 21 21 license = "GPL"; 22 22 description = "ELF prelinking utility to speed up dynamic linking"; 23 - platforms = stdenv.lib.platforms.linux; 23 + platforms = lib.platforms.linux; 24 24 }; 25 25 }
+3 -3
pkgs/development/tools/misc/premake/3.nix
··· 1 - {stdenv, fetchurl, unzip}: 1 + {lib, stdenv, fetchurl, unzip}: 2 2 3 3 let baseName = "premake"; 4 4 version = "3.7"; ··· 24 24 meta = { 25 25 homepage = "http://industriousone.com/premake"; 26 26 description = "A simple build configuration and project generation tool using lua"; 27 - license = stdenv.lib.licenses.bsd3; 28 - platforms = stdenv.lib.platforms.unix; 27 + license = lib.licenses.bsd3; 28 + platforms = lib.platforms.unix; 29 29 }; 30 30 }
+3 -3
pkgs/development/tools/misc/premake/5.nix
··· 1 - { stdenv, fetchFromGitHub, Foundation, readline }: 1 + { lib, stdenv, fetchFromGitHub, Foundation, readline }: 2 2 3 - with stdenv.lib; 3 + with lib; 4 4 5 5 stdenv.mkDerivation rec { 6 6 pname = "premake5"; ··· 37 37 meta = { 38 38 homepage = "https://premake.github.io"; 39 39 description = "A simple build configuration and project generation tool using lua"; 40 - license = stdenv.lib.licenses.bsd3; 40 + license = lib.licenses.bsd3; 41 41 platforms = platforms.darwin ++ platforms.linux; 42 42 }; 43 43 }
+3 -3
pkgs/development/tools/misc/premake/default.nix
··· 1 - { stdenv, fetchurl, unzip }: 1 + { lib, stdenv, fetchurl, unzip }: 2 2 3 3 let baseName = "premake"; 4 4 version = "4.3"; ··· 25 25 premake_cmd = "premake4"; 26 26 setupHook = ./setup-hook.sh; 27 27 28 - meta = with stdenv.lib; { 28 + meta = with lib; { 29 29 homepage = "http://industriousone.com/premake"; 30 30 description = "A simple build configuration and project generation tool using lua"; 31 - license = stdenv.lib.licenses.bsd3; 31 + license = lib.licenses.bsd3; 32 32 platforms = platforms.unix; 33 33 maintainers = [ maintainers.bjornfor ]; 34 34 };
+1 -1
pkgs/development/tools/misc/ptags/default.nix
··· 23 23 $releaseDir/ptags --help > /dev/null 24 24 ''; 25 25 26 - meta = with stdenv.lib; { 26 + meta = with lib; { 27 27 description = "A parallel universal-ctags wrapper for git repository"; 28 28 homepage = "https://github.com/dalance/ptags"; 29 29 maintainers = with maintainers; [ pamplemousse ];
+2 -2
pkgs/development/tools/misc/pwndbg/default.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 , python3 3 3 , fetchFromGitHub 4 4 , makeWrapper ··· 42 42 --set NIX_PYTHONPATH ${pythonPath} 43 43 ''; 44 44 45 - meta = with stdenv.lib; { 45 + meta = with lib; { 46 46 description = "Exploit Development and Reverse Engineering with GDB Made Easy"; 47 47 homepage = "https://github.com/pwndbg/pwndbg"; 48 48 license = licenses.mit;
+2 -2
pkgs/development/tools/misc/remarkable/remarkable-toolchain/default.nix
··· 1 - { stdenv, fetchurl, libarchive, python, file, which }: 1 + { lib, stdenv, fetchurl, libarchive, python, file, which }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "remarkable-toolchain"; ··· 25 25 ENVCLEANED=1 $src -y -d $out 26 26 ''; 27 27 28 - meta = with stdenv.lib; { 28 + meta = with lib; { 29 29 description = "A toolchain for cross-compiling to reMarkable tablets"; 30 30 homepage = "https://remarkable.engineering/"; 31 31 license = licenses.gpl2;
+2 -2
pkgs/development/tools/misc/remarkable/remarkable2-toolchain/default.nix
··· 1 - { stdenv, fetchurl, libarchive, python3, file }: 1 + { lib, stdenv, fetchurl, libarchive, python3, file }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "remarkable2-toolchain"; ··· 29 29 ./install-toolchain.sh -D -y -d $out 30 30 ''; 31 31 32 - meta = with stdenv.lib; { 32 + meta = with lib; { 33 33 description = "A toolchain for cross-compiling to reMarkable 2 tablets"; 34 34 homepage = "https://remarkable.engineering/"; 35 35 license = licenses.gpl2Plus;
+2 -2
pkgs/development/tools/misc/rman/default.nix
··· 1 - {stdenv, fetchurl}: 1 + {lib, stdenv, fetchurl}: 2 2 3 3 stdenv.mkDerivation { 4 4 name = "rman-3.2"; ··· 27 27 meta = { 28 28 description = "Parse formatted man pages and man page source from most flavors of UNIX and converts them to HTML, ASCII, TkMan, DocBook, and other formats"; 29 29 license = "artistic"; 30 - platforms = stdenv.lib.platforms.linux; 30 + platforms = lib.platforms.linux; 31 31 }; 32 32 }
+2 -2
pkgs/development/tools/misc/rolespec/default.nix
··· 1 - { stdenv, fetchFromGitHub, makeWrapper }: 1 + { lib, stdenv, fetchFromGitHub, makeWrapper }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 ··· 32 32 dontPatchELF = true; 33 33 dontStrip = true; 34 34 35 - meta = with stdenv.lib; { 35 + meta = with lib; { 36 36 homepage = "https://github.com/nickjj/rolespec"; 37 37 description = "A test library for testing Ansible roles"; 38 38 longDescription = ''
+3 -3
pkgs/development/tools/misc/saleae-logic/default.nix
··· 6 6 # 7 7 # In NixOS, simply add this package to services.udev.packages. 8 8 9 - { stdenv, fetchurl, unzip, glib, libSM, libICE, gtk2, libXext, libXft 9 + { lib, stdenv, fetchurl, unzip, glib, libSM, libICE, gtk2, libXext, libXft 10 10 , fontconfig, libXrender, libXfixes, libX11, libXi, libXrandr, libXcursor 11 11 , freetype, libXinerama, libxcb, zlib, pciutils 12 12 , makeDesktopItem, xkeyboardconfig, dbus, runtimeShell, libGL ··· 14 14 15 15 let 16 16 17 - libPath = stdenv.lib.makeLibraryPath [ 17 + libPath = lib.makeLibraryPath [ 18 18 glib libSM libICE gtk2 libXext libXft fontconfig libXrender libXfixes libX11 19 19 libXi libXrandr libXcursor freetype libXinerama libxcb zlib stdenv.cc.cc.lib 20 20 dbus libGL ··· 87 87 cp Drivers/99-SaleaeLogic.rules "$out/etc/udev/rules.d/" 88 88 ''; 89 89 90 - meta = with stdenv.lib; { 90 + meta = with lib; { 91 91 description = "Software for Saleae logic analyzers"; 92 92 homepage = "https://www.saleae.com/"; 93 93 license = licenses.unfree;
+2 -2
pkgs/development/tools/misc/scc/default.nix
··· 1 - { stdenv, buildGoModule, fetchFromGitHub }: 1 + { lib, stdenv, buildGoModule, fetchFromGitHub }: 2 2 3 3 buildGoModule rec { 4 4 pname = "scc"; ··· 16 16 # scc has a scripts/ sub-package that's for testing. 17 17 excludedPackages = [ "scripts" ]; 18 18 19 - meta = with stdenv.lib; { 19 + meta = with lib; { 20 20 homepage = "https://github.com/boyter/scc"; 21 21 description = "A very fast accurate code counter with complexity calculations and COCOMO estimates written in pure Go"; 22 22 maintainers = with maintainers; [ sigma Br1ght0ne ];
+2 -2
pkgs/development/tools/misc/sipp/default.nix
··· 1 - {stdenv, fetchurl, ncurses, libpcap }: 1 + {lib, stdenv, fetchurl, ncurses, libpcap }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 version = "3.6.0"; ··· 25 25 26 26 buildInputs = [ncurses libpcap]; 27 27 28 - meta = with stdenv.lib; { 28 + meta = with lib; { 29 29 homepage = "http://sipp.sf.net"; 30 30 description = "The SIPp testing tool"; 31 31 license = licenses.gpl3;
+3 -3
pkgs/development/tools/misc/sloccount/default.nix
··· 1 - { fetchurl, stdenv, perl, makeWrapper }: 1 + { fetchurl, lib, stdenv, perl, makeWrapper }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "sloccount-2.26"; ··· 62 62 the Perl CPAN library using this tool suite. 63 63 ''; 64 64 65 - license = stdenv.lib.licenses.gpl2Plus; 65 + license = lib.licenses.gpl2Plus; 66 66 67 67 homepage = "https://www.dwheeler.com/sloccount/"; 68 68 69 69 maintainers = [ ]; 70 - platforms = stdenv.lib.platforms.all; 70 + platforms = lib.platforms.all; 71 71 }; 72 72 }
+4 -4
pkgs/development/tools/misc/srecord/default.nix
··· 1 - { stdenv, fetchurl, boost, libtool, groff, ghostscript, libgcrypt ? null }: 1 + { lib, stdenv, fetchurl, boost, libtool, groff, ghostscript, libgcrypt ? null }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "srecord-1.64"; ··· 10 10 11 11 buildInputs = [ boost libtool groff ghostscript libgcrypt ]; 12 12 13 - configureFlags = stdenv.lib.optional (libgcrypt == null) "--without-gcrypt"; 13 + configureFlags = lib.optional (libgcrypt == null) "--without-gcrypt"; 14 14 15 - meta = with stdenv.lib; { 15 + meta = with lib; { 16 16 description = "Collection of powerful tools for manipulating EPROM load files"; 17 17 homepage = "http://srecord.sourceforge.net/"; 18 18 license = licenses.gpl3Plus; 19 19 maintainers = [ maintainers.bjornfor ]; 20 - platforms = stdenv.lib.platforms.unix; 20 + platforms = lib.platforms.unix; 21 21 }; 22 22 }
+2 -2
pkgs/development/tools/misc/stlink/default.nix
··· 1 - { stdenv, fetchFromGitHub, cmake, libusb1 }: 1 + { lib, stdenv, fetchFromGitHub, cmake, libusb1 }: 2 2 3 3 let 4 4 # The Darwin build of stlink explicitly refers to static libusb. ··· 29 29 mkdir -p $out/etc/modprobe.d 30 30 ''; 31 31 32 - meta = with stdenv.lib; { 32 + meta = with lib; { 33 33 description = "In-circuit debug and programming for ST-Link devices"; 34 34 license = licenses.bsd3; 35 35 platforms = platforms.unix;
+2 -2
pkgs/development/tools/misc/stm32cubemx/default.nix
··· 1 - { stdenv, requireFile, makeDesktopItem, libicns, imagemagick, jre, fetchzip }: 1 + { lib, stdenv, requireFile, makeDesktopItem, libicns, imagemagick, jre, fetchzip }: 2 2 3 3 let 4 4 version = "6.0.1"; ··· 49 49 ln -s ${desktopItem}/share/applications/* $out/share/applications 50 50 ''; 51 51 52 - meta = with stdenv.lib; { 52 + meta = with lib; { 53 53 description = "A graphical tool for configuring STM32 microcontrollers and microprocessors"; 54 54 longDescription = '' 55 55 A graphical tool that allows a very easy configuration of STM32
+3 -3
pkgs/development/tools/misc/stm32flash/default.nix
··· 1 - { stdenv, fetchurl }: 1 + { lib, stdenv, fetchurl }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "stm32flash-0.5"; ··· 16 16 cp stm32flash $out/bin/ 17 17 ''; 18 18 19 - meta = with stdenv.lib; { 19 + meta = with lib; { 20 20 description = "Open source flash program for the STM32 ARM processors using the ST bootloader"; 21 21 homepage = "https://sourceforge.net/projects/stm32flash/"; 22 - license = stdenv.lib.licenses.gpl2; 22 + license = lib.licenses.gpl2; 23 23 platforms = platforms.all; # Should work on all platforms 24 24 maintainers = with maintainers; [ elitak ]; 25 25 };
+3 -3
pkgs/development/tools/misc/strace/default.nix
··· 1 - { stdenv, fetchurl, perl, libunwind, buildPackages }: 1 + { lib, stdenv, fetchurl, perl, libunwind, buildPackages }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "strace"; ··· 12 12 depsBuildBuild = [ buildPackages.stdenv.cc ]; 13 13 nativeBuildInputs = [ perl ]; 14 14 15 - buildInputs = [ perl.out ] ++ stdenv.lib.optional libunwind.supportsHost libunwind; # support -k 15 + buildInputs = [ perl.out ] ++ lib.optional libunwind.supportsHost libunwind; # support -k 16 16 17 17 postPatch = "patchShebangs --host strace-graph"; 18 18 19 19 configureFlags = [ "--enable-mpers=check" ]; 20 20 21 - meta = with stdenv.lib; { 21 + meta = with lib; { 22 22 homepage = "https://strace.io/"; 23 23 description = "A system call tracer for Linux"; 24 24 license = with licenses; [ lgpl21Plus gpl2Plus ]; # gpl2Plus is for the test suite
+2 -2
pkgs/development/tools/misc/swig/2.x.nix
··· 1 - { stdenv, fetchFromGitHub, autoconf, automake, libtool, bison, pcre }: 1 + { lib, stdenv, fetchFromGitHub, autoconf, automake, libtool, bison, pcre }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "swig"; ··· 25 25 ./autogen.sh 26 26 ''; 27 27 28 - meta = with stdenv.lib; { 28 + meta = with lib; { 29 29 description = "SWIG, an interface compiler that connects C/C++ code to higher-level languages"; 30 30 homepage = "http://swig.org/"; 31 31 # Different types of licenses available: http://www.swig.org/Release/LICENSE .
+2 -2
pkgs/development/tools/misc/swig/3.x.nix
··· 1 - { stdenv, fetchFromGitHub, autoconf, automake, libtool, bison, pcre }: 1 + { lib, stdenv, fetchFromGitHub, autoconf, automake, libtool, bison, pcre }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "swig"; ··· 26 26 ./autogen.sh 27 27 ''; 28 28 29 - meta = with stdenv.lib; { 29 + meta = with lib; { 30 30 description = "An interface compiler that connects C/C++ code to higher-level languages"; 31 31 homepage = "http://swig.org/"; 32 32 # Different types of licenses available: http://www.swig.org/Release/LICENSE .
+2 -2
pkgs/development/tools/misc/swig/4.nix
··· 1 - { stdenv, fetchFromGitHub, autoconf, automake, libtool, bison, pcre }: 1 + { lib, stdenv, fetchFromGitHub, autoconf, automake, libtool, bison, pcre }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "swig"; ··· 26 26 ./autogen.sh 27 27 ''; 28 28 29 - meta = with stdenv.lib; { 29 + meta = with lib; { 30 30 description = "SWIG, an interface compiler that connects C/C++ code to higher-level languages"; 31 31 homepage = "http://swig.org/"; 32 32 # Different types of licenses available: http://www.swig.org/Release/LICENSE .
+3 -3
pkgs/development/tools/misc/swig/default.nix
··· 1 - { stdenv, fetchurl, boost, tcl }: 1 + { lib, stdenv, fetchurl, boost, tcl }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "swig"; ··· 11 11 12 12 doCheck = !stdenv.isCygwin; 13 13 # 'make check' uses boost and tcl 14 - buildInputs = stdenv.lib.optionals doCheck [ boost tcl ]; 14 + buildInputs = lib.optionals doCheck [ boost tcl ]; 15 15 16 16 configureFlags = [ "--disable-ccache" ]; 17 17 18 18 19 - meta = with stdenv.lib; { 19 + meta = with lib; { 20 20 description = "SWIG, an interface compiler that connects C/C++ code to higher-level languages"; 21 21 homepage = "http://swig.org/"; 22 22 # Different types of licenses available: http://www.swig.org/Release/LICENSE .
+3 -3
pkgs/development/tools/misc/sysbench/default.nix
··· 1 - { stdenv, fetchFromGitHub, autoreconfHook, pkg-config 1 + { lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config 2 2 , libmysqlclient, libaio 3 3 }: 4 4 ··· 21 21 meta = { 22 22 description = "Modular, cross-platform and multi-threaded benchmark tool"; 23 23 homepage = "https://github.com/akopytov/sysbench"; 24 - license = stdenv.lib.licenses.gpl2; 25 - platforms = stdenv.lib.platforms.linux; 24 + license = lib.licenses.gpl2; 25 + platforms = lib.platforms.linux; 26 26 }; 27 27 }
+2 -2
pkgs/development/tools/misc/tcptrack/default.nix
··· 1 - { stdenv, fetchFromGitHub, ncurses, libpcap }: 1 + { lib, stdenv, fetchFromGitHub, ncurses, libpcap }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "tcptrack"; ··· 15 15 16 16 NIX_CFLAGS_COMPILE = "-Wno-error=cpp"; 17 17 18 - meta = with stdenv.lib; { 18 + meta = with lib; { 19 19 inherit (src.meta) homepage; 20 20 description = "libpcap based program for live TCP connection monitoring"; 21 21 license = licenses.lgpl21;
+2 -2
pkgs/development/tools/misc/teensy-loader-cli/default.nix
··· 1 - { stdenv, fetchFromGitHub, go-md2man, installShellFiles, libusb-compat-0_1 }: 1 + { lib, stdenv, fetchFromGitHub, go-md2man, installShellFiles, libusb-compat-0_1 }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "teensy-loader-cli"; ··· 22 22 installManPage *.1 23 23 ''; 24 24 25 - meta = with stdenv.lib; { 25 + meta = with lib; { 26 26 description = "Firmware uploader for the Teensy microcontroller boards"; 27 27 homepage = "https://www.pjrc.com/teensy/"; 28 28 license = licenses.gpl3;
+3 -3
pkgs/development/tools/misc/tet/default.nix
··· 1 - { fetchurl, stdenv }: 1 + { fetchurl, lib, stdenv }: 2 2 3 3 stdenv.mkDerivation ({ 4 4 version = "3.8"; ··· 22 22 meta = { 23 23 description = "The Test Environment Toolkit is used in test applications like The Open Group's UNIX Certification program and the Free Standards Group's LSB Certification program"; 24 24 homepage = "http://tetworks.opengroup.org/Products/tet.htm"; 25 - license = stdenv.lib.licenses.artistic1; 26 - platforms = stdenv.lib.platforms.unix; 25 + license = lib.licenses.artistic1; 26 + platforms = lib.platforms.unix; 27 27 maintainers = [ ]; 28 28 }; 29 29 })
+3 -3
pkgs/development/tools/misc/texi2html/default.nix
··· 1 - { stdenv, fetchurl, perl, gettext, buildPackages }: 1 + { lib, stdenv, fetchurl, perl, gettext, buildPackages }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "texi2html"; ··· 18 18 patchShebangs separated_to_hash.pl 19 19 ''; 20 20 21 - postInstall = stdenv.lib.optionalString (stdenv.buildPlatform != stdenv.hostPlatform) '' 21 + postInstall = lib.optionalString (stdenv.buildPlatform != stdenv.hostPlatform) '' 22 22 for f in $out/bin/*; do 23 23 substituteInPlace $f --replace "${buildPackages.perl}" "${perl}" 24 24 done 25 25 ''; 26 26 27 - meta = with stdenv.lib; { 27 + meta = with lib; { 28 28 description = "Perl script which converts Texinfo source files to HTML output"; 29 29 homepage = "https://www.nongnu.org/texi2html/"; 30 30 license = licenses.gpl2;
+3 -3
pkgs/development/tools/misc/texinfo/common.nix
··· 1 1 { version, sha256 }: 2 2 3 - { stdenv, buildPackages, fetchurl, perl, xz, gettext 3 + { lib, stdenv, buildPackages, fetchurl, perl, xz, gettext 4 4 5 5 # we are a dependency of gcc, this simplifies bootstraping 6 6 , interactive ? false, ncurses, procps ··· 15 15 crossBuildTools = stdenv.hostPlatform != stdenv.buildPlatform; 16 16 in 17 17 18 - with stdenv.lib; 18 + with lib; 19 19 20 20 stdenv.mkDerivation { 21 21 name = "texinfo-${optionalString interactive "interactive-"}${version}"; ··· 43 43 ++ optional interactive ncurses; 44 44 45 45 configureFlags = [ "PERL=${buildPackages.perl}/bin/perl" ] 46 - ++ stdenv.lib.optional stdenv.isSunOS "AWK=${gawk}/bin/awk"; 46 + ++ lib.optional stdenv.isSunOS "AWK=${gawk}/bin/awk"; 47 47 48 48 installFlags = [ "TEXMF=$(out)/texmf-dist" ]; 49 49 installTargets = [ "install" "install-tex" ];
+2 -2
pkgs/development/tools/misc/tie/default.nix
··· 1 - { stdenv, fetchurl }: 1 + { lib, stdenv, fetchurl }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "tie"; ··· 18 18 cp tie $out/bin 19 19 ''; 20 20 21 - meta = with stdenv.lib; { 21 + meta = with lib; { 22 22 homepage = "https://www.ctan.org/tex-archive/web/tie"; 23 23 description = "Allow multiple web change files"; 24 24 platforms = with platforms; unix;
+3 -3
pkgs/development/tools/misc/tokei/default.nix
··· 1 - { stdenv, fetchFromGitHub, rustPlatform, libiconv, darwin }: 1 + { lib, stdenv, fetchFromGitHub, rustPlatform, libiconv, darwin }: 2 2 3 3 rustPlatform.buildRustPackage rec { 4 4 pname = "tokei"; ··· 13 13 14 14 cargoSha256 = "sha256-iUDc54E8AiLMJw9h99kg/3VmaSi8GqfQyrPwa9nJ994="; 15 15 16 - buildInputs = stdenv.lib.optionals stdenv.isDarwin [ 16 + buildInputs = lib.optionals stdenv.isDarwin [ 17 17 libiconv darwin.apple_sdk.frameworks.Security 18 18 ]; 19 19 20 20 # enable all output formats 21 21 cargoBuildFlags = [ "--features" "all" ]; 22 22 23 - meta = with stdenv.lib; { 23 + meta = with lib; { 24 24 description = "A program that allows you to count your code, quickly"; 25 25 longDescription = '' 26 26 Tokei is a program that displays statistics about your code. Tokei will show number of files, total lines within those files and code, comments, and blanks grouped by language.
+3 -3
pkgs/development/tools/misc/uisp/default.nix
··· 1 - { stdenv, fetchurl }: 1 + { lib, stdenv, fetchurl }: 2 2 3 3 stdenv.mkDerivation { 4 4 name = "uisp-20050207"; ··· 12 12 13 13 meta = { 14 14 description = "Tool for AVR microcontrollers which can interface to many hardware in-system programmers"; 15 - license = stdenv.lib.licenses.gpl2; 15 + license = lib.licenses.gpl2; 16 16 homepage = "https://savannah.nongnu.org/projects/uisp"; 17 - platforms = stdenv.lib.platforms.linux; 17 + platforms = lib.platforms.linux; 18 18 }; 19 19 }
+2 -2
pkgs/development/tools/misc/uncrustify/default.nix
··· 1 - { stdenv, fetchFromGitHub, cmake, python }: 1 + { lib, stdenv, fetchFromGitHub, cmake, python }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "${product}-${version}"; ··· 14 14 15 15 nativeBuildInputs = [ cmake python ]; 16 16 17 - meta = with stdenv.lib; { 17 + meta = with lib; { 18 18 description = "Source code beautifier for C, C++, C#, ObjectiveC, D, Java, Pawn and VALA"; 19 19 homepage = "http://uncrustify.sourceforge.net/"; 20 20 license = licenses.gpl2Plus;
+2 -2
pkgs/development/tools/misc/unifdef/default.nix
··· 1 - { fetchurl, stdenv }: 1 + { fetchurl, lib, stdenv }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "unifdef-2.6"; ··· 21 21 export DESTDIR=$out 22 22 ''; 23 23 24 - meta = with stdenv.lib; { 24 + meta = with lib; { 25 25 homepage = "http://dotat.at/prog/unifdef/"; 26 26 description = "Selectively remove C preprocessor conditionals"; 27 27 license = licenses.bsd2;
+3 -3
pkgs/development/tools/misc/universal-ctags/default.nix
··· 1 - { stdenv, fetchFromGitHub, autoreconfHook, pkg-config, perl, pythonPackages, libiconv, jansson }: 1 + { lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, perl, pythonPackages, libiconv, jansson }: 2 2 3 3 stdenv.mkDerivation { 4 4 pname = "universal-ctags"; ··· 12 12 }; 13 13 14 14 nativeBuildInputs = [ autoreconfHook pkg-config pythonPackages.docutils ]; 15 - buildInputs = [ jansson ] ++ stdenv.lib.optional stdenv.isDarwin libiconv; 15 + buildInputs = [ jansson ] ++ lib.optional stdenv.isDarwin libiconv; 16 16 17 17 # to generate makefile.in 18 18 autoreconfPhase = '' ··· 35 35 36 36 checkFlags = [ "units" ]; 37 37 38 - meta = with stdenv.lib; { 38 + meta = with lib; { 39 39 description = "A maintained ctags implementation"; 40 40 homepage = "https://ctags.io/"; 41 41 license = licenses.gpl2Plus;
+2 -2
pkgs/development/tools/misc/unused/default.nix
··· 1 - { stdenv, fetchFromGitHub, rustPlatform, cmake }: 1 + { lib, stdenv, fetchFromGitHub, rustPlatform, cmake }: 2 2 rustPlatform.buildRustPackage rec { 3 3 pname = "unused"; 4 4 version = "0.2.1"; ··· 14 14 15 15 cargoSha256 = "1c0gj2wp0nydv0binxj3ikm5sm6y5z3pklp5b06dgvq02licz57a"; 16 16 17 - meta = with stdenv.lib; { 17 + meta = with lib; { 18 18 description = "A tool to identify potentially unused code"; 19 19 homepage = "https://unused.codes"; 20 20 license = licenses.mit;
+2 -2
pkgs/development/tools/misc/usb-modeswitch/data.nix
··· 1 - { stdenv, fetchurl, tcl, usb-modeswitch }: 1 + { lib, stdenv, fetchurl, tcl, usb-modeswitch }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "usb-modeswitch-data"; ··· 22 22 # the usb_modeswitch.d directory 23 23 nativeBuildInputs = [ tcl ]; 24 24 25 - meta = with stdenv.lib; { 25 + meta = with lib; { 26 26 description = "Device database and the rules file for 'multi-mode' USB devices"; 27 27 inherit (usb-modeswitch.meta) license maintainers platforms; 28 28 };
+1 -1
pkgs/development/tools/misc/usb-modeswitch/default.nix
··· 37 37 buildInputs = [ libusb1 tcl ]; 38 38 nativeBuildInputs = [ pkg-config makeWrapper ]; 39 39 40 - meta = with stdenv.lib; { 40 + meta = with lib; { 41 41 description = "A mode switching tool for controlling 'multi-mode' USB devices"; 42 42 license = licenses.gpl2; 43 43 maintainers = with maintainers; [ marcweber peterhoeg ];
+2 -2
pkgs/development/tools/misc/vtable-dumper/default.nix
··· 1 - { stdenv, fetchFromGitHub, libelf }: 1 + { lib, stdenv, fetchFromGitHub, libelf }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "vtable-dumper"; ··· 14 14 buildInputs = [ libelf ]; 15 15 makeFlags = [ "prefix=$(out)" ]; 16 16 17 - meta = with stdenv.lib; { 17 + meta = with lib; { 18 18 homepage = "https://github.com/lvc/vtable-dumper"; 19 19 description = "A tool to list content of virtual tables in a C++ shared library"; 20 20 license = licenses.lgpl21;
+2 -2
pkgs/development/tools/misc/watson-ruby/default.nix
··· 1 - { stdenv, bundlerEnv, ruby, bundlerUpdateScript }: 1 + { lib, stdenv, bundlerEnv, ruby, bundlerUpdateScript }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "watson-ruby"; ··· 20 20 21 21 passthru.updateScript = bundlerUpdateScript "watson-ruby"; 22 22 23 - meta = with stdenv.lib; { 23 + meta = with lib; { 24 24 description = "An inline issue manager"; 25 25 homepage = "https://goosecode.com/watson/"; 26 26 license = with licenses; mit;
+2 -2
pkgs/development/tools/misc/whatstyle/default.nix
··· 1 - { stdenv, python3, fetchFromGitHub, clang-unwrapped }: 1 + { lib, stdenv, python3, fetchFromGitHub, clang-unwrapped }: 2 2 3 3 python3.pkgs.buildPythonApplication rec { 4 4 pname = "whatstyle"; ··· 20 20 21 21 doCheck = false; # 3 or 4 failures depending on version, haven't investigated. 22 22 23 - meta = with stdenv.lib; { 23 + meta = with lib; { 24 24 description = "Find a code format style that fits given source files"; 25 25 homepage = "https://github.com/mikr/whatstyle"; 26 26 license = licenses.mit;
+2 -2
pkgs/development/tools/misc/xc3sprog/default.nix
··· 1 - { stdenv, fetchsvn, cmake, libusb-compat-0_1, libftdi }: 1 + { lib, stdenv, fetchsvn, cmake, libusb-compat-0_1, libftdi }: 2 2 3 3 # The xc3sprog project doesn't seem to make proper releases, they only put out 4 4 # prebuilt binary subversion snapshots on sourceforge. ··· 16 16 nativeBuildInputs = [ cmake ]; 17 17 buildInputs = [ libusb-compat-0_1 libftdi ]; 18 18 19 - meta = with stdenv.lib; { 19 + meta = with lib; { 20 20 description = "Command-line tools for programming FPGAs, microcontrollers and PROMs via JTAG"; 21 21 homepage = "http://xc3sprog.sourceforge.net/"; 22 22 license = licenses.gpl2Plus;
+3 -3
pkgs/development/tools/misc/ycmd/default.nix
··· 19 19 }; 20 20 21 21 nativeBuildInputs = [ cmake ] 22 - ++ stdenv.lib.optional stdenv.hostPlatform.isDarwin fixDarwinDylibNames; 22 + ++ lib.optional stdenv.hostPlatform.isDarwin fixDarwinDylibNames; 23 23 buildInputs = [ boost llvmPackages.libclang ] 24 - ++ stdenv.lib.optional stdenv.hostPlatform.isDarwin Cocoa; 24 + ++ lib.optional stdenv.hostPlatform.isDarwin Cocoa; 25 25 26 26 buildPhase = '' 27 27 export EXTRA_CMAKE_ARGS=-DPATH_TO_LLVM_ROOT=${llvmPackages.clang-unwrapped} ··· 90 90 "'$out/lib/ycmd/ycmd/__main__.py'" 91 91 ''; 92 92 93 - meta = with stdenv.lib; { 93 + meta = with lib; { 94 94 description = "A code-completion and comprehension server"; 95 95 homepage = "https://github.com/Valloric/ycmd"; 96 96 license = licenses.gpl3;
+2 -2
pkgs/development/tools/misc/yodl/default.nix
··· 1 - { stdenv, fetchFromGitLab, perl, icmake, util-linux }: 1 + { lib, stdenv, fetchFromGitLab, perl, icmake, util-linux }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "yodl"; ··· 42 42 ./build install man 43 43 ''; 44 44 45 - meta = with stdenv.lib; { 45 + meta = with lib; { 46 46 description = "A package that implements a pre-document language and tools to process it"; 47 47 homepage = "https://fbb-git.gitlab.io/yodl/"; 48 48 license = licenses.gpl3;
+2 -2
pkgs/development/tools/modd/default.nix
··· 1 - { buildGoPackage, fetchFromGitHub, stdenv }: 1 + { buildGoPackage, fetchFromGitHub, lib, stdenv }: 2 2 3 3 buildGoPackage rec { 4 4 pname = "modd"; ··· 11 11 }; 12 12 goPackagePath = "github.com/cortesi/modd"; 13 13 subPackages = [ "cmd/modd" ]; 14 - meta = with stdenv.lib; { 14 + meta = with lib; { 15 15 description = "A flexible developer tool that runs processes and responds to filesystem changes"; 16 16 homepage = "https://github.com/cortesi/modd"; 17 17 license = licenses.mit;
+2 -2
pkgs/development/tools/mustache-go/default.nix
··· 1 - { stdenv, buildGoPackage, fetchFromGitHub }: 1 + { lib, stdenv, buildGoPackage, fetchFromGitHub }: 2 2 3 3 buildGoPackage rec { 4 4 pname = "mustache-go"; ··· 13 13 sha256 = "0mnh5zbpfwymddm1dppg9i9d1r8jqyg03z2gl6c5a8fgbrnxpjvc"; 14 14 }; 15 15 16 - meta = with stdenv.lib; { 16 + meta = with lib; { 17 17 homepage = "https://github.com/cbroglie/mustache"; 18 18 description = "The mustache template language in Go"; 19 19 license = [ licenses.mit ];
+1 -1
pkgs/development/tools/nemiver/default.nix
··· 25 25 version = "0.9.6"; 26 26 27 27 src = fetchurl { 28 - url = "mirror://gnome/sources/nemiver/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 28 + url = "mirror://gnome/sources/nemiver/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 29 29 sha256 = "85ab8cf6c4f83262f441cb0952a6147d075c3c53d0687389a3555e946b694ef2"; 30 30 }; 31 31
+3 -3
pkgs/development/tools/neoload/default.nix
··· 1 - { stdenv, fetchurl, writeTextFile, jre, makeWrapper, fontsConf, licenseAccepted ? false }: 1 + { lib, stdenv, fetchurl, writeTextFile, jre, makeWrapper, fontsConf, licenseAccepted ? false }: 2 2 3 3 # If you happen to use this software on the XMonad window manager, you will have issues with 4 4 # grey windows, no resizing, menus not showing and other glitches. ··· 87 87 homepage = "https://www.neotys.com/product/overview-neoload.html"; 88 88 89 89 # https://www.neotys.com/documents/legal/eula/neoload/eula_en.html 90 - license = stdenv.lib.licenses.unfree; 90 + license = lib.licenses.unfree; 91 91 92 - maintainers = [ stdenv.lib.maintainers.bluescreen303 ]; 92 + maintainers = [ lib.maintainers.bluescreen303 ]; 93 93 platforms = [ "i686-linux" "x86_64-linux" ]; 94 94 }; 95 95 }
+2 -2
pkgs/development/tools/node-webkit/nw12.nix
··· 41 41 42 42 ln -s ${lib.getLib systemd}/lib/libudev.so $out/share/nwjs/libudev.so.0 43 43 44 - patchelf --set-rpath "${nwEnv}/lib:${nwEnv}/lib64:${stdenv.lib.makeLibraryPath [ stdenv.cc.cc ]}:$out/share/nwjs" $out/share/nwjs/nw 44 + patchelf --set-rpath "${nwEnv}/lib:${nwEnv}/lib64:${lib.makeLibraryPath [ stdenv.cc.cc ]}:$out/share/nwjs" $out/share/nwjs/nw 45 45 patchelf --set-rpath "${nwEnv}/lib:${nwEnv}/lib64:$out/share/nwjs" $out/share/nwjs/nwjc 46 46 47 47 mkdir -p $out/bin ··· 51 51 52 52 buildInputs = [ makeWrapper ]; 53 53 54 - meta = with stdenv.lib; { 54 + meta = with lib; { 55 55 description = "An app runtime based on Chromium and node.js"; 56 56 homepage = "https://nwjs.io/"; 57 57 platforms = ["i686-linux" "x86_64-linux"];
+1 -1
pkgs/development/tools/nrpl/default.nix
··· 35 35 --prefix PATH : ${lib.makeBinPath [ nim tinycc ]} 36 36 ''; 37 37 38 - meta = with stdenv.lib; { 38 + meta = with lib; { 39 39 description = "REPL for the Nim programming language"; 40 40 homepage = "https://github.com/wheineman/nrpl"; 41 41 license = licenses.mit;
+2 -2
pkgs/development/tools/nwjs/default.nix
··· 53 53 dontPatchELF = true; 54 54 55 55 installPhase = 56 - let ccPath = stdenv.lib.makeLibraryPath [ stdenv.cc.cc ]; 56 + let ccPath = lib.makeLibraryPath [ stdenv.cc.cc ]; 57 57 in '' 58 58 mkdir -p $out/share/nwjs 59 59 cp -R * $out/share/nwjs ··· 85 85 86 86 buildInputs = [ makeWrapper ]; 87 87 88 - meta = with stdenv.lib; { 88 + meta = with lib; { 89 89 description = "An app runtime based on Chromium and node.js"; 90 90 homepage = "https://nwjs.io/"; 91 91 platforms = ["i686-linux" "x86_64-linux"];
+2 -2
pkgs/development/tools/ocaml/camlidl/default.nix
··· 1 - { stdenv, fetchurl, ocaml, writeText }: 1 + { lib, stdenv, fetchurl, ocaml, writeText }: 2 2 3 3 let 4 4 pname = "camlidl"; ··· 46 46 description = "A stub code generator and COM binding for Objective Caml"; 47 47 homepage = webpage; 48 48 license = "LGPL"; 49 - maintainers = [ stdenv.lib.maintainers.roconnor ]; 49 + maintainers = [ lib.maintainers.roconnor ]; 50 50 }; 51 51 }
+3 -3
pkgs/development/tools/ocaml/camlp4/default.nix
··· 1 - { stdenv, fetchzip, which, ocaml, ocamlbuild }: 1 + { lib, stdenv, fetchzip, which, ocaml, ocamlbuild }: 2 2 3 - if stdenv.lib.versionAtLeast ocaml.version "4.09" 3 + if lib.versionAtLeast ocaml.version "4.09" 4 4 then throw "camlp4 is not available for OCaml ${ocaml.version}" 5 5 else 6 6 ··· 66 66 67 67 dontStrip = true; 68 68 69 - meta = with stdenv.lib; { 69 + meta = with lib; { 70 70 description = "A software system for writing extensible parsers for programming languages"; 71 71 homepage = "https://github.com/ocaml/camlp4"; 72 72 platforms = ocaml.meta.platforms or [];
+3 -3
pkgs/development/tools/ocaml/camlp5/default.nix
··· 1 - { stdenv, fetchzip, ocaml, perl }: 1 + { lib, stdenv, fetchzip, ocaml, perl }: 2 2 3 - if stdenv.lib.versionOlder ocaml.version "4.02" 3 + if lib.versionOlder ocaml.version "4.02" 4 4 then throw "camlp5 is not available for OCaml ${ocaml.version}" 5 5 else 6 6 ··· 26 26 27 27 dontStrip = true; 28 28 29 - meta = with stdenv.lib; { 29 + meta = with lib; { 30 30 description = "Preprocessor-pretty-printer for OCaml"; 31 31 longDescription = '' 32 32 Camlp5 is a preprocessor and pretty-printer for OCaml programs.
+3 -3
pkgs/development/tools/ocaml/cppo/default.nix
··· 1 - { stdenv, fetchurl, fetchFromGitHub, ocaml, findlib, ocamlbuild 1 + { lib, stdenv, fetchurl, fetchFromGitHub, ocaml, findlib, ocamlbuild 2 2 , buildDunePackage 3 3 }: 4 4 5 5 let 6 6 pname = "cppo"; 7 7 8 - meta = with stdenv.lib; { 8 + meta = with lib; { 9 9 description = "The C preprocessor for OCaml"; 10 10 longDescription = '' 11 11 Cppo is an equivalent of the C preprocessor targeted at the OCaml language and its variants. ··· 17 17 18 18 in 19 19 20 - if stdenv.lib.versionAtLeast ocaml.version "4.02" then 20 + if lib.versionAtLeast ocaml.version "4.02" then 21 21 22 22 buildDunePackage rec { 23 23 inherit pname;
+7 -7
pkgs/development/tools/ocaml/dune/2.nix
··· 1 - { stdenv, fetchurl, ocaml, findlib }: 1 + { lib, stdenv, fetchurl, ocaml, findlib }: 2 2 3 - if stdenv.lib.versionOlder ocaml.version "4.08" 3 + if lib.versionOlder ocaml.version "4.08" 4 4 then throw "dune is not available for OCaml ${ocaml.version}" 5 5 else 6 6 7 7 stdenv.mkDerivation rec { 8 8 pname = "dune"; 9 - version = "2.8.0"; 9 + version = "2.8.2"; 10 10 11 11 src = fetchurl { 12 12 url = "https://github.com/ocaml/dune/releases/download/${version}/dune-${version}.tbz"; 13 - sha256 = "12yly2lp93ijhy7b72p6y2q3cr3yy3hk7rlmrh072py8a6d4s407"; 13 + sha256 = "07mf6pnmv1a6wh4la45zf6cn6qy2vcmz4xgx0djj75kw1wiyii72"; 14 14 }; 15 15 16 16 buildInputs = [ ocaml findlib ]; ··· 24 24 meta = { 25 25 homepage = "https://dune.build/"; 26 26 description = "A composable build system"; 27 - changelog = "https://github.com/ocaml/dune/releases/tag/${version}"; 28 - maintainers = [ stdenv.lib.maintainers.vbgl stdenv.lib.maintainers.marsam ]; 29 - license = stdenv.lib.licenses.mit; 27 + changelog = "https://github.com/ocaml/dune/blob/${version}/CHANGES.md"; 28 + maintainers = [ lib.maintainers.vbgl lib.maintainers.marsam ]; 29 + license = lib.licenses.mit; 30 30 inherit (ocaml.meta) platforms; 31 31 }; 32 32 }
+4 -4
pkgs/development/tools/ocaml/findlib/default.nix
··· 1 - { stdenv, fetchurl, fetchpatch, m4, ncurses, ocaml, writeText }: 1 + { lib, stdenv, fetchurl, fetchpatch, m4, ncurses, ocaml, writeText }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "ocaml-findlib"; ··· 49 49 meta = { 50 50 homepage = "http://projects.camlcity.org/projects/findlib.html"; 51 51 description = "O'Caml library manager"; 52 - license = stdenv.lib.licenses.mit; 52 + license = lib.licenses.mit; 53 53 platforms = ocaml.meta.platforms or []; 54 54 maintainers = [ 55 - stdenv.lib.maintainers.maggesi 56 - stdenv.lib.maintainers.vbmithr 55 + lib.maintainers.maggesi 56 + lib.maintainers.vbmithr 57 57 ]; 58 58 }; 59 59 }
+2 -2
pkgs/development/tools/ocaml/oasis/default.nix
··· 1 - { stdenv, fetchurl, ocaml, findlib, ocamlbuild, ocamlmod, ocamlify }: 1 + { lib, stdenv, fetchurl, ocaml, findlib, ocamlbuild, ocamlmod, ocamlify }: 2 2 3 3 stdenv.mkDerivation { 4 4 version = "0.4.10"; ··· 22 22 buildPhase = "ocaml setup.ml -build"; 23 23 installPhase = "ocaml setup.ml -install"; 24 24 25 - meta = with stdenv.lib; { 25 + meta = with lib; { 26 26 homepage = "http://oasis.forge.ocamlcore.org/"; 27 27 description = "Configure, build and install system for OCaml projects"; 28 28 license = licenses.lgpl21;
+3 -3
pkgs/development/tools/ocaml/obuild/default.nix
··· 1 - { stdenv, fetchzip, ocaml }: 1 + { lib, stdenv, fetchzip, ocaml }: 2 2 3 3 let version = "0.1.10"; in 4 4 ··· 27 27 homepage = "https://github.com/ocaml-obuild/obuild"; 28 28 platforms = ocaml.meta.platforms or []; 29 29 description = "Simple package build system for OCaml"; 30 - license = stdenv.lib.licenses.lgpl21; 31 - maintainers = with stdenv.lib.maintainers; [ volth ]; 30 + license = lib.licenses.lgpl21; 31 + maintainers = with lib.maintainers; [ volth ]; 32 32 }; 33 33 }
+2 -2
pkgs/development/tools/ocaml/ocamlbuild/default.nix
··· 1 - { stdenv, fetchFromGitHub, ocaml, findlib }: 1 + { lib, stdenv, fetchFromGitHub, ocaml, findlib }: 2 2 let 3 3 version = "0.14.0"; 4 4 in ··· 25 25 "OCAMLBUILD_LIBDIR=$OCAMLFIND_DESTDIR" 26 26 ''; 27 27 28 - meta = with stdenv.lib; { 28 + meta = with lib; { 29 29 homepage = "https://github.com/ocaml/ocamlbuild/"; 30 30 description = "A build system with builtin rules to easily build most OCaml projects"; 31 31 license = licenses.lgpl2;
+3 -3
pkgs/development/tools/ocaml/ocamlify/default.nix
··· 1 - { stdenv, fetchurl, ocaml, findlib, ocamlbuild }: 1 + { lib, stdenv, fetchurl, ocaml, findlib, ocamlbuild }: 2 2 3 3 stdenv.mkDerivation { 4 4 name = "ocamlify-0.0.2"; ··· 27 27 homepage = "https://forge.ocamlcore.org/projects/ocamlmod/ocamlmod"; 28 28 description = "Generate OCaml modules from source files"; 29 29 platforms = ocaml.meta.platforms or []; 30 - license = stdenv.lib.licenses.lgpl21; 31 - maintainers = with stdenv.lib.maintainers; [ 30 + license = lib.licenses.lgpl21; 31 + maintainers = with lib.maintainers; [ 32 32 maggesi 33 33 ]; 34 34 };
+2 -2
pkgs/development/tools/ocaml/ocamlmod/default.nix
··· 1 - { stdenv, fetchurl, ocaml, findlib, ocamlbuild, ounit }: 1 + { lib, stdenv, fetchurl, ocaml, findlib, ocamlbuild, ounit }: 2 2 3 3 stdenv.mkDerivation { 4 4 pname = "ocamlmod"; ··· 25 25 homepage = "https://forge.ocamlcore.org/projects/ocamlmod/ocamlmod"; 26 26 description = "Generate OCaml modules from source files"; 27 27 platforms = ocaml.meta.platforms or []; 28 - maintainers = with stdenv.lib.maintainers; [ 28 + maintainers = with lib.maintainers; [ 29 29 maggesi 30 30 ]; 31 31 };
+2 -2
pkgs/development/tools/ocaml/ocp-build/default.nix
··· 1 - { stdenv, fetchFromGitHub, ocaml, findlib, ncurses, cmdliner, re }: 1 + { lib, stdenv, fetchFromGitHub, ocaml, findlib, ncurses, cmdliner, re }: 2 2 let 3 3 version = "1.99.21"; 4 4 in ··· 20 20 export configureFlags="$configureFlags --with-metadir=$OCAMLFIND_DESTDIR" 21 21 ''; 22 22 23 - meta = with stdenv.lib; { 23 + meta = with lib; { 24 24 homepage = "https://www.typerex.org/ocp-build.html"; 25 25 description = "A build tool for OCaml"; 26 26 longDescription = ''
+3 -3
pkgs/development/tools/ocaml/ocsigen-i18n/default.nix
··· 1 - { stdenv, fetchzip, ocamlPackages }: 1 + { lib, stdenv, fetchzip, ocamlPackages }: 2 2 3 3 stdenv.mkDerivation rec 4 4 { ··· 22 22 meta = { 23 23 homepage = "https://github.com/besport/ocsigen-i18n"; 24 24 description = "I18n made easy for web sites written with eliom"; 25 - license = stdenv.lib.licenses.lgpl21; 26 - maintainers = [ stdenv.lib.maintainers.gal_bolle ]; 25 + license = lib.licenses.lgpl21; 26 + maintainers = [ lib.maintainers.gal_bolle ]; 27 27 }; 28 28 29 29 }
+2 -2
pkgs/development/tools/ocaml/omake/0.9.8.6-rc1.nix
··· 1 - {stdenv, fetchurl, makeWrapper, ocaml, ncurses}: 1 + {lib, stdenv, fetchurl, makeWrapper, ocaml, ncurses}: 2 2 let 3 3 pname = "omake"; 4 4 version = "0.9.8.6-0.rc1"; 5 5 webpage = "http://omake.metaprl.org"; 6 6 in 7 7 8 - if stdenv.lib.versionAtLeast ocaml.version "4.06" 8 + if lib.versionAtLeast ocaml.version "4.06" 9 9 then throw "${pname}-${version} is not available for OCaml ${ocaml.version}" 10 10 else 11 11
+2 -2
pkgs/development/tools/ocaml/omake/default.nix
··· 1 - { stdenv, fetchurl, ocaml, ncurses }: 1 + { lib, stdenv, fetchurl, ocaml, ncurses }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 ··· 15 15 meta = { 16 16 description = "A build system designed for scalability and portability"; 17 17 homepage = "http://projects.camlcity.org/projects/omake.html"; 18 - license = with stdenv.lib.licenses; [ 18 + license = with lib.licenses; [ 19 19 mit /* scripts */ 20 20 gpl2 /* program */ 21 21 ];
+3 -3
pkgs/development/tools/ocaml/opaline/default.nix
··· 1 - { stdenv, fetchFromGitHub, ocamlPackages }: 1 + { lib, stdenv, fetchFromGitHub, ocamlPackages }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 version = "0.3.2"; ··· 19 19 20 20 meta = { 21 21 description = "OPAm Light INstaller Engine"; 22 - license = stdenv.lib.licenses.mit; 23 - maintainers = [ stdenv.lib.maintainers.vbgl ]; 22 + license = lib.licenses.mit; 23 + maintainers = [ lib.maintainers.vbgl ]; 24 24 inherit (src.meta) homepage; 25 25 inherit (ocamlPackages.ocaml.meta) platforms; 26 26 };
+1 -1
pkgs/development/tools/ocaml/opam/1.2.2.nix
··· 82 82 83 83 doCheck = false; 84 84 85 - meta = with stdenv.lib; { 85 + meta = with lib; { 86 86 description = "A package manager for OCaml"; 87 87 homepage = "http://opam.ocamlpro.com/"; 88 88 maintainers = [ maintainers.henrytill ];
+1 -1
pkgs/development/tools/ocaml/opam/default.nix
··· 110 110 111 111 doCheck = false; 112 112 113 - meta = with stdenv.lib; { 113 + meta = with lib; { 114 114 description = "A package manager for OCaml"; 115 115 homepage = "https://opam.ocaml.org/"; 116 116 maintainers = [ maintainers.henrytill maintainers.marsam ];
+5 -5
pkgs/development/tools/ocaml/utop/default.nix
··· 1 - { stdenv, fetchurl, ocaml, findlib 1 + { lib, stdenv, fetchurl, ocaml, findlib 2 2 , lambdaTerm, cppo, makeWrapper, buildDunePackage 3 3 }: 4 4 5 - if !stdenv.lib.versionAtLeast ocaml.version "4.03" 5 + if !lib.versionAtLeast ocaml.version "4.03" 6 6 then throw "utop is not available for OCaml ${ocaml.version}" 7 7 else 8 8 ··· 58 58 --prefix CAML_LD_LIBRARY_PATH ":" "${get "CAML_LD_LIBRARY_PATH"}" \ 59 59 --prefix OCAMLPATH ":" "${get "OCAMLPATH"}" \ 60 60 --prefix OCAMLPATH ":" $(unset OCAMLPATH; addOCamlPath "$out"; printf %s "$OCAMLPATH") \ 61 - --add-flags "-I ${findlib}/lib/ocaml/${stdenv.lib.getVersion ocaml}/site-lib" 61 + --add-flags "-I ${findlib}/lib/ocaml/${lib.getVersion ocaml}/site-lib" 62 62 done 63 63 ''; 64 64 ··· 70 70 It integrates with the tuareg mode in Emacs. 71 71 ''; 72 72 homepage = "https://github.com/diml/utop"; 73 - license = stdenv.lib.licenses.bsd3; 73 + license = lib.licenses.bsd3; 74 74 platforms = ocaml.meta.platforms or []; 75 75 maintainers = [ 76 - stdenv.lib.maintainers.gal_bolle 76 + lib.maintainers.gal_bolle 77 77 ]; 78 78 }; 79 79 }
+2 -2
pkgs/development/tools/omniorb/default.nix
··· 1 - { stdenv, fetchurl, python2 }: 1 + { lib, stdenv, fetchurl, python2 }: 2 2 stdenv.mkDerivation rec { 3 3 4 4 pname = "omniorb"; ··· 14 14 15 15 hardeningDisable = [ "format" ]; 16 16 17 - meta = with stdenv.lib; { 17 + meta = with lib; { 18 18 description = "A robust high performance CORBA ORB for C++ and Python. It is freely available under the terms of the GNU Lesser General Public License (for the libraries), and GNU General Public License (for the tools). omniORB is largely CORBA 2.6 compliant"; 19 19 homepage = "http://omniorb.sourceforge.net/"; 20 20 license = licenses.gpl2Plus;
+2 -2
pkgs/development/tools/omnisharp-roslyn/default.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 , fetchurl 3 3 , mono5 4 4 , makeWrapper ··· 31 31 --add-flags "$out/src/OmniSharp.exe" 32 32 ''; 33 33 34 - meta = with stdenv.lib; { 34 + meta = with lib; { 35 35 description = "OmniSharp based on roslyn workspaces"; 36 36 homepage = "https://github.com/OmniSharp/omnisharp-roslyn"; 37 37 platforms = platforms.linux;
+1 -1
pkgs/development/tools/out-of-tree/default.nix
··· 18 18 19 19 postFixup = '' 20 20 wrapProgram $out/bin/out-of-tree \ 21 - --prefix PATH : "${stdenv.lib.makeBinPath [ qemu docker which ]}" 21 + --prefix PATH : "${lib.makeBinPath [ qemu docker which ]}" 22 22 ''; 23 23 24 24 meta = with lib; {
+4 -4
pkgs/development/tools/packet/default.nix
··· 1 1 # This file was generated by https://github.com/kamilchm/go2nix v1.2.1 2 - { stdenv, buildGoPackage, fetchgit }: 2 + { lib, stdenv, buildGoPackage, fetchgit }: 3 3 4 4 buildGoPackage rec { 5 5 pname = "packet"; ··· 18 18 meta = { 19 19 description = "a CLI tool to manage packet.net services"; 20 20 homepage = "https://github.com/ebsarr/packet"; 21 - license = stdenv.lib.licenses.mit; 22 - maintainers = [ stdenv.lib.maintainers.grahamc ]; 23 - platforms = stdenv.lib.platforms.unix; 21 + license = lib.licenses.mit; 22 + maintainers = [ lib.maintainers.grahamc ]; 23 + platforms = lib.platforms.unix; 24 24 }; 25 25 }
+1 -1
pkgs/development/tools/parsing/antlr/3.5.nix
··· 40 40 homepage = "https://www.antlr.org/"; 41 41 license = licenses.bsd3; 42 42 platforms = platforms.linux; 43 - maintainers = [ stdenv.lib.maintainers.farlion ]; 43 + maintainers = [ lib.maintainers.farlion ]; 44 44 }; 45 45 }
+2 -2
pkgs/development/tools/parsing/antlr/4.8.nix
··· 19 19 outputs = [ "out" "dev" "doc" ]; 20 20 21 21 nativeBuildInputs = [ cmake ninja pkg-config ]; 22 - buildInputs = stdenv.lib.optional stdenv.isLinux libuuid 23 - ++ stdenv.lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.CoreFoundation; 22 + buildInputs = lib.optional stdenv.isLinux libuuid 23 + ++ lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.CoreFoundation; 24 24 25 25 postUnpack = '' 26 26 export sourceRoot=$sourceRoot/runtime/Cpp
+4 -4
pkgs/development/tools/parsing/bison/default.nix
··· 1 - { stdenv, fetchurl, m4, perl, help2man }: 1 + { lib, stdenv, fetchurl, m4, perl, help2man }: 2 2 3 3 # Note: this package is used for bootstrapping fetchurl, and thus 4 4 # cannot use fetchpatch! All mutable patches (generated by GitHub or ··· 14 14 sha256 = "1qkp2rfi5njyp5c5avajab00aj74pkmkgzkvshv4p2ydkhswgazv"; 15 15 }; 16 16 17 - nativeBuildInputs = [ m4 perl ] ++ stdenv.lib.optional stdenv.isSunOS help2man; 17 + nativeBuildInputs = [ m4 perl ] ++ lib.optional stdenv.isSunOS help2man; 18 18 propagatedBuildInputs = [ m4 ]; 19 19 20 20 doCheck = false; # fails ··· 23 23 meta = { 24 24 homepage = "https://www.gnu.org/software/bison/"; 25 25 description = "Yacc-compatible parser generator"; 26 - license = stdenv.lib.licenses.gpl3Plus; 26 + license = lib.licenses.gpl3Plus; 27 27 28 28 longDescription = '' 29 29 Bison is a general-purpose parser generator that converts an ··· 39 39 to use Bison. 40 40 ''; 41 41 42 - platforms = stdenv.lib.platforms.unix; 42 + platforms = lib.platforms.unix; 43 43 }; 44 44 45 45 passthru = { glrSupport = true; };
+1 -1
pkgs/development/tools/parsing/flex/2.5.35.nix
··· 16 16 17 17 propagatedBuildInputs = [ m4 ]; 18 18 19 - preConfigure = stdenv.lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ 19 + preConfigure = lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ 20 20 "ac_cv_func_malloc_0_nonnull=yes" 21 21 "ac_cv_func_realloc_0_nonnull=yes" 22 22 ];
+3 -3
pkgs/development/tools/parsing/flex/2.6.1.nix
··· 10 10 11 11 postPatch = '' 12 12 patchShebangs tests 13 - '' + stdenv.lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) '' 13 + '' + lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) '' 14 14 substituteInPlace Makefile.in --replace "tests" " "; 15 15 ''; 16 16 ··· 18 18 19 19 propagatedBuildInputs = [ m4 ]; 20 20 21 - preConfigure = stdenv.lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ 21 + preConfigure = lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ 22 22 "ac_cv_func_malloc_0_nonnull=yes" 23 23 "ac_cv_func_realloc_0_nonnull=yes" 24 24 ]; 25 25 26 - postConfigure = stdenv.lib.optionalString (stdenv.isDarwin || stdenv.isCygwin) '' 26 + postConfigure = lib.optionalString (stdenv.isDarwin || stdenv.isCygwin) '' 27 27 sed -i Makefile -e 's/-no-undefined//;' 28 28 ''; 29 29
+3 -3
pkgs/development/tools/parsing/flex/default.nix
··· 22 22 23 23 postPatch = '' 24 24 patchShebangs tests 25 - '' + stdenv.lib.optionalString (stdenv.buildPlatform != stdenv.hostPlatform) '' 25 + '' + lib.optionalString (stdenv.buildPlatform != stdenv.hostPlatform) '' 26 26 substituteInPlace Makefile.in --replace "tests" " " 27 27 28 28 substituteInPlace doc/Makefile.am --replace 'flex.1: $(top_srcdir)/configure.ac' 'flex.1: ' ··· 33 33 buildInputs = [ bison ]; 34 34 propagatedBuildInputs = [ m4 ]; 35 35 36 - preConfigure = stdenv.lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ 36 + preConfigure = lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ 37 37 "ac_cv_func_malloc_0_nonnull=yes" 38 38 "ac_cv_func_realloc_0_nonnull=yes" 39 39 ]; 40 40 41 - postConfigure = stdenv.lib.optionalString (stdenv.isDarwin || stdenv.isCygwin) '' 41 + postConfigure = lib.optionalString (stdenv.isDarwin || stdenv.isCygwin) '' 42 42 sed -i Makefile -e 's/-no-undefined//;' 43 43 ''; 44 44
+5 -5
pkgs/development/tools/parsing/ragel/default.nix
··· 13 13 inherit sha256; 14 14 }; 15 15 16 - buildInputs = stdenv.lib.optional build-manual [ transfig ghostscript tex ]; 16 + buildInputs = lib.optional build-manual [ transfig ghostscript tex ]; 17 17 18 - preConfigure = stdenv.lib.optional build-manual '' 18 + preConfigure = lib.optional build-manual '' 19 19 sed -i "s/build_manual=no/build_manual=yes/g" DIST 20 20 ''; 21 21 22 22 configureFlags = [ "--with-colm=${colm}" ]; 23 23 24 - NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.cc.isGNU "-std=gnu++98"; 24 + NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isGNU "-std=gnu++98"; 25 25 26 26 doCheck = true; 27 27 ··· 40 40 ragelStable = generic { 41 41 version = "6.10"; 42 42 sha256 = "0gvcsl62gh6sg73nwaxav4a5ja23zcnyxncdcdnqa2yjcpdnw5az"; 43 - license = stdenv.lib.licenses.gpl2; 43 + license = lib.licenses.gpl2; 44 44 }; 45 45 46 46 ragelDev = generic { 47 47 version = "7.0.0.12"; 48 48 sha256 = "0x3si355lv6q051lgpg8bpclpiq5brpri5lv3p8kk2qhzfbyz69r"; 49 - license = stdenv.lib.licenses.mit; 49 + license = lib.licenses.mit; 50 50 }; 51 51 }
+2 -2
pkgs/development/tools/pgformatter/default.nix
··· 24 24 --replace "'INSTALLDIRS' => \$INSTALLDIRS," "'INSTALLDIRS' => \$INSTALLDIRS, 'INSTALLVENDORLIB' => 'bin/lib', 'INSTALLVENDORBIN' => 'bin', 'INSTALLVENDORSCRIPT' => 'bin', 'INSTALLVENDORMAN1DIR' => 'share/man/man1', 'INSTALLVENDORMAN3DIR' => 'share/man/man3'," 25 25 ''; 26 26 27 - nativeBuildInputs = stdenv.lib.optional stdenv.isDarwin shortenPerlShebang; 28 - postInstall = stdenv.lib.optionalString stdenv.isDarwin '' 27 + nativeBuildInputs = lib.optional stdenv.isDarwin shortenPerlShebang; 28 + postInstall = lib.optionalString stdenv.isDarwin '' 29 29 shortenPerlShebang $out/bin/pg_format 30 30 ''; 31 31
+1 -1
pkgs/development/tools/pgloader/default.nix
··· 11 11 nativeBuildInputs = [ git makeWrapper ]; 12 12 buildInputs = [ sbcl cacert sqlite freetds libzip curl openssl ]; 13 13 14 - LD_LIBRARY_PATH = stdenv.lib.makeLibraryPath [ sqlite libzip curl git openssl freetds ]; 14 + LD_LIBRARY_PATH = lib.makeLibraryPath [ sqlite libzip curl git openssl freetds ]; 15 15 16 16 buildPhase = '' 17 17 export PATH=$PATH:$out/bin
+1 -1
pkgs/development/tools/phantomjs/default.nix
··· 34 34 buildPhase = lib.optionalString (!stdenv.isDarwin) '' 35 35 patchelf \ 36 36 --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \ 37 - --set-rpath "${stdenv.lib.makeLibraryPath [ freetype fontconfig stdenv.cc.cc stdenv.cc.cc openssl ]}" \ 37 + --set-rpath "${lib.makeLibraryPath [ freetype fontconfig stdenv.cc.cc stdenv.cc.cc openssl ]}" \ 38 38 bin/phantomjs 39 39 ''; 40 40
+4 -4
pkgs/development/tools/phantomjs2/default.nix
··· 30 30 bison flex fontconfig freetype gperf icu openssl 31 31 libjpeg libpng perl python ruby sqlite qtwebkit qtbase 32 32 makeWrapper 33 - ] ++ stdenv.lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ 33 + ] ++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ 34 34 AGL ApplicationServices AppKit Cocoa OpenGL 35 35 darwin.libobjc fakeClang cups 36 36 ]); ··· 73 73 # invalid suffix on literal; C++11 requires a space between litend identifier 74 74 NIX_CFLAGS_COMPILE = "-Wno-reserved-user-defined-literal"; 75 75 76 - __impureHostDeps = stdenv.lib.optional stdenv.isDarwin "/usr/lib/libicucore.dylib"; 76 + __impureHostDeps = lib.optional stdenv.isDarwin "/usr/lib/libicucore.dylib"; 77 77 78 78 enableParallelBuilding = true; 79 79 ··· 81 81 mkdir -p $out/share/doc/phantomjs 82 82 cp -a bin $out 83 83 cp -a ChangeLog examples LICENSE.BSD README.md third-party.txt $out/share/doc/phantomjs 84 - '' + stdenv.lib.optionalString stdenv.isDarwin '' 84 + '' + lib.optionalString stdenv.isDarwin '' 85 85 install_name_tool -change \ 86 86 ${darwin.CF}/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation \ 87 87 /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation \ ··· 92 92 '' + '' 93 93 wrapProgram $out/bin/phantomjs \ 94 94 --set QT_QPA_PLATFORM offscreen \ 95 - --prefix PATH : ${stdenv.lib.makeBinPath [ qtbase ]} 95 + --prefix PATH : ${lib.makeBinPath [ qtbase ]} 96 96 ''; 97 97 98 98 meta = with lib; {
+8 -8
pkgs/development/tools/poetry2nix/poetry2nix/overrides.nix
··· 127 127 cryptography = super.cryptography.overridePythonAttrs ( 128 128 old: { 129 129 nativeBuildInputs = old.nativeBuildInputs or [ ] 130 - ++ stdenv.lib.optional (stdenv.buildPlatform != stdenv.hostPlatform) self.python.pythonForBuild.pkgs.cffi; 130 + ++ lib.optional (stdenv.buildPlatform != stdenv.hostPlatform) self.python.pythonForBuild.pkgs.cffi; 131 131 buildInputs = old.buildInputs ++ [ pkgs.openssl ]; 132 132 } 133 133 ); ··· 245 245 246 246 horovod = super.horovod.overridePythonAttrs ( 247 247 old: { 248 - propagatedBuildInputs = old.propagatedBuildInputs ++ [ pkgs.openmpi ]; 248 + propagatedBuildInputs = old.propagatedBuildInputs ++ [ pkgs.mpi ]; 249 249 } 250 250 ); 251 251 ··· 443 443 inherit (pkgs.darwin.apple_sdk.frameworks) Cocoa; 444 444 in 445 445 { 446 - NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.isDarwin "-I${pkgs.libcxx}/include/c++/v1"; 446 + NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin "-I${pkgs.libcxx}/include/c++/v1"; 447 447 448 448 XDG_RUNTIME_DIR = "/tmp"; 449 449 ··· 466 466 pkgs.libpng 467 467 pkgs.freetype 468 468 ] 469 - ++ stdenv.lib.optionals enableGtk3 [ pkgs.cairo self.pycairo pkgs.gtk3 pkgs.gobject-introspection self.pygobject3 ] 470 - ++ stdenv.lib.optionals enableTk [ pkgs.tcl pkgs.tk self.tkinter pkgs.libX11 ] 471 - ++ stdenv.lib.optionals enableQt [ self.pyqt5 ] 469 + ++ lib.optionals enableGtk3 [ pkgs.cairo self.pycairo pkgs.gtk3 pkgs.gobject-introspection self.pygobject3 ] 470 + ++ lib.optionals enableTk [ pkgs.tcl pkgs.tk self.tkinter pkgs.libX11 ] 471 + ++ lib.optionals enableQt [ self.pyqt5 ] 472 472 ; 473 473 474 474 inherit (super.matplotlib) patches; ··· 528 528 { } 529 529 { 530 530 mpi = { 531 - mpicc = "${pkgs.openmpi.outPath}/bin/mpicc"; 531 + mpicc = "${pkgs.mpi.outPath}/bin/mpicc"; 532 532 }; 533 533 } 534 534 ); 535 535 }; 536 536 in 537 537 { 538 - propagatedBuildInputs = old.propagatedBuildInputs ++ [ pkgs.openmpi ]; 538 + propagatedBuildInputs = old.propagatedBuildInputs ++ [ pkgs.mpi ]; 539 539 enableParallelBuilding = true; 540 540 preBuild = '' 541 541 ln -sf ${cfg} mpi.cfg
+3 -3
pkgs/development/tools/poetry2nix/poetry2nix/pep425.nix
··· 73 73 if isLinux 74 74 then 75 75 ( 76 - x: x.platform == "manylinux1_${stdenv.platform.kernelArch}" 77 - || x.platform == "manylinux2010_${stdenv.platform.kernelArch}" 78 - || x.platform == "manylinux2014_${stdenv.platform.kernelArch}" 76 + x: x.platform == "manylinux1_${stdenv.hostPlatform.linuxArch}" 77 + || x.platform == "manylinux2010_${stdenv.hostPlatform.linuxArch}" 78 + || x.platform == "manylinux2014_${stdenv.hostPlatform.linuxArch}" 79 79 || x.platform == "any" 80 80 ) 81 81 else (x: hasInfix "macosx" x.platform || x.platform == "any");
+1 -1
pkgs/development/tools/poetry2nix/poetry2nix/pep508.nix
··· 95 95 else if stdenv.isDarwin then "darwin" 96 96 else throw "Unsupported platform" 97 97 ); 98 - platform_machine = stdenv.platform.kernelArch; 98 + platform_machine = stdenv.hostPlatform.linuxArch; 99 99 platform_python_implementation = 100 100 let 101 101 impl = python.passthru.implementation;
+3 -3
pkgs/development/tools/profiling/EZTrace/default.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 , fetchurl, autoconf, gfortran 3 3 , libelf, libiberty, zlib, libbfd, libopcodes 4 4 , buildPackages ··· 25 25 26 26 meta = { 27 27 description = "Tool that aims at generating automatically execution trace from HPC programs"; 28 - license = stdenv.lib.licenses.cecill-b; 29 - maintainers = with stdenv.lib.maintainers; [ ]; 28 + license = lib.licenses.cecill-b; 29 + maintainers = with lib.maintainers; [ ]; 30 30 }; 31 31 }
+5 -5
pkgs/development/tools/profiling/oprofile/default.nix
··· 1 - { stdenv, buildPackages 1 + { lib, stdenv, buildPackages 2 2 , fetchurl, pkg-config 3 3 , libbfd, popt, zlib, linuxHeaders, libiberty_static 4 4 , withGUI ? false, qt4 ? null ··· 23 23 24 24 nativeBuildInputs = [ pkg-config ]; 25 25 buildInputs = [ libbfd zlib popt linuxHeaders libiberty_static ] 26 - ++ stdenv.lib.optionals withGUI [ qt4 ]; 26 + ++ lib.optionals withGUI [ qt4 ]; 27 27 28 28 configureFlags = [ 29 29 "--with-kernel=${linuxHeaders}" 30 30 "--disable-shared" # needed because only the static libbfd is available 31 31 ] 32 - ++ stdenv.lib.optional withGUI "--with-qt-dir=${qt4} --enable-gui=qt4"; 32 + ++ lib.optional withGUI "--with-qt-dir=${qt4} --enable-gui=qt4"; 33 33 34 34 meta = { 35 35 description = "System-wide profiler for Linux"; ··· 45 45 is profiled: hardware and software interrupt handlers, kernel 46 46 modules, the kernel, shared libraries, and applications. 47 47 ''; 48 - license = stdenv.lib.licenses.gpl2; 48 + license = lib.licenses.gpl2; 49 49 homepage = "http://oprofile.sourceforge.net/"; 50 50 51 - platforms = stdenv.lib.platforms.linux; 51 + platforms = lib.platforms.linux; 52 52 maintainers = [ ]; 53 53 }; 54 54 }
+2 -2
pkgs/development/tools/profiling/sysprof/capture.nix
··· 1 - { stdenv 1 + { lib, stdenv 2 2 , meson 3 3 , ninja 4 4 , sysprof ··· 25 25 26 26 meta = sysprof.meta // { 27 27 description = "Static library for Sysprof capture data generation"; 28 - platforms = stdenv.lib.platforms.all; 28 + platforms = lib.platforms.all; 29 29 }; 30 30 }
+1 -1
pkgs/development/tools/profiling/sysprof/default.nix
··· 25 25 outputs = [ "out" "lib" "dev" ]; 26 26 27 27 src = fetchurl { 28 - url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 28 + url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; 29 29 sha256 = "1z2i9187f2jx456l7h07wy8m9a0p7pj3xiv1aji3snq7rjb1lkj0"; 30 30 }; 31 31
+2 -2
pkgs/development/tools/purescript/spago/spago.nix
··· 6 6 , http-conduit, http-types, lens-family-core, megaparsec, mtl 7 7 , network-uri, open-browser, optparse-applicative, prettyprinter 8 8 , process, QuickCheck, retry, rio, rio-orphans, safe, semver-range 9 - , stdenv, stm, stringsearch, tar, template-haskell, temporary, text 9 + , lib, stdenv, stm, stringsearch, tar, template-haskell, temporary, text 10 10 , time, transformers, turtle, unliftio, unordered-containers 11 11 , utf8-string, vector, versions, with-utf8, zlib 12 12 }: ··· 41 41 testToolDepends = [ hspec-discover ]; 42 42 prePatch = "hpack"; 43 43 homepage = "https://github.com/purescript/spago#readme"; 44 - license = stdenv.lib.licenses.bsd3; 44 + license = lib.licenses.bsd3; 45 45 }
+1 -1
pkgs/development/tools/py-spy/default.nix
··· 14 14 NIX_CFLAGS_COMPILE = "-L${libunwind}/lib"; 15 15 16 16 # error: linker `arm-linux-gnueabihf-gcc` not found 17 - preConfigure = stdenv.lib.optionalString (stdenv.buildPlatform != stdenv.hostPlatform) '' 17 + preConfigure = lib.optionalString (stdenv.buildPlatform != stdenv.hostPlatform) '' 18 18 export RUSTFLAGS="-Clinker=$CC" 19 19 ''; 20 20
+3 -3
pkgs/development/tools/pydb/default.nix
··· 1 - { stdenv, fetchurl, python2, emacs }: 1 + { lib, stdenv, fetchurl, python2, emacs }: 2 2 3 3 stdenv.mkDerivation { 4 4 name = "pydb-1.26"; ··· 18 18 meta = { 19 19 description = "Python debugger with GDB-like commands and Emacs bindings"; 20 20 homepage = "http://bashdb.sourceforge.net/pydb/"; 21 - license = stdenv.lib.licenses.gpl3; 22 - platforms = stdenv.lib.platforms.all; 21 + license = lib.licenses.gpl3; 22 + platforms = lib.platforms.all; 23 23 }; 24 24 }
+3 -3
pkgs/development/tools/quilt/default.nix
··· 1 - { stdenv, fetchurl, makeWrapper, bash, perl, diffstat, diffutils, patch, findutils }: 1 + { lib, stdenv, fetchurl, makeWrapper, bash, perl, diffstat, diffutils, patch, findutils }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 ··· 27 27 and more. 28 28 ''; 29 29 30 - license = stdenv.lib.licenses.gpl2Plus; 31 - platforms = stdenv.lib.platforms.all; 30 + license = lib.licenses.gpl2Plus; 31 + platforms = lib.platforms.all; 32 32 }; 33 33 34 34 }
+2 -2
pkgs/development/tools/rdocker/default.nix
··· 19 19 20 20 postInstall = '' 21 21 wrapProgram $out/bin/rdocker \ 22 - --prefix PATH : ${stdenv.lib.makeBinPath [ openssh ]} 22 + --prefix PATH : ${lib.makeBinPath [ openssh ]} 23 23 ''; 24 24 25 25 meta = with lib; { 26 26 description = "Securely control a remote docker daemon CLI using ssh forwarding, no SSL setup needed"; 27 27 homepage = "https://github.com/dvddarias/rdocker"; 28 - maintainers = [ stdenv.lib.maintainers.pneumaticat ]; 28 + maintainers = [ lib.maintainers.pneumaticat ]; 29 29 license = licenses.mit; 30 30 platforms = platforms.unix; 31 31 };
+1 -1
pkgs/development/tools/react-native-debugger/default.nix
··· 3 3 }: 4 4 5 5 let 6 - rpath = stdenv.lib.makeLibraryPath [ 6 + rpath = lib.makeLibraryPath [ 7 7 cairo 8 8 stdenv.cc.cc 9 9 gdk-pixbuf
+1 -1
pkgs/development/tools/repository-managers/nexus/default.nix
··· 33 33 wrapProgram $out/bin/nexus \ 34 34 --set JAVA_HOME ${jre_headless} \ 35 35 --set ALTERNATIVE_NAME "nexus" \ 36 - --prefix PATH "${stdenv.lib.makeBinPath [ gawk ]}" 36 + --prefix PATH "${lib.makeBinPath [ gawk ]}" 37 37 38 38 runHook postInstall 39 39 '';
+2 -2
pkgs/development/tools/rtags/default.nix
··· 28 28 meta = { 29 29 description = "C/C++ client-server indexer based on clang"; 30 30 homepage = "https://github.com/andersbakken/rtags"; 31 - license = stdenv.lib.licenses.gpl3; 32 - platforms = with stdenv.lib.platforms; x86_64 ++ aarch64; 31 + license = lib.licenses.gpl3; 32 + platforms = with lib.platforms; x86_64 ++ aarch64; 33 33 }; 34 34 }
+1 -1
pkgs/development/tools/rund/default.nix
··· 44 44 homepage = "https://github.com/dragon-lang/rund"; 45 45 license = lib.licenses.boost; 46 46 maintainers = with maintainers; [ jonathanmarler ]; 47 - platforms = stdenv.lib.platforms.unix; 47 + platforms = lib.platforms.unix; 48 48 }; 49 49 }
+1 -1
pkgs/development/tools/rust/cargo-asm/default.nix
··· 13 13 14 14 cargoSha256 = "0d797cisiydblh64vqpfdjf37wmxrvs77phdrqh582lbrvnfhx2j"; 15 15 16 - buildInputs = stdenv.lib.optional stdenv.isDarwin Security; 16 + buildInputs = lib.optional stdenv.isDarwin Security; 17 17 18 18 # Test checks against machine code output, which fails with some 19 19 # LLVM/compiler versions.
+1 -1
pkgs/development/tools/rust/cargo-c/default.nix
··· 32 32 33 33 nativeBuildInputs = [ pkg-config ]; 34 34 buildInputs = [ openssl ] 35 - ++ stdenv.lib.optionals stdenv.isDarwin [ CoreFoundation libiconv Security ]; 35 + ++ lib.optionals stdenv.isDarwin [ CoreFoundation libiconv Security ]; 36 36 37 37 meta = with lib; { 38 38 description = "A cargo subcommand to build and install C-ABI compatibile dynamic and static libraries";
+1 -1
pkgs/development/tools/rust/cargo-cache/default.nix
··· 13 13 14 14 cargoSha256 = "sha256-sZxkEQBZ2PJXSvwcA+IL7uW/gcnzuzRcDklNW5vpzWg="; 15 15 16 - buildInputs = stdenv.lib.optionals stdenv.isDarwin [ libiconv Security ]; 16 + buildInputs = lib.optionals stdenv.isDarwin [ libiconv Security ]; 17 17 18 18 checkFlagsArray = [ "offline_tests" ]; 19 19
+1 -1
pkgs/development/tools/rust/cargo-crev/default.nix
··· 24 24 25 25 nativeBuildInputs = [ perl pkg-config ]; 26 26 27 - buildInputs = [ openssl ] ++ stdenv.lib.optionals stdenv.isDarwin [ Security libiconv curl ]; 27 + buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security libiconv curl ]; 28 28 29 29 meta = with lib; { 30 30 description = "A cryptographically verifiable code review system for the cargo (Rust) package manager";
+1 -1
pkgs/development/tools/rust/cargo-deny/default.nix
··· 23 23 nativeBuildInputs = [ perl pkg-config ]; 24 24 25 25 buildInputs = [ openssl ] 26 - ++ stdenv.lib.optionals stdenv.isDarwin [ Security libiconv curl ]; 26 + ++ lib.optionals stdenv.isDarwin [ Security libiconv curl ]; 27 27 28 28 meta = with lib; { 29 29 description = "Cargo plugin to generate list of all licenses for a crate";
+1 -1
pkgs/development/tools/rust/cargo-fund/default.nix
··· 18 18 19 19 nativeBuildInputs = [ pkg-config ]; 20 20 21 - buildInputs = [ openssl ] ++ stdenv.lib.optionals stdenv.isDarwin [ Security libiconv curl ]; 21 + buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security libiconv curl ]; 22 22 23 23 meta = with lib; { 24 24 description = "Discover funding links for your project's dependencies";
+1 -1
pkgs/development/tools/rust/cargo-geiger/default.nix
··· 29 29 # FIXME: Use impure version of CoreFoundation because of missing symbols. 30 30 # CFURLSetResourcePropertyForKey is defined in the headers but there's no 31 31 # corresponding implementation in the sources from opensource.apple.com. 32 - preConfigure = stdenv.lib.optionalString stdenv.isDarwin '' 32 + preConfigure = lib.optionalString stdenv.isDarwin '' 33 33 export NIX_CFLAGS_COMPILE="-F${CoreFoundation}/Library/Frameworks $NIX_CFLAGS_COMPILE" 34 34 ''; 35 35
+1 -1
pkgs/development/tools/rust/cargo-generate/default.nix
··· 16 16 nativeBuildInputs = [ pkg-config ]; 17 17 18 18 buildInputs = [ openssl ] 19 - ++ stdenv.lib.optionals stdenv.isDarwin [ Security libiconv curl ]; 19 + ++ lib.optionals stdenv.isDarwin [ Security libiconv curl ]; 20 20 21 21 preCheck = '' 22 22 export HOME=$(mktemp -d) USER=nixbld
+1 -1
pkgs/development/tools/rust/cargo-inspect/default.nix
··· 11 11 sha256 = "026vc8d0jkc1d7dlp3ldmwks7svpvqzl0k5niri8a12cl5w5b9hj"; 12 12 }; 13 13 14 - buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ]; 14 + buildInputs = lib.optionals stdenv.isDarwin [ Security ]; 15 15 16 16 cargoSha256 = "1ryi5qi1zz2yljyj4rn84q9zkzafc9w4nw3zc01hlzpnb1sjw5sw"; 17 17
+1 -1
pkgs/development/tools/rust/cargo-make/default.nix
··· 14 14 nativeBuildInputs = [ pkg-config ]; 15 15 16 16 buildInputs = [ openssl ] 17 - ++ stdenv.lib.optionals stdenv.isDarwin [ Security SystemConfiguration ]; 17 + ++ lib.optionals stdenv.isDarwin [ Security SystemConfiguration ]; 18 18 19 19 cargoSha256 = "sha256-Qh14lks72bsetwyv0ALF7nZo3m3FDEmVxzFkHJoEuzE="; 20 20
+1 -1
pkgs/development/tools/rust/cargo-raze/default.nix
··· 17 17 18 18 nativeBuildInputs = [ pkg-config ]; 19 19 buildInputs = [ curl libgit2 openssl ] 20 - ++ stdenv.lib.optional stdenv.isDarwin Security; 20 + ++ lib.optional stdenv.isDarwin Security; 21 21 22 22 doCheck = true; 23 23
+1 -1
pkgs/development/tools/rust/cargo-udeps/default.nix
··· 16 16 nativeBuildInputs = [ pkg-config ]; 17 17 18 18 buildInputs = [ openssl ] 19 - ++ stdenv.lib.optionals stdenv.isDarwin [ CoreServices Security libiconv ]; 19 + ++ lib.optionals stdenv.isDarwin [ CoreServices Security libiconv ]; 20 20 21 21 # Requires network access 22 22 doCheck = false;
+1 -1
pkgs/development/tools/rust/cbindgen/default.nix
··· 13 13 14 14 cargoSha256 = "1lzzckzcgj496chbfd6lhwxcangv0krx8m5k2jwffnb9mfgac7hx"; 15 15 16 - buildInputs = stdenv.lib.optional stdenv.isDarwin Security; 16 + buildInputs = lib.optional stdenv.isDarwin Security; 17 17 18 18 checkFlags = [ 19 19 # https://github.com/eqrion/cbindgen/issues/338
+2 -2
pkgs/development/tools/rust/maturin/default.nix
··· 19 19 nativeBuildInputs = [ pkg-config ]; 20 20 21 21 buildInputs = [ gmp openssl ] 22 - ++ stdenv.lib.optional stdenv.isDarwin Security 23 - ++ stdenv.lib.optional stdenv.isLinux dbus; 22 + ++ lib.optional stdenv.isDarwin Security 23 + ++ lib.optional stdenv.isLinux dbus; 24 24 25 25 # Requires network access, fails in sandbox. 26 26 doCheck = false;
+1 -1
pkgs/development/tools/rust/racer/default.nix
··· 14 14 cargoSha256 = "sha256-iUomr9viCdZk4nV75/OP8vHtJpMbmy+pq1IbaA2lLmE="; 15 15 16 16 nativeBuildInputs = [ makeWrapper ]; 17 - buildInputs = stdenv.lib.optional stdenv.isDarwin Security; 17 + buildInputs = lib.optional stdenv.isDarwin Security; 18 18 19 19 # a nightly compiler is required unless we use this cheat code. 20 20 RUSTC_BOOTSTRAP = 1;
+1 -1
pkgs/development/tools/rust/racerd/default.nix
··· 26 26 doCheck = false; 27 27 28 28 nativeBuildInputs = [ makeWrapper ]; 29 - buildInputs = stdenv.lib.optional stdenv.isDarwin Security; 29 + buildInputs = lib.optional stdenv.isDarwin Security; 30 30 31 31 RUST_SRC_PATH = rustPlatform.rustcSrc; 32 32
+1 -1
pkgs/development/tools/rust/rustup/default.nix
··· 25 25 26 26 buildInputs = [ 27 27 curl zlib 28 - ] ++ stdenv.lib.optionals stdenv.isDarwin [ CoreServices Security ]; 28 + ] ++ lib.optionals stdenv.isDarwin [ CoreServices Security ]; 29 29 30 30 cargoBuildFlags = [ "--features no-self-update" ]; 31 31
+1 -1
pkgs/development/tools/sauce-connect/default.nix
··· 21 21 22 22 buildInputs = [ unzip ]; 23 23 24 - patchPhase = stdenv.lib.optionalString stdenv.isLinux '' 24 + patchPhase = lib.optionalString stdenv.isLinux '' 25 25 patchelf \ 26 26 --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \ 27 27 --set-rpath "$out/lib:${makeLibraryPath [zlib]}" \
+3 -3
pkgs/development/tools/selenium/chromedriver/default.nix
··· 5 5 }: 6 6 7 7 let 8 - upstream-info = (stdenv.lib.importJSON ../../../../applications/networking/browsers/chromium/upstream-info.json).stable.chromedriver; 8 + upstream-info = (lib.importJSON ../../../../applications/networking/browsers/chromium/upstream-info.json).stable.chromedriver; 9 9 allSpecs = { 10 10 x86_64-linux = { 11 11 system = "linux64"; ··· 21 21 spec = allSpecs.${stdenv.hostPlatform.system} 22 22 or (throw "missing chromedriver binary for ${stdenv.hostPlatform.system}"); 23 23 24 - libs = stdenv.lib.makeLibraryPath [ 24 + libs = lib.makeLibraryPath [ 25 25 stdenv.cc.cc.lib 26 26 cairo fontconfig freetype 27 27 gdk-pixbuf glib gtk2 gconf ··· 44 44 45 45 installPhase = '' 46 46 install -m755 -D chromedriver $out/bin/chromedriver 47 - '' + stdenv.lib.optionalString (!stdenv.isDarwin) '' 47 + '' + lib.optionalString (!stdenv.isDarwin) '' 48 48 patchelf --set-interpreter ${glibc.out}/lib/ld-linux-x86-64.so.2 $out/bin/chromedriver 49 49 wrapProgram "$out/bin/chromedriver" --prefix LD_LIBRARY_PATH : "${libs}:\$LD_LIBRARY_PATH" 50 50 '';
+2 -2
pkgs/development/tools/selenium/htmlunit-driver/default.nix
··· 1 - { stdenv, fetchurl }: 1 + { lib, stdenv, fetchurl }: 2 2 3 - with stdenv.lib; 3 + with lib; 4 4 5 5 stdenv.mkDerivation rec { 6 6 pname = "htmlunit-driver-standalone";
+2 -2
pkgs/development/tools/selenium/selendroid/default.nix
··· 1 - { stdenv, fetchurl, makeWrapper, jdk, selenium-server-standalone }: 1 + { lib, stdenv, fetchurl, makeWrapper, jdk, selenium-server-standalone }: 2 2 3 - with stdenv.lib; 3 + with lib; 4 4 let 5 5 name = "selendroid-standalone-${version}"; 6 6 pluginName = "selendroid-grid-plugin-${version}";
+2 -2
pkgs/development/tools/selenium/server/default.nix
··· 1 - { stdenv, fetchurl, makeWrapper, jre 1 + { lib, stdenv, fetchurl, makeWrapper, jre 2 2 , htmlunit-driver, chromedriver, chromeSupport ? true }: 3 3 4 - with stdenv.lib; 4 + with lib; 5 5 6 6 let 7 7 minorVersion = "3.141";
+1 -1
pkgs/development/tools/simavr/default.nix
··· 26 26 27 27 nativeBuildInputs = [ which pkg-config avrgcc ]; 28 28 buildInputs = [ libelf freeglut libGLU libGL ] 29 - ++ stdenv.lib.optional stdenv.isDarwin GLUT; 29 + ++ lib.optional stdenv.isDarwin GLUT; 30 30 31 31 # Hack to avoid TMPDIR in RPATHs. 32 32 preFixup = ''rm -rf "$(pwd)" && mkdir "$(pwd)" '';
+4 -4
pkgs/development/tools/slimerjs/default.nix
··· 1 - {stdenv, fetchFromGitHub, zip, unzip, firefox, bash}: 1 + {lib, stdenv, fetchFromGitHub, zip, unzip, firefox, bash}: 2 2 let 3 3 s = # Generated upstream information 4 4 rec { ··· 43 43 meta = { 44 44 inherit (s) version; 45 45 description = ''Gecko-based programmatically-driven browser''; 46 - license = stdenv.lib.licenses.mpl20 ; 47 - maintainers = [stdenv.lib.maintainers.raskin]; 48 - platforms = stdenv.lib.platforms.linux; 46 + license = lib.licenses.mpl20 ; 47 + maintainers = [lib.maintainers.raskin]; 48 + platforms = lib.platforms.linux; 49 49 }; 50 50 }
+1 -1
pkgs/development/tools/so/default.nix
··· 14 14 cargoSha256 = "1ddbhy1plag4ckbmlyj47wnky7vgmfa68msl3hl25h1lwmzaf1aq"; 15 15 16 16 nativeBuildInputs = [ pkg-config ]; 17 - buildInputs = [ openssl ] ++ stdenv.lib.optionals stdenv.isDarwin [ 17 + buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ 18 18 libiconv Security 19 19 ]; 20 20
+6 -6
pkgs/development/tools/sourcetrail/default.nix
··· 69 69 desktop-file-utils 70 70 imagemagick 71 71 javaIndexer # the resulting jar file is copied by our install script 72 - ] ++ stdenv.lib.optionals doCheck testBinPath; 72 + ] ++ lib.optionals doCheck testBinPath; 73 73 buildInputs = [ 74 74 boost pythonIndexer shared-mime-info 75 75 ] ++ (with qt5; [ qtbase qtsvg ]) ··· 86 86 ]; 87 87 88 88 postPatch = let 89 - major = stdenv.lib.versions.major version; 90 - minor = stdenv.lib.versions.minor version; 91 - patch = stdenv.lib.versions.patch version; 89 + major = lib.versions.major version; 90 + minor = lib.versions.minor version; 91 + patch = lib.versions.patch version; 92 92 in '' 93 93 # Upstream script obtains it's version from git: 94 94 # https://github.com/CoatiSoftware/Sourcetrail/blob/master/cmake/version.cmake ··· 176 176 177 177 mkdir -p $out/bin 178 178 makeQtWrapper $out/opt/sourcetrail/bin/sourcetrail $out/bin/sourcetrail \ 179 - --prefix PATH : ${stdenv.lib.makeBinPath binPath} 179 + --prefix PATH : ${lib.makeBinPath binPath} 180 180 ''; 181 181 182 182 checkPhase = '' ··· 188 188 # shorten PATH to prevent build failures 189 189 wrapQtApp ./Sourcetrail_test \ 190 190 --set PATH "" \ 191 - --prefix PATH : ${stdenv.lib.makeBinPath testBinPath} \ 191 + --prefix PATH : ${lib.makeBinPath testBinPath} \ 192 192 --set MAVEN_OPTS "-Dmaven.repo.local=$TMPDIR/m2repo" 193 193 ./Sourcetrail_test 194 194 popd
+1 -1
pkgs/development/tools/sqsh/default.nix
··· 17 17 18 18 substituteInPlace src/cmd_connect.c \ 19 19 --replace CS_TDS_80 CS_TDS_73 20 - '' + stdenv.lib.optionalString stdenv.isDarwin '' 20 + '' + lib.optionalString stdenv.isDarwin '' 21 21 substituteInPlace configure --replace "libct.so" "libct.dylib" 22 22 ''; 23 23
+1 -1
pkgs/development/tools/summon/default.nix
··· 1 1 { stdenv, buildGoModule, fetchFromGitHub, lib, patchResolver ? true }: 2 2 3 - with stdenv.lib; 3 + with lib; 4 4 5 5 buildGoModule rec { 6 6 pname = "summon";
+2 -2
pkgs/development/tools/sumneko-lua-language-server/default.nix
··· 1 - { stdenv, fetchFromGitHub, ninja, makeWrapper }: 1 + { lib, stdenv, fetchFromGitHub, ninja, makeWrapper }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "sumneko-lua-language-server"; ··· 42 42 --metapath='~/.cache/sumneko_lua/meta'" 43 43 ''; 44 44 45 - meta = with stdenv.lib; { 45 + meta = with lib; { 46 46 description = "Lua Language Server coded by Lua "; 47 47 homepage = "https://github.com/sumneko/lua-language-server"; 48 48 license = licenses.mit;
+2 -2
pkgs/development/tools/the-way/default.nix
··· 13 13 14 14 nativeBuildInputs = [ installShellFiles ]; 15 15 16 - buildInputs = stdenv.lib.optionals stdenv.isDarwin [ AppKit Security ]; 16 + buildInputs = lib.optionals stdenv.isDarwin [ AppKit Security ]; 17 17 18 18 cargoSha256 = "1aiyfsvmrqcmlw0z1944i9s5g3yxc39na5mf16pb9a4bhw8zcwjr"; 19 - checkFlagsArray = stdenv.lib.optionals stdenv.isDarwin [ "--skip=copy" ]; 19 + checkFlagsArray = lib.optionals stdenv.isDarwin [ "--skip=copy" ]; 20 20 cargoParallelTestThreads = false; 21 21 22 22 postInstall = ''
+3 -3
pkgs/development/tools/trellis/default.nix
··· 8 8 version = "2021.01.02"; 9 9 10 10 # git describe --tags 11 - realVersion = with stdenv.lib; with builtins; 11 + realVersion = with lib; with builtins; 12 12 "1.0-482-g${substring 0 7 (elemAt srcs 0).rev}"; 13 13 14 14 srcs = [ ··· 54 54 open Verilog to bitstream toolchain for these devices. 55 55 ''; 56 56 homepage = "https://github.com/SymbiFlow/prjtrellis"; 57 - license = stdenv.lib.licenses.isc; 57 + license = lib.licenses.isc; 58 58 maintainers = with maintainers; [ q3k thoughtpolice emily ]; 59 - platforms = stdenv.lib.platforms.all; 59 + platforms = lib.platforms.all; 60 60 }; 61 61 }
+3 -3
pkgs/development/tools/tychus/default.nix
··· 1 - { stdenv, fetchFromGitHub, buildGoPackage, CoreFoundation }: 1 + { lib, stdenv, fetchFromGitHub, buildGoPackage, CoreFoundation }: 2 2 3 3 buildGoPackage rec { 4 4 pname = "tychus"; ··· 15 15 sha256 = "02ybxjsfga89gpg0k21zmykhhnpx1vy3ny8fcwj0qsg73i11alvw"; 16 16 }; 17 17 18 - buildInputs = stdenv.lib.optionals stdenv.hostPlatform.isDarwin [ CoreFoundation ]; 18 + buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ CoreFoundation ]; 19 19 20 20 buildFlags = [ "--tags" "release" ]; 21 21 22 22 meta = { 23 23 description = "Command line utility to live-reload your application"; 24 24 homepage = "https://github.com/devlocker/tychus"; 25 - license = stdenv.lib.licenses.mit; 25 + license = lib.licenses.mit; 26 26 }; 27 27 }
+4 -4
pkgs/development/tools/uftrace/default.nix
··· 1 - {stdenv, fetchFromGitHub}: 1 + {lib, stdenv, fetchFromGitHub}: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "uftrace"; ··· 18 18 meta = { 19 19 description = "Function (graph) tracer for user-space"; 20 20 homepage = "https://github.com/namhyung/uftrace"; 21 - license = stdenv.lib.licenses.gpl2; 22 - platforms = stdenv.lib.platforms.linux; 23 - maintainers = [stdenv.lib.maintainers.nthorne]; 21 + license = lib.licenses.gpl2; 22 + platforms = lib.platforms.linux; 23 + maintainers = [lib.maintainers.nthorne]; 24 24 }; 25 25 }
+1 -1
pkgs/development/tools/vcstool/default.nix
··· 14 14 15 15 propagatedBuildInputs = [ pyyaml setuptools ]; 16 16 17 - makeWrapperArgs = ["--prefix" "PATH" ":" (stdenv.lib.makeBinPath [ git breezy subversion ])]; 17 + makeWrapperArgs = ["--prefix" "PATH" ":" (lib.makeBinPath [ git breezy subversion ])]; 18 18 19 19 doCheck = false; # requires network 20 20
+3 -3
pkgs/development/tools/vultr/default.nix
··· 1 - { stdenv, buildGoPackage, fetchFromGitHub }: 1 + { lib, stdenv, buildGoPackage, fetchFromGitHub }: 2 2 3 3 buildGoPackage rec { 4 4 pname = "vultr"; ··· 15 15 meta = { 16 16 description = "A command line tool for Vultr services, a provider for cloud virtual private servers"; 17 17 homepage = "https://github.com/JamesClonk/vultr"; 18 - license = stdenv.lib.licenses.mit; 19 - maintainers = [ stdenv.lib.maintainers.zauberpony ]; 18 + license = lib.licenses.mit; 19 + maintainers = [ lib.maintainers.zauberpony ]; 20 20 }; 21 21 }
+1 -1
pkgs/development/tools/wasm-pack/default.nix
··· 27 27 # gracefully exit while doing work. 28 28 # See: https://github.com/rustwasm/wasm-pack/issues/650 29 29 libressl 30 - ] ++ stdenv.lib.optionals stdenv.isDarwin [ curl Security ]; 30 + ] ++ lib.optionals stdenv.isDarwin [ curl Security ]; 31 31 32 32 # Most tests rely on external resources and build artifacts. 33 33 # Disabling check here to work with build sandboxing.
+3 -3
pkgs/development/tools/wiggle/default.nix
··· 1 - { stdenv, fetchurl, ncurses, groff }: 1 + { lib, stdenv, fetchurl, ncurses, groff }: 2 2 3 3 stdenv.mkDerivation { 4 4 ··· 37 37 already been applied, and will ignore them. 38 38 ''; 39 39 40 - license = stdenv.lib.licenses.gpl2Plus; 41 - platforms = stdenv.lib.platforms.all; 40 + license = lib.licenses.gpl2Plus; 41 + platforms = lib.platforms.all; 42 42 }; 43 43 44 44 }
+3 -3
pkgs/development/tools/wrangler/default.nix
··· 13 13 14 14 cargoSha256 = "0w845virvw7mvibc76ar2hbffhfzj2v8v1xkrsssrgzyaryb48jk"; 15 15 16 - nativeBuildInputs = [ perl ] ++ stdenv.lib.optionals stdenv.isLinux [ pkg-config ]; 16 + nativeBuildInputs = [ perl ] ++ lib.optionals stdenv.isLinux [ pkg-config ]; 17 17 18 - buildInputs = stdenv.lib.optionals stdenv.isLinux [ openssl ] 19 - ++ stdenv.lib.optionals stdenv.isDarwin [ 18 + buildInputs = lib.optionals stdenv.isLinux [ openssl ] 19 + ++ lib.optionals stdenv.isDarwin [ 20 20 curl 21 21 darwin.apple_sdk.frameworks.Security 22 22 darwin.apple_sdk.frameworks.CoreServices
+3 -3
pkgs/development/tools/xcbuild/default.nix
··· 36 36 cp -r --no-preserve=all ${linenoise} ThirdParty/linenoise 37 37 ''; 38 38 39 - postPatch = stdenv.lib.optionalString (!stdenv.isDarwin) '' 39 + postPatch = lib.optionalString (!stdenv.isDarwin) '' 40 40 # Avoid a glibc >= 2.25 deprecation warning that gets fatal via -Werror. 41 41 sed 1i'#include <sys/sysmacros.h>' \ 42 42 -i Libraries/xcassets/Headers/xcassets/Slot/SystemVersion.h 43 - '' + stdenv.lib.optionalString stdenv.isDarwin '' 43 + '' + lib.optionalString stdenv.isDarwin '' 44 44 # Apple Open Sourced LZFSE, but not libcompression, and it isn't 45 45 # part of an impure framework we can add 46 46 substituteInPlace Libraries/libcar/Sources/Rendition.cpp \ ··· 59 59 60 60 nativeBuildInputs = [ cmake ninja ]; 61 61 buildInputs = [ zlib libxml2 libpng ] 62 - ++ stdenv.lib.optionals stdenv.isDarwin [ CoreServices CoreGraphics ImageIO ]; 62 + ++ lib.optionals stdenv.isDarwin [ CoreServices CoreGraphics ImageIO ]; 63 63 64 64 meta = with lib; { 65 65 description = "Xcode-compatible build tool";
+1 -1
pkgs/development/web/deno/default.nix
··· 32 32 # Install completions post-install 33 33 nativeBuildInputs = [ installShellFiles ]; 34 34 35 - buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security CoreServices ]; 35 + buildInputs = lib.optionals stdenv.isDarwin [ Security CoreServices ]; 36 36 37 37 # The rusty_v8 package will try to download a `librusty_v8.a` release at build time to our read-only filesystem 38 38 # To avoid this we pre-download the file and place it in the locations it will require it in advance
+3 -3
pkgs/development/web/grails/default.nix
··· 6 6 }: 7 7 8 8 let 9 - binpath = stdenv.lib.makeBinPath 10 - ([ coreutils ncurses gnused gnugrep ] ++ stdenv.lib.optional (jdk != null) jdk); 9 + binpath = lib.makeBinPath 10 + ([ coreutils ncurses gnused gnugrep ] ++ lib.optional (jdk != null) jdk); 11 11 in 12 12 stdenv.mkDerivation rec { 13 13 pname = "grails"; ··· 29 29 rm -f "$out"/bin/*.bat 30 30 # Improve purity 31 31 sed -i -e '2iPATH=${binpath}:\$PATH' "$out"/bin/grails 32 - '' + stdenv.lib.optionalString (jdk != null) '' 32 + '' + lib.optionalString (jdk != null) '' 33 33 # Inject JDK path into grails 34 34 sed -i -e '2iJAVA_HOME=${jdk.home}' "$out"/bin/grails 35 35 '';
+1 -1
pkgs/development/web/insomnia/default.nix
··· 6 6 , libudev0-shim, glibc, curl, openssl, autoPatchelfHook }: 7 7 8 8 let 9 - runtimeLibs = stdenv.lib.makeLibraryPath [ 9 + runtimeLibs = lib.makeLibraryPath [ 10 10 curl 11 11 glibc 12 12 libudev0-shim
+2 -2
pkgs/development/web/kcgi/default.nix
··· 3 3 stdenv.mkDerivation rec { 4 4 pname = "kcgi"; 5 5 version = "0.10.8"; 6 - underscoreVersion = stdenv.lib.replaceChars ["."] ["_"] version; 6 + underscoreVersion = lib.replaceChars ["."] ["_"] version; 7 7 8 8 src = fetchFromGitHub { 9 9 owner = "kristapsdz"; ··· 16 16 ''; 17 17 18 18 nativeBuildInputs = [ pkg-config ]; 19 - buildInputs = [ ] ++ stdenv.lib.optionals stdenv.isLinux [ libbsd ] ; 19 + buildInputs = [ ] ++ lib.optionals stdenv.isLinux [ libbsd ] ; 20 20 21 21 dontAddPrefix = true; 22 22
+2 -2
pkgs/development/web/kore/default.nix
··· 28 28 ''; 29 29 30 30 # added to fix build w/gcc7 and clang5 31 - NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.cc.isGNU "-Wno-error=pointer-compare" 32 - + stdenv.lib.optionalString stdenv.cc.isClang " -Wno-error=unknown-warning-option"; 31 + NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isGNU "-Wno-error=pointer-compare" 32 + + lib.optionalString stdenv.cc.isClang " -Wno-error=unknown-warning-option"; 33 33 34 34 enableParallelBuilding = true; 35 35
+7 -8
pkgs/development/web/nodejs/nodejs.nix
··· 1 - { stdenv, fetchurl, openssl, python, zlib, libuv, util-linux, http-parser 1 + { lib, stdenv, fetchurl, openssl, python, zlib, libuv, util-linux, http-parser 2 2 , pkg-config, which 3 3 # Updater dependencies 4 4 , writeScript, coreutils, gnugrep, jq, curl, common-updater-scripts, nix, runtimeShell ··· 7 7 , procps, icu 8 8 }: 9 9 10 - with stdenv.lib; 10 + with lib; 11 11 12 12 { enableNpm ? true, version, sha256, patches ? [] } @args: 13 13 ··· 60 60 61 61 configureFlags = let 62 62 isCross = stdenv.hostPlatform != stdenv.buildPlatform; 63 - host = stdenv.hostPlatform.platform; 64 - isAarch32 = stdenv.hostPlatform.isAarch32; 63 + inherit (stdenv.hostPlatform) gcc isArch32; 65 64 in sharedConfigureFlags ++ [ 66 65 "--without-dtrace" 67 66 ] ++ (optionals isCross [ 68 67 "--cross-compiling" 69 68 "--without-intl" 70 69 "--without-snapshot" 71 - ]) ++ (optionals (isCross && isAarch32 && hasAttr "fpu" host.gcc) [ 72 - "--with-arm-fpu=${host.gcc.fpu}" 73 - ]) ++ (optionals (isCross && isAarch32 && hasAttr "float-abi" host.gcc) [ 74 - "--with-arm-float-abi=${host.gcc.float-abi}" 70 + ]) ++ (optionals (isCross && isAarch32 && hasAttr "fpu" gcc) [ 71 + "--with-arm-fpu=${gcc.fpu}" 72 + ]) ++ (optionals (isCross && isAarch32 && hasAttr "float-abi" gcc) [ 73 + "--with-arm-float-abi=${gcc.float-abi}" 75 74 ]) ++ (optionals (isCross && isAarch32) [ 76 75 "--dest-cpu=arm" 77 76 ]) ++ extraConfigFlags;
+2 -2
pkgs/development/web/nodejs/v10.nix
··· 1 - { callPackage, openssl, icu, python2, stdenv, enableNpm ? true }: 1 + { callPackage, openssl, icu, python2, lib, stdenv, enableNpm ? true }: 2 2 3 3 let 4 4 buildNodejs = callPackage ./nodejs.nix { ··· 10 10 inherit enableNpm; 11 11 version = "10.23.1"; 12 12 sha256 = "1ypddif8jc8qrw9n1f8zbpknjcbnjc9xhpm57hc5nqbrmzsidal8"; 13 - patches = stdenv.lib.optional stdenv.isDarwin ./bypass-xcodebuild.diff; 13 + patches = lib.optional stdenv.isDarwin ./bypass-xcodebuild.diff; 14 14 }
+2 -2
pkgs/development/web/nodejs/v12.nix
··· 1 - { callPackage, openssl, icu, python2, stdenv, enableNpm ? true }: 1 + { callPackage, openssl, icu, python2, lib, stdenv, enableNpm ? true }: 2 2 3 3 let 4 4 buildNodejs = callPackage ./nodejs.nix { ··· 10 10 inherit enableNpm; 11 11 version = "12.20.1"; 12 12 sha256 = "0lqq6a2byw4qmig98j45gqnl0593xdhx1dr9k7x2nnvhblrfw3p0"; 13 - patches = stdenv.lib.optional stdenv.isDarwin ./bypass-xcodebuild.diff; 13 + patches = lib.optional stdenv.isDarwin ./bypass-xcodebuild.diff; 14 14 }
+2 -2
pkgs/development/web/nodejs/v14.nix
··· 1 - { callPackage, openssl, python3, stdenv, enableNpm ? true }: 1 + { callPackage, openssl, python3, lib, stdenv, enableNpm ? true }: 2 2 3 3 let 4 4 buildNodejs = callPackage ./nodejs.nix { ··· 10 10 inherit enableNpm; 11 11 version = "14.15.4"; 12 12 sha256 = "177cxp4fhmglyx035j8smiy1bp5fz6q2phlcl0a2mdbldkvfrdxd"; 13 - patches = stdenv.lib.optional stdenv.isDarwin ./bypass-xcodebuild.diff; 13 + patches = lib.optional stdenv.isDarwin ./bypass-xcodebuild.diff; 14 14 }
+1 -1
pkgs/development/web/postman/default.nix
··· 88 88 patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" _Postman 89 89 for file in $(find . -type f \( -name \*.node -o -name _Postman -o -name \*.so\* \) ); do 90 90 ORIGIN=$(patchelf --print-rpath $file); \ 91 - patchelf --set-rpath "${stdenv.lib.makeLibraryPath buildInputs}:$ORIGIN" $file 91 + patchelf --set-rpath "${lib.makeLibraryPath buildInputs}:$ORIGIN" $file 92 92 done 93 93 popd 94 94 '';
+2 -2
pkgs/development/web/remarkjs/default.nix
··· 63 63 homepage = "https://remarkjs.com"; 64 64 description = "A simple, in-browser, markdown-driven slideshow tool"; 65 65 maintainers = []; 66 - platforms = stdenv.lib.platforms.linux; 67 - license = stdenv.lib.licenses.mit; 66 + platforms = lib.platforms.linux; 67 + license = lib.licenses.mit; 68 68 broken = true; 69 69 }; 70 70 }
+2 -2
pkgs/development/web/twitter-bootstrap/default.nix
··· 1 - { stdenv, fetchurl, unzip }: 1 + { lib, stdenv, fetchurl, unzip }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "bootstrap"; ··· 20 20 meta = { 21 21 description = "Front-end framework for faster and easier web development"; 22 22 homepage = "https://getbootstrap.com/"; 23 - license = stdenv.lib.licenses.mit; 23 + license = lib.licenses.mit; 24 24 }; 25 25 26 26 }
+2 -2
pkgs/development/web/woff2/default.nix
··· 16 16 outputs = [ "out" "dev" "lib" ]; 17 17 18 18 # Need to explicitly link to brotlicommon 19 - patches = stdenv.lib.optional static ./brotli-static.patch; 19 + patches = lib.optional static ./brotli-static.patch; 20 20 21 21 nativeBuildInputs = [ cmake pkg-config ]; 22 22 23 23 cmakeFlags = [ 24 24 "-DCANONICAL_PREFIXES=ON" 25 25 "-DBUILD_SHARED_LIBS=${if static then "OFF" else "ON"}" 26 - ] ++ stdenv.lib.optional static "-DCMAKE_SKIP_RPATH:BOOL=TRUE"; 26 + ] ++ lib.optional static "-DCMAKE_SKIP_RPATH:BOOL=TRUE"; 27 27 28 28 propagatedBuildInputs = [ brotli ]; 29 29
+3 -3
pkgs/development/web/xmlindent/default.nix
··· 1 - { stdenv, fetchurl, flex }: 1 + { lib, stdenv, fetchurl, flex }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "xmlindent"; ··· 18 18 meta = { 19 19 description = "XML stream reformatter"; 20 20 homepage = "http://xmlindent.sourceforge.net/"; 21 - license = stdenv.lib.licenses.gpl3; 22 - platforms = stdenv.lib.platforms.linux; 21 + license = lib.licenses.gpl3; 22 + platforms = lib.platforms.linux; 23 23 maintainers = [ ]; 24 24 }; 25 25 }
+3 -17
pkgs/games/crawl/crawl_purify.patch
··· 1 - diff --git a/crawl-ref/source/Makefile b/crawl-ref/source/Makefile 2 - --- a/crawl-ref/source/Makefile 3 - +++ b/crawl-ref/source/Makefile 4 - @@ -248,9 +248,9 @@ ifeq ($(uname_S),Darwin) 5 - STRIP := strip -x 6 - NEED_APPKIT = YesPlease 7 - LIBNCURSES_IS_UNICODE = Yes 8 - - NO_PKGCONFIG = Yes 9 - - BUILD_SQLITE = YesPlease 10 - - BUILD_ZLIB = YesPlease 11 - + #NO_PKGCONFIG = Yes 12 - + #BUILD_SQLITE = YesPlease 13 - + #BUILD_ZLIB = YesPlease 14 - ifdef TILES 15 - EXTRA_LIBS += -framework AppKit -framework AudioUnit -framework CoreAudio -framework ForceFeedback -framework Carbon -framework IOKit -framework OpenGL -framework AudioToolbox -framework CoreVideo contrib/install/$(ARCH)/lib/libSDL2main.a 16 - BUILD_FREETYPE = YesPlease 17 1 diff --git a/crawl-ref/source/util/find_font b/crawl-ref/source/util/find_font 2 + index f8b576fd63..b95c21c0a1 100755 18 3 --- a/crawl-ref/source/util/find_font 19 4 +++ b/crawl-ref/source/util/find_font 20 5 @@ -1,6 +1,6 @@ ··· 25 10 26 11 name=$1 27 12 [ "$name" ] || { echo "Usage: $0 <fontname.ttf>" >&2; exit 100; } 28 - @@ -11,6 +11,6 @@ 13 + @@ -11,6 +11,6 @@ name=$1 29 14 for dir in $FONTDIRS; do 30 15 [ -d "$dir" ] && echo "$dir" 31 16 done ··· 34 19 | head -n1 35 20 } 2>/dev/null 36 21 diff --git a/crawl-ref/source/windowmanager-sdl.cc b/crawl-ref/source/windowmanager-sdl.cc 22 + index e29ccff507..9bf01e040a 100644 37 23 --- a/crawl-ref/source/windowmanager-sdl.cc 38 24 +++ b/crawl-ref/source/windowmanager-sdl.cc 39 25 @@ -20,7 +20,7 @@
+3 -2
pkgs/games/crawl/default.nix
··· 8 8 9 9 stdenv.mkDerivation rec { 10 10 name = "crawl-${version}${lib.optionalString tileMode "-tiles"}"; 11 - version = "0.25.1"; 11 + version = "0.26.0"; 12 12 13 13 src = fetchFromGitHub { 14 14 owner = "crawl"; 15 15 repo = "crawl"; 16 16 rev = version; 17 - sha256 = "0i1cvwzwmcb07ynz1nk2svprfhsgcqmagvj5jfzayvcb1a2ww23b"; 17 + sha256 = "0g0icmhppb6f5amf5r2ksfylrlipz2cd8gd85pmd05k463nrmwqi"; 18 18 }; 19 19 20 20 # Patch hard-coded paths and remove force library builds ··· 45 45 fontsPath = lib.optionalString tileMode dejavu_fonts; 46 46 47 47 makeFlags = [ "prefix=${placeholder "out"}" "FORCE_CC=cc" "FORCE_CXX=c++" "HOSTCXX=c++" 48 + "FORCE_PKGCONFIG=y" 48 49 "SAVEDIR=~/.crawl" "sqlite=${sqlite.dev}" 49 50 "DATADIR=${placeholder "out"}" 50 51 ] ++ lib.optional tileMode "TILES=y"
+84
pkgs/misc/vscode-extensions/default.nix
··· 128 128 }; 129 129 }; 130 130 131 + davidanson.vscode-markdownlint = buildVscodeMarketplaceExtension { 132 + mktplcRef = { 133 + name = "vscode-markdownlint"; 134 + publisher = "DavidAnson"; 135 + version = "0.38.0"; 136 + sha256 = "0d6hbsjrx1j8wrmfnvdwsa7sci1brplgxwkmy6sp74va7zxfjnqv"; 137 + }; 138 + meta = with lib; { 139 + license = licenses.mit; 140 + }; 141 + }; 142 + 131 143 dhall.dhall-lang = buildVscodeMarketplaceExtension { 132 144 mktplcRef = { 133 145 name = "dhall-lang"; ··· 292 304 }; 293 305 }; 294 306 307 + gruntfuggly.todo-tree = buildVscodeMarketplaceExtension { 308 + mktplcRef = { 309 + name = "todo-tree"; 310 + publisher = "Gruntfuggly"; 311 + version = "0.0.196"; 312 + sha256 = "1l4f290018f2p76q6hn2b2injps6wz65as7dm537wrsvsivyg2qz"; 313 + }; 314 + meta = with lib; { 315 + license = licenses.mit; 316 + }; 317 + }; 318 + 295 319 haskell.haskell = buildVscodeMarketplaceExtension { 296 320 mktplcRef = { 297 321 name = "haskell"; 298 322 publisher = "haskell"; 299 323 version = "1.1.0"; 300 324 sha256 = "1wg06lyk0qn9jd6gi007sg7v0z9z8gwq7x2449d4ihs9n3w5l0gb"; 325 + }; 326 + meta = with lib; { 327 + license = licenses.mit; 328 + }; 329 + }; 330 + 331 + hookyqr.beautify = buildVscodeMarketplaceExtension { 332 + mktplcRef = { 333 + name = "beautify"; 334 + publisher = "HookyQR"; 335 + version = "1.5.0"; 336 + sha256 = "1c0kfavdwgwham92xrh0gnyxkrl9qlkpv39l1yhrldn8vd10fj5i"; 301 337 }; 302 338 meta = with lib; { 303 339 license = licenses.mit; ··· 345 381 }; 346 382 }; 347 383 384 + jock.svg = buildVscodeMarketplaceExtension { 385 + mktplcRef = { 386 + name = "svg"; 387 + publisher = "jock"; 388 + version = "1.4.4"; 389 + sha256 = "0kn2ic7pgbd4rbvzpsxfwyiwxa1iy92l0h3jsppxc8gk8xbqm2nc"; 390 + }; 391 + meta = with lib; { 392 + license = licenses.mit; 393 + }; 394 + }; 395 + 348 396 jpoissonnier.vscode-styled-components = buildVscodeMarketplaceExtension { 349 397 mktplcRef = { 350 398 name = "vscode-styled-components"; ··· 473 521 }; 474 522 }; 475 523 524 + rubymaniac.vscode-paste-and-indent = buildVscodeMarketplaceExtension { 525 + mktplcRef = { 526 + name = "vscode-paste-and-indent"; 527 + publisher = "Rubymaniac"; 528 + version = "0.0.8"; 529 + sha256 = "0fqwcvwq37ndms6vky8jjv0zliy6fpfkh8d9raq8hkinfxq6klgl"; 530 + }; 531 + meta = with lib; { 532 + license = licenses.mit; 533 + }; 534 + }; 535 + 476 536 matklad.rust-analyzer = callPackage ./rust-analyzer {}; 477 537 478 538 ocamllabs.ocaml-platform = buildVscodeMarketplaceExtension { ··· 558 618 publisher = "skyapps"; 559 619 version = "0.2.1"; 560 620 sha256 = "0y1ivymn81ranmir25zk83kdjpjwcqpnc9r3jwfykjd9x0jib2hl"; 621 + }; 622 + meta = with lib; { 623 + license = licenses.mit; 624 + }; 625 + }; 626 + 627 + spywhere.guides = buildVscodeMarketplaceExtension { 628 + mktplcRef = { 629 + name = "guides"; 630 + publisher = "spywhere"; 631 + version = "0.9.3"; 632 + sha256 = "1kvsj085w1xax6fg0kvsj1cizqh86i0pkzpwi0sbfvmcq21i6ghn"; 633 + }; 634 + meta = with lib; { 635 + license = licenses.mit; 636 + }; 637 + }; 638 + 639 + streetsidesoftware.code-spell-checker = buildVscodeMarketplaceExtension { 640 + mktplcRef = { 641 + name = "code-spell-checker"; 642 + publisher = "streetsidesoftware"; 643 + version = "1.10.2"; 644 + sha256 = "1ll046rf5dyc7294nbxqk5ya56g2bzqnmxyciqpz2w5x7j75rjib"; 561 645 }; 562 646 meta = with lib; { 563 647 license = licenses.mit;
+1 -1
pkgs/os-specific/linux/exfat/default.nix
··· 26 26 27 27 makeFlags = [ 28 28 "KDIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build" 29 - "ARCH=${stdenv.hostPlatform.platform.kernelArch}" 29 + "ARCH=${stdenv.hostPlatform.linuxArch}" 30 30 ] ++ lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) [ 31 31 "CROSS_COMPILE=${stdenv.cc.targetPrefix}" 32 32 ];
+1 -1
pkgs/os-specific/linux/kernel-headers/default.nix
··· 7 7 pname = "linux-headers"; 8 8 inherit version; 9 9 10 - ARCH = stdenvNoCC.hostPlatform.platform.kernelArch or stdenvNoCC.hostPlatform.kernelArch; 10 + ARCH = stdenvNoCC.hostPlatform.linuxArch; 11 11 12 12 # It may look odd that we use `stdenvNoCC`, and yet explicit depend on a cc. 13 13 # We do this so we have a build->build, not build->host, C compiler.
+9 -9
pkgs/os-specific/linux/kernel/generic.nix
··· 42 42 # symbolic name and `patch' is the actual patch. The patch may 43 43 # optionally be compressed with gzip or bzip2. 44 44 kernelPatches ? [] 45 - , ignoreConfigErrors ? stdenv.hostPlatform.platform.name != "pc" || 45 + , ignoreConfigErrors ? stdenv.hostPlatform.linux-kernel.name != "pc" || 46 46 stdenv.hostPlatform != stdenv.buildPlatform 47 47 , extraMeta ? {} 48 48 ··· 51 51 , isLibre ? false 52 52 , isHardened ? false 53 53 54 - # easy overrides to stdenv.hostPlatform.platform members 55 - , autoModules ? stdenv.hostPlatform.platform.kernelAutoModules 56 - , preferBuiltin ? stdenv.hostPlatform.platform.kernelPreferBuiltin or false 57 - , kernelArch ? stdenv.hostPlatform.platform.kernelArch 54 + # easy overrides to stdenv.hostPlatform.linux-kernel members 55 + , autoModules ? stdenv.hostPlatform.linux-kernel.autoModules 56 + , preferBuiltin ? stdenv.hostPlatform.linux-kernel.preferBuiltin or false 57 + , kernelArch ? stdenv.hostPlatform.linuxArch 58 58 59 59 , ... 60 60 }: ··· 87 87 intermediateNixConfig = configfile.moduleStructuredConfig.intermediateNixConfig 88 88 # extra config in legacy string format 89 89 + extraConfig 90 - + lib.optionalString (stdenv.hostPlatform.platform ? kernelExtraConfig) stdenv.hostPlatform.platform.kernelExtraConfig; 90 + + stdenv.hostPlatform.linux-kernel.extraConfig or ""; 91 91 92 92 structuredConfigFromPatches = 93 93 map ({extraStructuredConfig ? {}, ...}: {settings=extraStructuredConfig;}) kernelPatches; ··· 113 113 nativeBuildInputs = [ perl gmp libmpc mpfr ] 114 114 ++ lib.optionals (lib.versionAtLeast version "4.16") [ bison flex ]; 115 115 116 - platformName = stdenv.hostPlatform.platform.name; 116 + platformName = stdenv.hostPlatform.linux-kernel.name; 117 117 # e.g. "defconfig" 118 - kernelBaseConfig = if defconfig != null then defconfig else stdenv.hostPlatform.platform.kernelBaseConfig; 118 + kernelBaseConfig = if defconfig != null then defconfig else stdenv.hostPlatform.linux-kernel.baseConfig; 119 119 # e.g. "bzImage" 120 - kernelTarget = stdenv.hostPlatform.platform.kernelTarget; 120 + kernelTarget = stdenv.hostPlatform.linux-kernel.target; 121 121 122 122 prePatch = kernel.prePatch + '' 123 123 # Patch kconfig to print "###" after every question so that
+15 -15
pkgs/os-specific/linux/kernel/manual-config.nix
··· 64 64 65 65 commonMakeFlags = [ 66 66 "O=$(buildRoot)" 67 - ] ++ lib.optionals (stdenv.hostPlatform.platform ? kernelMakeFlags) 68 - stdenv.hostPlatform.platform.kernelMakeFlags; 67 + ] ++ lib.optionals (stdenv.hostPlatform.linux-kernel ? makeFlags) 68 + stdenv.hostPlatform.linux-kernel.makeFlags; 69 69 70 - drvAttrs = config_: platform: kernelPatches: configfile: 70 + drvAttrs = config_: kernelConf: kernelPatches: configfile: 71 71 let 72 72 config = let attrName = attr: "CONFIG_" + attr; in { 73 73 isSet = attr: hasAttr (attrName attr) config; ··· 171 171 172 172 buildFlags = [ 173 173 "KBUILD_BUILD_VERSION=1-NixOS" 174 - platform.kernelTarget 174 + kernelConf.target 175 175 "vmlinux" # for "perf" and things like that 176 176 ] ++ optional isModular "modules"; 177 177 ··· 186 186 ''; 187 187 188 188 # Some image types need special install targets (e.g. uImage is installed with make uinstall) 189 - installTargets = [ ( 190 - if platform ? kernelInstallTarget then platform.kernelInstallTarget 191 - else if platform.kernelTarget == "uImage" then "uinstall" 192 - else if platform.kernelTarget == "zImage" || platform.kernelTarget == "Image.gz" then "zinstall" 193 - else "install" 194 - ) ]; 189 + installTargets = [ 190 + (kernelConf.installTarget or ( 191 + /**/ if kernelConf.target == "uImage" then "uinstall" 192 + else if kernelConf.target == "zImage" || kernelConf.target == "Image.gz" then "zinstall" 193 + else "install")) 194 + ]; 195 195 196 196 postInstall = (optionalString installsFirmware '' 197 197 mkdir -p $out/lib/firmware 198 - '') + (if (platform ? kernelDTB && platform.kernelDTB) then '' 198 + '') + (if (kernelConf.DTB or false) then '' 199 199 make $makeFlags "''${makeFlagsArray[@]}" dtbs dtbs_install INSTALL_DTBS_PATH=$out/dtbs 200 200 '' else "") + (if isModular then '' 201 201 mkdir -p $dev ··· 300 300 assert (lib.versionAtLeast version "4.14" && lib.versionOlder version "5.8") -> libelf != null; 301 301 assert lib.versionAtLeast version "5.8" -> elfutils != null; 302 302 303 - stdenv.mkDerivation ((drvAttrs config stdenv.hostPlatform.platform kernelPatches configfile) // { 303 + stdenv.mkDerivation ((drvAttrs config stdenv.hostPlatform.linux-kernel kernelPatches configfile) // { 304 304 pname = "linux"; 305 305 inherit version; 306 306 ··· 308 308 309 309 depsBuildBuild = [ buildPackages.stdenv.cc ]; 310 310 nativeBuildInputs = [ perl bc nettools openssl rsync gmp libmpc mpfr gawk zstd ] 311 - ++ optional (stdenv.hostPlatform.platform.kernelTarget == "uImage") buildPackages.ubootTools 311 + ++ optional (stdenv.hostPlatform.linux-kernel.target == "uImage") buildPackages.ubootTools 312 312 ++ optional (lib.versionAtLeast version "4.14" && lib.versionOlder version "5.8") libelf 313 313 # Removed util-linuxMinimal since it should not be a dependency. 314 314 ++ optionals (lib.versionAtLeast version "4.16") [ bison flex ] ··· 322 322 makeFlags = commonMakeFlags ++ [ 323 323 "CC=${stdenv.cc}/bin/${stdenv.cc.targetPrefix}cc" 324 324 "HOSTCC=${buildPackages.stdenv.cc}/bin/${buildPackages.stdenv.cc.targetPrefix}cc" 325 - "ARCH=${stdenv.hostPlatform.platform.kernelArch}" 325 + "ARCH=${stdenv.hostPlatform.linuxArch}" 326 326 ] ++ lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) [ 327 327 "CROSS_COMPILE=${stdenv.cc.targetPrefix}" 328 328 ]; 329 329 330 - karch = stdenv.hostPlatform.platform.kernelArch; 330 + karch = stdenv.hostPlatform.linuxArch; 331 331 })
+2 -2
pkgs/os-specific/linux/klibc/default.nix
··· 25 25 hardeningDisable = [ "format" "stackprotector" ]; 26 26 27 27 makeFlags = commonMakeFlags ++ [ 28 - "KLIBCARCH=${stdenv.hostPlatform.platform.kernelArch}" 28 + "KLIBCARCH=${stdenv.hostPlatform.linuxArch}" 29 29 "KLIBCKERNELSRC=${linuxHeaders}" 30 30 ] # TODO(@Ericson2314): We now can get the ABI from 31 31 # `stdenv.hostPlatform.parsed.abi`, is this still a good idea? 32 - ++ lib.optional (stdenv.hostPlatform.platform.kernelArch == "arm") "CONFIG_AEABI=y" 32 + ++ lib.optional (stdenv.hostPlatform.linuxArch == "arm") "CONFIG_AEABI=y" 33 33 ++ lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) "CROSS_COMPILE=${stdenv.cc.targetPrefix}"; 34 34 35 35 # Install static binaries as well.
+1 -2
pkgs/os-specific/linux/nvidia-x11/default.nix
··· 24 24 then generic { 25 25 version = "460.32.03"; 26 26 sha256_64bit = "0qb0f8djys55b7qgvpbwafw5lkwvmcslqz3i2kr3jm354gy248ag"; 27 - settingsVersion = "460.27.04"; 28 - settingsSha256 = "1z9ibkhyjqzhhzi3gj88f5jlpc1d76jsncsy6wxpnbdbak8ljkw5"; 27 + settingsSha256 = "0mfkw0s4gy1dx671cp1kbpkpkf9c4271w5dz0ykiacz22simi83l"; 29 28 persistencedSha256 = "1zrnmwlwqg3pgy1jvldy9iv994wr823rl7vjr1kqnngdmn7bflxl"; 30 29 } 31 30 else legacy_390;
+1 -1
pkgs/os-specific/linux/rtl8723bs/default.nix
··· 16 16 buildInputs = [ nukeReferences ]; 17 17 18 18 makeFlags = [ 19 - "ARCH=${stdenv.hostPlatform.platform.kernelArch}" # Normally not needed, but the Makefile sets ARCH in a broken way. 19 + "ARCH=${stdenv.hostPlatform.linuxArch}" # Normally not needed, but the Makefile sets ARCH in a broken way. 20 20 "KSRC=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build" # Makefile uses $(uname -r); breaks us. 21 21 ]; 22 22
+1 -1
pkgs/os-specific/linux/rtl8812au/default.nix
··· 24 24 ''; 25 25 26 26 makeFlags = [ 27 - "ARCH=${stdenv.hostPlatform.platform.kernelArch}" 27 + "ARCH=${stdenv.hostPlatform.linuxArch}" 28 28 "KSRC=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build" 29 29 ("CONFIG_PLATFORM_I386_PC=" + (if (stdenv.hostPlatform.isi686 || stdenv.hostPlatform.isx86_64) then "y" else "n")) 30 30 ("CONFIG_PLATFORM_ARM_RPI=" + (if (stdenv.hostPlatform.isAarch32 || stdenv.hostPlatform.isAarch64) then "y" else "n"))
+1 -1
pkgs/os-specific/linux/uclibc/default.nix
··· 68 68 cat << EOF | parseconfig 69 69 ${nixConfig} 70 70 ${extraConfig} 71 - ${stdenv.hostPlatform.platform.uclibc.extraConfig or ""} 71 + ${stdenv.hostPlatform.uclibc.extraConfig or ""} 72 72 EOF 73 73 ( set +o pipefail; yes "" | make oldconfig ) 74 74 '';
+3 -3
pkgs/servers/home-assistant/component-packages.nix
··· 27 27 "amazon_polly" = ps: with ps; [ boto3 ]; 28 28 "ambiclimate" = ps: with ps; [ aiohttp-cors ambiclimate ]; 29 29 "ambient_station" = ps: with ps; [ ]; # missing inputs: aioambient 30 - "amcrest" = ps: with ps; [ ha-ffmpeg ]; # missing inputs: amcrest 30 + "amcrest" = ps: with ps; [ amcrest ha-ffmpeg ]; 31 31 "ampio" = ps: with ps; [ ]; # missing inputs: asmog 32 32 "android_ip_webcam" = ps: with ps; [ ]; # missing inputs: pydroid-ipcam 33 33 "androidtv" = ps: with ps; [ adb-shell androidtv pure-python-adb ]; ··· 121 121 "clicksend_tts" = ps: with ps; [ ]; 122 122 "climate" = ps: with ps; [ ]; 123 123 "cloud" = ps: with ps; [ aiohttp-cors hass-nabucasa ]; 124 - "cloudflare" = ps: with ps; [ ]; # missing inputs: pycfdns 124 + "cloudflare" = ps: with ps; [ pycfdns ]; 125 125 "cmus" = ps: with ps; [ ]; # missing inputs: pycmus 126 126 "co2signal" = ps: with ps; [ ]; # missing inputs: co2signal 127 127 "coinbase" = ps: with ps; [ ]; # missing inputs: coinbase ··· 194 194 "dweet" = ps: with ps; [ ]; # missing inputs: dweepy 195 195 "dynalite" = ps: with ps; [ ]; # missing inputs: dynalite_devices 196 196 "dyson" = ps: with ps; [ aiohttp-cors zeroconf ]; # missing inputs: libpurecool 197 - "eafm" = ps: with ps; [ ]; # missing inputs: aioeafm 197 + "eafm" = ps: with ps; [ aioeafm ]; 198 198 "ebox" = ps: with ps; [ ]; # missing inputs: pyebox 199 199 "ebusd" = ps: with ps; [ ]; # missing inputs: ebusdpy 200 200 "ecoal_boiler" = ps: with ps; [ ]; # missing inputs: ecoaliface
+2 -2
pkgs/servers/http/lighttpd/default.nix
··· 15 15 assert enableExtendedAttrs -> attr != null; 16 16 17 17 stdenv.mkDerivation rec { 18 - name = "lighttpd-1.4.56"; 18 + name = "lighttpd-1.4.58"; 19 19 20 20 src = fetchurl { 21 21 url = "https://download.lighttpd.net/lighttpd/releases-1.4.x/${name}.tar.xz"; 22 - sha256 = "0xyzahrkmldwskwgjgj4dc3rmfmgqiwwr9y7jfhqpbp8g76q9kp4"; 22 + sha256 = "sha256-Jn/v/aE6GQ69znsVFy2L4W2pgAhFfzD93s1ygy0SbQ4="; 23 23 }; 24 24 25 25 postPatch = ''
+13 -7
pkgs/servers/monitoring/alertmanager-bot/default.nix
··· 1 - { lib, stdenv, buildGoPackage, fetchFromGitHub }: 1 + { lib, stdenv, buildGoModule, fetchFromGitHub }: 2 2 3 - buildGoPackage rec { 3 + buildGoModule rec { 4 4 pname = "alertmanager-bot"; 5 - version = "0.4.0"; 6 - 7 - goPackagePath = "github.com/metalmatze/alertmanager-bot"; 5 + version = "0.4.3"; 8 6 9 7 src = fetchFromGitHub { 10 8 owner = "metalmatze"; 11 9 repo = pname; 12 10 rev = version; 13 - sha256 = "10v0fxxcs5s6zmqindr30plyw7p2yg0a64rdw1b2cj2mc1m3byx3"; 11 + sha256 = "1hjfkksqb675gabzjc221b33h2m4s6qsanmkm382d3fyzqj71dh9"; 14 12 }; 15 13 16 - goDeps = ./deps.nix; 14 + vendorSha256 = "1v0fgin8dn81b559zz4lqmrl7hikr46g4gb18sci4riql5qs1isj"; 15 + 16 + postPatch = '' 17 + sed "s;/templates/default.tmpl;$out/share&;" -i cmd/alertmanager-bot/main.go 18 + ''; 19 + 20 + postInstall = '' 21 + install -Dm644 -t $out/share/templates $src/default.tmpl 22 + ''; 17 23 18 24 meta = with lib; { 19 25 description = "Bot for Prometheus' Alertmanager";
-948
pkgs/servers/monitoring/alertmanager-bot/deps.nix
··· 1 - # file generated from go.mod using vgo2nix (https://github.com/adisbladis/vgo2nix) 2 - [ 3 - { 4 - goPackagePath = "github.com/DataDog/datadog-go"; 5 - fetch = { 6 - type = "git"; 7 - url = "https://github.com/DataDog/datadog-go"; 8 - rev = "0ddda6bee211"; 9 - sha256 = "07ap1qhz8vwdypmlny5gxnc191c0qbm6acacs30m1d4p22x6wxip"; 10 - }; 11 - } 12 - { 13 - goPackagePath = "github.com/OneOfOne/xxhash"; 14 - fetch = { 15 - type = "git"; 16 - url = "https://github.com/OneOfOne/xxhash"; 17 - rev = "v1.2.5"; 18 - sha256 = "15ai4nzm8cv8nqs4xm5h6ghnms19c2sp8z0zpkc46rld6y7k0xky"; 19 - }; 20 - } 21 - { 22 - goPackagePath = "github.com/alecthomas/template"; 23 - fetch = { 24 - type = "git"; 25 - url = "https://github.com/alecthomas/template"; 26 - rev = "a0175ee3bccc"; 27 - sha256 = "0qjgvvh26vk1cyfq9fadyhfgdj36f1iapbmr5xp6zqipldz8ffxj"; 28 - }; 29 - } 30 - { 31 - goPackagePath = "github.com/alecthomas/units"; 32 - fetch = { 33 - type = "git"; 34 - url = "https://github.com/alecthomas/units"; 35 - rev = "2efee857e7cf"; 36 - sha256 = "1j65b91qb9sbrml9cpabfrcf07wmgzzghrl7809hjjhrmbzri5bl"; 37 - }; 38 - } 39 - { 40 - goPackagePath = "github.com/armon/circbuf"; 41 - fetch = { 42 - type = "git"; 43 - url = "https://github.com/armon/circbuf"; 44 - rev = "bbbad097214e"; 45 - sha256 = "1idpr0lzb2px2p3wgfq2276yl7jpaz43df6n91kf790404s4zmk3"; 46 - }; 47 - } 48 - { 49 - goPackagePath = "github.com/armon/go-metrics"; 50 - fetch = { 51 - type = "git"; 52 - url = "https://github.com/armon/go-metrics"; 53 - rev = "f0300d1749da"; 54 - sha256 = "13l7c35ps0r27vxfil2w0xhhc7w5rh00awvlmn4cz0a937b9ffpv"; 55 - }; 56 - } 57 - { 58 - goPackagePath = "github.com/armon/go-radix"; 59 - fetch = { 60 - type = "git"; 61 - url = "https://github.com/armon/go-radix"; 62 - rev = "7fddfc383310"; 63 - sha256 = "0y8chspn14n9xpsfb9gxnnf819rfpriaz64v81p7873a42kkhxb4"; 64 - }; 65 - } 66 - { 67 - goPackagePath = "github.com/beorn7/perks"; 68 - fetch = { 69 - type = "git"; 70 - url = "https://github.com/beorn7/perks"; 71 - rev = "v1.0.1"; 72 - sha256 = "17n4yygjxa6p499dj3yaqzfww2g7528165cl13haj97hlx94dgl7"; 73 - }; 74 - } 75 - { 76 - goPackagePath = "github.com/bgentry/speakeasy"; 77 - fetch = { 78 - type = "git"; 79 - url = "https://github.com/bgentry/speakeasy"; 80 - rev = "v0.1.0"; 81 - sha256 = "02dfrj0wyphd3db9zn2mixqxwiz1ivnyc5xc7gkz58l5l27nzp8s"; 82 - }; 83 - } 84 - { 85 - goPackagePath = "github.com/boltdb/bolt"; 86 - fetch = { 87 - type = "git"; 88 - url = "https://github.com/boltdb/bolt"; 89 - rev = "v1.3.1"; 90 - sha256 = "0z7j06lijfi4y30ggf2znak2zf2srv2m6c68ar712wd2ys44qb3r"; 91 - }; 92 - } 93 - { 94 - goPackagePath = "github.com/cenkalti/backoff"; 95 - fetch = { 96 - type = "git"; 97 - url = "https://github.com/cenkalti/backoff"; 98 - rev = "v2.1.1"; 99 - sha256 = "1mf4lsl3rbb8kk42x0mrhzzy4ikqy0jf6nxpzhkr02rdgwh6rjk8"; 100 - }; 101 - } 102 - { 103 - goPackagePath = "github.com/cespare/xxhash"; 104 - fetch = { 105 - type = "git"; 106 - url = "https://github.com/cespare/xxhash"; 107 - rev = "v1.0.0"; 108 - sha256 = "02aii7z46sasagw816zz3v0gzax1z5d1hkjslz7ng25386p0gzk1"; 109 - }; 110 - } 111 - { 112 - goPackagePath = "github.com/circonus-labs/circonus-gometrics"; 113 - fetch = { 114 - type = "git"; 115 - url = "https://github.com/circonus-labs/circonus-gometrics"; 116 - rev = "v2.0.0"; 117 - sha256 = "0d6cnswq28mjak7092vf89f9l0ga2ziwyamq9kdgfc7aavpwr6l9"; 118 - }; 119 - } 120 - { 121 - goPackagePath = "github.com/circonus-labs/circonusllhist"; 122 - fetch = { 123 - type = "git"; 124 - url = "https://github.com/circonus-labs/circonusllhist"; 125 - rev = "6e85b9352cf0"; 126 - sha256 = "182gry1clk12m34574qif7bx74qpxib2zv0mr5kv2j9hfq7f9m01"; 127 - }; 128 - } 129 - { 130 - goPackagePath = "github.com/creack/pty"; 131 - fetch = { 132 - type = "git"; 133 - url = "https://github.com/creack/pty"; 134 - rev = "v1.1.7"; 135 - sha256 = "1plwwlk1i9b80zv8zdplvv81shfyc9gf0flydnydsh5sr3ib5vrc"; 136 - }; 137 - } 138 - { 139 - goPackagePath = "github.com/davecgh/go-spew"; 140 - fetch = { 141 - type = "git"; 142 - url = "https://github.com/davecgh/go-spew"; 143 - rev = "v1.1.1"; 144 - sha256 = "0hka6hmyvp701adzag2g26cxdj47g21x6jz4sc6jjz1mn59d474y"; 145 - }; 146 - } 147 - { 148 - goPackagePath = "github.com/docker/libkv"; 149 - fetch = { 150 - type = "git"; 151 - url = "https://github.com/docker/libkv"; 152 - rev = "v0.2.1"; 153 - sha256 = "0blq7kxjy1bvm3j5q4i6csnc4i88c1wvj4gjvxbqfk3sny73gjkr"; 154 - }; 155 - } 156 - { 157 - goPackagePath = "github.com/fatih/color"; 158 - fetch = { 159 - type = "git"; 160 - url = "https://github.com/fatih/color"; 161 - rev = "v1.7.0"; 162 - sha256 = "0v8msvg38r8d1iiq2i5r4xyfx0invhc941kjrsg5gzwvagv55inv"; 163 - }; 164 - } 165 - { 166 - goPackagePath = "github.com/fsnotify/fsnotify"; 167 - fetch = { 168 - type = "git"; 169 - url = "https://github.com/fsnotify/fsnotify"; 170 - rev = "v1.4.7"; 171 - sha256 = "07va9crci0ijlivbb7q57d2rz9h27zgn2fsm60spjsqpdbvyrx4g"; 172 - }; 173 - } 174 - { 175 - goPackagePath = "github.com/go-kit/kit"; 176 - fetch = { 177 - type = "git"; 178 - url = "https://github.com/go-kit/kit"; 179 - rev = "v0.8.0"; 180 - sha256 = "1rcywbc2pvab06qyf8pc2rdfjv7r6kxdv2v4wnpqnjhz225wqvc0"; 181 - }; 182 - } 183 - { 184 - goPackagePath = "github.com/go-logfmt/logfmt"; 185 - fetch = { 186 - type = "git"; 187 - url = "https://github.com/go-logfmt/logfmt"; 188 - rev = "v0.3.0"; 189 - sha256 = "1gkgh3k5w1xwb2qbjq52p6azq3h1c1rr6pfwjlwj1zrijpzn2xb9"; 190 - }; 191 - } 192 - { 193 - goPackagePath = "github.com/go-stack/stack"; 194 - fetch = { 195 - type = "git"; 196 - url = "https://github.com/go-stack/stack"; 197 - rev = "v1.8.0"; 198 - sha256 = "0wk25751ryyvxclyp8jdk5c3ar0cmfr8lrjb66qbg4808x66b96v"; 199 - }; 200 - } 201 - { 202 - goPackagePath = "github.com/gogo/protobuf"; 203 - fetch = { 204 - type = "git"; 205 - url = "https://github.com/gogo/protobuf"; 206 - rev = "v1.1.1"; 207 - sha256 = "1525pq7r6h3s8dncvq8gxi893p2nq8dxpzvq0nfl5b4p6mq0v1c2"; 208 - }; 209 - } 210 - { 211 - goPackagePath = "github.com/golang/protobuf"; 212 - fetch = { 213 - type = "git"; 214 - url = "https://github.com/golang/protobuf"; 215 - rev = "v1.3.2"; 216 - sha256 = "1k1wb4zr0qbwgpvz9q5ws9zhlal8hq7dmq62pwxxriksayl6hzym"; 217 - }; 218 - } 219 - { 220 - goPackagePath = "github.com/google/btree"; 221 - fetch = { 222 - type = "git"; 223 - url = "https://github.com/google/btree"; 224 - rev = "4030bb1f1f0c"; 225 - sha256 = "0ba430m9fbnagacp57krgidsyrgp3ycw5r7dj71brgp5r52g82p6"; 226 - }; 227 - } 228 - { 229 - goPackagePath = "github.com/google/go-cmp"; 230 - fetch = { 231 - type = "git"; 232 - url = "https://github.com/google/go-cmp"; 233 - rev = "v0.3.1"; 234 - sha256 = "1caw49i0plkjxir7kdf5qhwls3krqwfmi7g4h392rdfwi3kfahx1"; 235 - }; 236 - } 237 - { 238 - goPackagePath = "github.com/google/gofuzz"; 239 - fetch = { 240 - type = "git"; 241 - url = "https://github.com/google/gofuzz"; 242 - rev = "v1.0.0"; 243 - sha256 = "0qz439qvccm91w0mmjz4fqgx48clxdwagkvvx89cr43q1d4iry36"; 244 - }; 245 - } 246 - { 247 - goPackagePath = "github.com/hako/durafmt"; 248 - fetch = { 249 - type = "git"; 250 - url = "https://github.com/hako/durafmt"; 251 - rev = "ea3ab126a649"; 252 - sha256 = "1niq0v6av5vsn4rizfda4zq922jvavig5b0qg9g0gyz6cj62rjzs"; 253 - }; 254 - } 255 - { 256 - goPackagePath = "github.com/hashicorp/consul"; 257 - fetch = { 258 - type = "git"; 259 - url = "https://github.com/hashicorp/consul"; 260 - rev = "v1.4.5"; 261 - sha256 = "0gpg3cbpsmzcaab3scqhpzz57892s95hwq5z0l9bq7qqm6iqfr9d"; 262 - }; 263 - } 264 - { 265 - goPackagePath = "github.com/hashicorp/errwrap"; 266 - fetch = { 267 - type = "git"; 268 - url = "https://github.com/hashicorp/errwrap"; 269 - rev = "v1.0.0"; 270 - sha256 = "0slfb6w3b61xz04r32bi0a1bygc82rjzhqkxj2si2074wynqnr1c"; 271 - }; 272 - } 273 - { 274 - goPackagePath = "github.com/hashicorp/go-cleanhttp"; 275 - fetch = { 276 - type = "git"; 277 - url = "https://github.com/hashicorp/go-cleanhttp"; 278 - rev = "3573b8b52aa7"; 279 - sha256 = "1pbl6p7w5wp1c70x7fp94h4ynk2ajfa76rqin3d2hq1w2fcb7byr"; 280 - }; 281 - } 282 - { 283 - goPackagePath = "github.com/hashicorp/go-immutable-radix"; 284 - fetch = { 285 - type = "git"; 286 - url = "https://github.com/hashicorp/go-immutable-radix"; 287 - rev = "v1.0.0"; 288 - sha256 = "1v3nmsnk1s8bzpclrhirz7iq0g5xxbw9q5gvrg9ss6w9crs72qr6"; 289 - }; 290 - } 291 - { 292 - goPackagePath = "github.com/hashicorp/go-msgpack"; 293 - fetch = { 294 - type = "git"; 295 - url = "https://github.com/hashicorp/go-msgpack"; 296 - rev = "v0.5.5"; 297 - sha256 = "0fqmfx3dxnvb0d23cpn2xpd067pibwlchdc58ln8w6lznzrbzaan"; 298 - }; 299 - } 300 - { 301 - goPackagePath = "github.com/hashicorp/go-multierror"; 302 - fetch = { 303 - type = "git"; 304 - url = "https://github.com/hashicorp/go-multierror"; 305 - rev = "v1.0.0"; 306 - sha256 = "00nyn8llqzbfm8aflr9kwsvpzi4kv8v45c141v88xskxp5xf6z49"; 307 - }; 308 - } 309 - { 310 - goPackagePath = "github.com/hashicorp/go-retryablehttp"; 311 - fetch = { 312 - type = "git"; 313 - url = "https://github.com/hashicorp/go-retryablehttp"; 314 - rev = "794af36148bf"; 315 - sha256 = "1686d4qav0ayj3f5881w3kd9pz4fxsmknfqwccbj9yklxm3khvp4"; 316 - }; 317 - } 318 - { 319 - goPackagePath = "github.com/hashicorp/go-rootcerts"; 320 - fetch = { 321 - type = "git"; 322 - url = "https://github.com/hashicorp/go-rootcerts"; 323 - rev = "v1.0.1"; 324 - sha256 = "0ca5h7vlvrghf24dzh8l6w5px293n173qxfkjxb9kgsl6hsrsl3y"; 325 - }; 326 - } 327 - { 328 - goPackagePath = "github.com/hashicorp/go-sockaddr"; 329 - fetch = { 330 - type = "git"; 331 - url = "https://github.com/hashicorp/go-sockaddr"; 332 - rev = "v1.0.2"; 333 - sha256 = "0y106nhd3s63lj7h7k21iq0br97h0z9qjrvx028zqcsq9407k9is"; 334 - }; 335 - } 336 - { 337 - goPackagePath = "github.com/hashicorp/go-syslog"; 338 - fetch = { 339 - type = "git"; 340 - url = "https://github.com/hashicorp/go-syslog"; 341 - rev = "v1.0.0"; 342 - sha256 = "09vccqggz212cg0jir6vv708d6mx0f9w5bxrcdah3h6chgmal6v1"; 343 - }; 344 - } 345 - { 346 - goPackagePath = "github.com/hashicorp/go-uuid"; 347 - fetch = { 348 - type = "git"; 349 - url = "https://github.com/hashicorp/go-uuid"; 350 - rev = "v1.0.1"; 351 - sha256 = "0jvb88m0rq41bwgirsadgw7mnayl27av3gd2vqa3xvxp3fy0hp5k"; 352 - }; 353 - } 354 - { 355 - goPackagePath = "github.com/hashicorp/golang-lru"; 356 - fetch = { 357 - type = "git"; 358 - url = "https://github.com/hashicorp/golang-lru"; 359 - rev = "v0.5.3"; 360 - sha256 = "1p2igd58xkm8yaj2c2wxiplkf2hj6kxwrg6ss7mx61s5rd71v5xb"; 361 - }; 362 - } 363 - { 364 - goPackagePath = "github.com/hashicorp/logutils"; 365 - fetch = { 366 - type = "git"; 367 - url = "https://github.com/hashicorp/logutils"; 368 - rev = "v1.0.0"; 369 - sha256 = "076wf4sh5p3f953ndqk1cc0x7jhmlqrxak9953rz79rcdw77rjvv"; 370 - }; 371 - } 372 - { 373 - goPackagePath = "github.com/hashicorp/mdns"; 374 - fetch = { 375 - type = "git"; 376 - url = "https://github.com/hashicorp/mdns"; 377 - rev = "v1.0.1"; 378 - sha256 = "185zpyj1jf1jm7hihg73gqnspr0a359aqwv11v4a6mwd5bkdh19j"; 379 - }; 380 - } 381 - { 382 - goPackagePath = "github.com/hashicorp/memberlist"; 383 - fetch = { 384 - type = "git"; 385 - url = "https://github.com/hashicorp/memberlist"; 386 - rev = "v0.1.4"; 387 - sha256 = "0l9qx8j7mm00ia6m41zbn39z7p77jjf95zph2nw8j2vihm56q9ql"; 388 - }; 389 - } 390 - { 391 - goPackagePath = "github.com/hashicorp/serf"; 392 - fetch = { 393 - type = "git"; 394 - url = "https://github.com/hashicorp/serf"; 395 - rev = "v0.8.3"; 396 - sha256 = "0isaq2m08rpwvlzd72gvy3caapkrzgr9cwizl99ainsjgj2nkds9"; 397 - }; 398 - } 399 - { 400 - goPackagePath = "github.com/hashicorp/uuid"; 401 - fetch = { 402 - type = "git"; 403 - url = "https://github.com/hashicorp/uuid"; 404 - rev = "ebb0a03e909c"; 405 - sha256 = "0bzqr8y81h96cw299lhc5nxi9203a7xpd7csjsm6rh4k1bx4hdlf"; 406 - }; 407 - } 408 - { 409 - goPackagePath = "github.com/hashicorp/yamux"; 410 - fetch = { 411 - type = "git"; 412 - url = "https://github.com/hashicorp/yamux"; 413 - rev = "f5742cb6b856"; 414 - sha256 = "1k9b399ljsp443s1v69c1m5jqdiw1998ryz4b4lh86nkz775ws5s"; 415 - }; 416 - } 417 - { 418 - goPackagePath = "github.com/hpcloud/tail"; 419 - fetch = { 420 - type = "git"; 421 - url = "https://github.com/hpcloud/tail"; 422 - rev = "v1.0.0"; 423 - sha256 = "1njpzc0pi1acg5zx9y6vj9xi6ksbsc5d387rd6904hy6rh2m6kn0"; 424 - }; 425 - } 426 - { 427 - goPackagePath = "github.com/joho/godotenv"; 428 - fetch = { 429 - type = "git"; 430 - url = "https://github.com/joho/godotenv"; 431 - rev = "v1.3.0"; 432 - sha256 = "0ri8if0pc3x6jg4c3i8wr58xyfpxkwmcjk3rp8gb398a1aa3gpjm"; 433 - }; 434 - } 435 - { 436 - goPackagePath = "github.com/json-iterator/go"; 437 - fetch = { 438 - type = "git"; 439 - url = "https://github.com/json-iterator/go"; 440 - rev = "v1.1.7"; 441 - sha256 = "0n79p4s67zl5zprxv7diayw3vavnmmfqkmd6snz0i9bxp825dsyz"; 442 - }; 443 - } 444 - { 445 - goPackagePath = "github.com/julienschmidt/httprouter"; 446 - fetch = { 447 - type = "git"; 448 - url = "https://github.com/julienschmidt/httprouter"; 449 - rev = "v1.2.0"; 450 - sha256 = "1k8bylc9s4vpvf5xhqh9h246dl1snxrzzz0614zz88cdh8yzs666"; 451 - }; 452 - } 453 - { 454 - goPackagePath = "github.com/konsorten/go-windows-terminal-sequences"; 455 - fetch = { 456 - type = "git"; 457 - url = "https://github.com/konsorten/go-windows-terminal-sequences"; 458 - rev = "v1.0.2"; 459 - sha256 = "09mn209ika7ciy87xf2x31dq5fnqw39jidgaljvmqxwk7ff1hnx7"; 460 - }; 461 - } 462 - { 463 - goPackagePath = "github.com/kr/logfmt"; 464 - fetch = { 465 - type = "git"; 466 - url = "https://github.com/kr/logfmt"; 467 - rev = "b84e30acd515"; 468 - sha256 = "02ldzxgznrfdzvghfraslhgp19la1fczcbzh7wm2zdc6lmpd1qq9"; 469 - }; 470 - } 471 - { 472 - goPackagePath = "github.com/kr/pretty"; 473 - fetch = { 474 - type = "git"; 475 - url = "https://github.com/kr/pretty"; 476 - rev = "v0.1.0"; 477 - sha256 = "18m4pwg2abd0j9cn5v3k2ksk9ig4vlwxmlw9rrglanziv9l967qp"; 478 - }; 479 - } 480 - { 481 - goPackagePath = "github.com/kr/pty"; 482 - fetch = { 483 - type = "git"; 484 - url = "https://github.com/kr/pty"; 485 - rev = "v1.1.8"; 486 - sha256 = "1vcl6f90n0f8s8b4fyh0832ilybjqcypqyj233lqj1hx62fvgdbk"; 487 - }; 488 - } 489 - { 490 - goPackagePath = "github.com/kr/text"; 491 - fetch = { 492 - type = "git"; 493 - url = "https://github.com/kr/text"; 494 - rev = "v0.1.0"; 495 - sha256 = "1gm5bsl01apvc84bw06hasawyqm4q84vx1pm32wr9jnd7a8vjgj1"; 496 - }; 497 - } 498 - { 499 - goPackagePath = "github.com/kylelemons/godebug"; 500 - fetch = { 501 - type = "git"; 502 - url = "https://github.com/kylelemons/godebug"; 503 - rev = "v1.1.0"; 504 - sha256 = "0dkk3friykg8p6wgqryx6745ahhb9z1j740k7px9dac6v5xjp78c"; 505 - }; 506 - } 507 - { 508 - goPackagePath = "github.com/mattn/go-colorable"; 509 - fetch = { 510 - type = "git"; 511 - url = "https://github.com/mattn/go-colorable"; 512 - rev = "v0.0.9"; 513 - sha256 = "1nwjmsppsjicr7anq8na6md7b1z84l9ppnlr045hhxjvbkqwalvx"; 514 - }; 515 - } 516 - { 517 - goPackagePath = "github.com/mattn/go-isatty"; 518 - fetch = { 519 - type = "git"; 520 - url = "https://github.com/mattn/go-isatty"; 521 - rev = "v0.0.9"; 522 - sha256 = "0i3km37lajahh1y2392g4hpgvq05arcgiiv93yhzxxyv0fpqj72m"; 523 - }; 524 - } 525 - { 526 - goPackagePath = "github.com/matttproud/golang_protobuf_extensions"; 527 - fetch = { 528 - type = "git"; 529 - url = "https://github.com/matttproud/golang_protobuf_extensions"; 530 - rev = "v1.0.1"; 531 - sha256 = "1d0c1isd2lk9pnfq2nk0aih356j30k3h1gi2w0ixsivi5csl7jya"; 532 - }; 533 - } 534 - { 535 - goPackagePath = "github.com/miekg/dns"; 536 - fetch = { 537 - type = "git"; 538 - url = "https://github.com/miekg/dns"; 539 - rev = "v1.0.15"; 540 - sha256 = "051f51fyrsnj69j9ni9j72acqnrvvzqda4l831ijffy5h5jdl8f2"; 541 - }; 542 - } 543 - { 544 - goPackagePath = "github.com/mitchellh/cli"; 545 - fetch = { 546 - type = "git"; 547 - url = "https://github.com/mitchellh/cli"; 548 - rev = "v1.0.0"; 549 - sha256 = "1i9kmr7rcf10d2hji8h4247hmc0nbairv7a0q51393aw2h1bnwg2"; 550 - }; 551 - } 552 - { 553 - goPackagePath = "github.com/mitchellh/go-homedir"; 554 - fetch = { 555 - type = "git"; 556 - url = "https://github.com/mitchellh/go-homedir"; 557 - rev = "v1.1.0"; 558 - sha256 = "0ydzkipf28hwj2bfxqmwlww47khyk6d152xax4bnyh60f4lq3nx1"; 559 - }; 560 - } 561 - { 562 - goPackagePath = "github.com/mitchellh/go-testing-interface"; 563 - fetch = { 564 - type = "git"; 565 - url = "https://github.com/mitchellh/go-testing-interface"; 566 - rev = "v1.0.0"; 567 - sha256 = "1dl2js8di858bawg7dadlf1qjpkl2g3apziihjyf5imri3znyfpw"; 568 - }; 569 - } 570 - { 571 - goPackagePath = "github.com/mitchellh/go-wordwrap"; 572 - fetch = { 573 - type = "git"; 574 - url = "https://github.com/mitchellh/go-wordwrap"; 575 - rev = "v1.0.0"; 576 - sha256 = "1jffbwcr3nnq6c12c5856bwzv2nxjzqk3jwgvxkwi1xhpd2by0bf"; 577 - }; 578 - } 579 - { 580 - goPackagePath = "github.com/mitchellh/hashstructure"; 581 - fetch = { 582 - type = "git"; 583 - url = "https://github.com/mitchellh/hashstructure"; 584 - rev = "2bca23e0e452"; 585 - sha256 = "0vpacsls26474wya360fjhzi6l4y8s8s251c4szvqxh17n5f5gk1"; 586 - }; 587 - } 588 - { 589 - goPackagePath = "github.com/mitchellh/mapstructure"; 590 - fetch = { 591 - type = "git"; 592 - url = "https://github.com/mitchellh/mapstructure"; 593 - rev = "d0303fe80992"; 594 - sha256 = "1fjwi5ghc1ibyx93apz31n4hj6gcq1hzismpdfbg2qxwshyg0ya8"; 595 - }; 596 - } 597 - { 598 - goPackagePath = "github.com/modern-go/concurrent"; 599 - fetch = { 600 - type = "git"; 601 - url = "https://github.com/modern-go/concurrent"; 602 - rev = "bacd9c7ef1dd"; 603 - sha256 = "0s0fxccsyb8icjmiym5k7prcqx36hvgdwl588y0491gi18k5i4zs"; 604 - }; 605 - } 606 - { 607 - goPackagePath = "github.com/modern-go/reflect2"; 608 - fetch = { 609 - type = "git"; 610 - url = "https://github.com/modern-go/reflect2"; 611 - rev = "v1.0.1"; 612 - sha256 = "06a3sablw53n1dqqbr2f53jyksbxdmmk8axaas4yvnhyfi55k4lf"; 613 - }; 614 - } 615 - { 616 - goPackagePath = "github.com/mwitkow/go-conntrack"; 617 - fetch = { 618 - type = "git"; 619 - url = "https://github.com/mwitkow/go-conntrack"; 620 - rev = "cc309e4a2223"; 621 - sha256 = "0nbrnpk7bkmqg9mzwsxlm0y8m7s9qd9phr1q30qlx2qmdmz7c1mf"; 622 - }; 623 - } 624 - { 625 - goPackagePath = "github.com/oklog/run"; 626 - fetch = { 627 - type = "git"; 628 - url = "https://github.com/oklog/run"; 629 - rev = "v1.0.0"; 630 - sha256 = "1pbjza4claaj95fpqvvfrysvs10y7dm0pl6qr5lzh6qy1vnhmcgw"; 631 - }; 632 - } 633 - { 634 - goPackagePath = "github.com/onsi/ginkgo"; 635 - fetch = { 636 - type = "git"; 637 - url = "https://github.com/onsi/ginkgo"; 638 - rev = "v1.6.0"; 639 - sha256 = "0x0gc89vgq38xhgmi2h22bhr73cf2gmk42g89nz89k8dgg9hhr25"; 640 - }; 641 - } 642 - { 643 - goPackagePath = "github.com/onsi/gomega"; 644 - fetch = { 645 - type = "git"; 646 - url = "https://github.com/onsi/gomega"; 647 - rev = "v1.4.3"; 648 - sha256 = "1c8rqg5i2hz3snmq7s41yar1zjnzilb0fyiyhkg83v97afcfx79v"; 649 - }; 650 - } 651 - { 652 - goPackagePath = "github.com/pascaldekloe/goe"; 653 - fetch = { 654 - type = "git"; 655 - url = "https://github.com/pascaldekloe/goe"; 656 - rev = "v0.1.0"; 657 - sha256 = "1dqd3mfb4z2vmv6pg6fhgvfc53vhndk24wcl9lj1rz02n6m279fq"; 658 - }; 659 - } 660 - { 661 - goPackagePath = "github.com/pkg/errors"; 662 - fetch = { 663 - type = "git"; 664 - url = "https://github.com/pkg/errors"; 665 - rev = "v0.8.1"; 666 - sha256 = "0g5qcb4d4fd96midz0zdk8b9kz8xkzwfa8kr1cliqbg8sxsy5vd1"; 667 - }; 668 - } 669 - { 670 - goPackagePath = "github.com/pmezard/go-difflib"; 671 - fetch = { 672 - type = "git"; 673 - url = "https://github.com/pmezard/go-difflib"; 674 - rev = "v1.0.0"; 675 - sha256 = "0c1cn55m4rypmscgf0rrb88pn58j3ysvc2d0432dp3c6fqg6cnzw"; 676 - }; 677 - } 678 - { 679 - goPackagePath = "github.com/posener/complete"; 680 - fetch = { 681 - type = "git"; 682 - url = "https://github.com/posener/complete"; 683 - rev = "v1.1.2"; 684 - sha256 = "02xrnfkk9r2jarna8jqfkksrn469jdap716037zq84waq3d5xk3l"; 685 - }; 686 - } 687 - { 688 - goPackagePath = "github.com/prometheus/alertmanager"; 689 - fetch = { 690 - type = "git"; 691 - url = "https://github.com/prometheus/alertmanager"; 692 - rev = "v0.9.1"; 693 - sha256 = "1lkfj63pp4jf58xmn015r7s42p1wyj6fryihpmdn0k76b0ccwqzj"; 694 - }; 695 - } 696 - { 697 - goPackagePath = "github.com/prometheus/client_golang"; 698 - fetch = { 699 - type = "git"; 700 - url = "https://github.com/prometheus/client_golang"; 701 - rev = "v0.9.4"; 702 - sha256 = "0s134fj4i7k6pxdmxwkdi7amb1882yq33spv15hg3pkpbd3h311p"; 703 - }; 704 - } 705 - { 706 - goPackagePath = "github.com/prometheus/client_model"; 707 - fetch = { 708 - type = "git"; 709 - url = "https://github.com/prometheus/client_model"; 710 - rev = "fd36f4220a90"; 711 - sha256 = "1bs5d72k361llflgl94c22n0w53j30rsfh84smgk8mbjbcmjsaa5"; 712 - }; 713 - } 714 - { 715 - goPackagePath = "github.com/prometheus/common"; 716 - fetch = { 717 - type = "git"; 718 - url = "https://github.com/prometheus/common"; 719 - rev = "v0.4.1"; 720 - sha256 = "0sf4sjdckblz1hqdfvripk3zyp8xq89w7q75kbsyg4c078af896s"; 721 - }; 722 - } 723 - { 724 - goPackagePath = "github.com/prometheus/procfs"; 725 - fetch = { 726 - type = "git"; 727 - url = "https://github.com/prometheus/procfs"; 728 - rev = "v0.0.3"; 729 - sha256 = "18c4m795fwng8f8qa395f3crvamlbk5y5afk8b5rzyisnmjq774y"; 730 - }; 731 - } 732 - { 733 - goPackagePath = "github.com/ryanuber/columnize"; 734 - fetch = { 735 - type = "git"; 736 - url = "https://github.com/ryanuber/columnize"; 737 - rev = "v2.1.0"; 738 - sha256 = "0m9jhagb1k44zfcdai76xdf9vpi3bqdl7p078ffyibmz0z9jfap6"; 739 - }; 740 - } 741 - { 742 - goPackagePath = "github.com/satori/go.uuid"; 743 - fetch = { 744 - type = "git"; 745 - url = "https://github.com/satori/go.uuid"; 746 - rev = "v1.1.0"; 747 - sha256 = "1nbydsmjr60904kz5d46nib0zid5kcv4gk9wayi44gn5wlzz80zp"; 748 - }; 749 - } 750 - { 751 - goPackagePath = "github.com/sean-/seed"; 752 - fetch = { 753 - type = "git"; 754 - url = "https://github.com/sean-/seed"; 755 - rev = "e2103e2c3529"; 756 - sha256 = "0glir8jxi1w7aga2jwdb63pp1h8q4whknili7xixsqzwyy716125"; 757 - }; 758 - } 759 - { 760 - goPackagePath = "github.com/sirupsen/logrus"; 761 - fetch = { 762 - type = "git"; 763 - url = "https://github.com/sirupsen/logrus"; 764 - rev = "v1.2.0"; 765 - sha256 = "0r6334x2bls8ddznvzaldx4g88msjjns4mlks95rqrrg7h0ijigg"; 766 - }; 767 - } 768 - { 769 - goPackagePath = "github.com/spaolacci/murmur3"; 770 - fetch = { 771 - type = "git"; 772 - url = "https://github.com/spaolacci/murmur3"; 773 - rev = "v1.1.0"; 774 - sha256 = "1lv3zyz3jy2d76bhvvs8svygx66606iygdvwy5cwc0p5z8yghq25"; 775 - }; 776 - } 777 - { 778 - goPackagePath = "github.com/stretchr/objx"; 779 - fetch = { 780 - type = "git"; 781 - url = "https://github.com/stretchr/objx"; 782 - rev = "v0.1.1"; 783 - sha256 = "0iph0qmpyqg4kwv8jsx6a56a7hhqq8swrazv40ycxk9rzr0s8yls"; 784 - }; 785 - } 786 - { 787 - goPackagePath = "github.com/stretchr/testify"; 788 - fetch = { 789 - type = "git"; 790 - url = "https://github.com/stretchr/testify"; 791 - rev = "v1.3.0"; 792 - sha256 = "0wjchp2c8xbgcbbq32w3kvblk6q6yn533g78nxl6iskq6y95lxsy"; 793 - }; 794 - } 795 - { 796 - goPackagePath = "github.com/tucnak/telebot"; 797 - fetch = { 798 - type = "git"; 799 - url = "https://github.com/tucnak/telebot"; 800 - rev = "00cebf376d79"; 801 - sha256 = "0yay3h7gp6yag8jbapbq10vhmszad7svn68nnq5yp6pl1hmykzd6"; 802 - }; 803 - } 804 - { 805 - goPackagePath = "github.com/weaveworks/mesh"; 806 - fetch = { 807 - type = "git"; 808 - url = "https://github.com/weaveworks/mesh"; 809 - rev = "f74318fb713b"; 810 - sha256 = "093j5i7wrkq1g92xaprd0rlfv9i74381wns4941bhbp6x6ahdcz7"; 811 - }; 812 - } 813 - { 814 - goPackagePath = "golang.org/x/crypto"; 815 - fetch = { 816 - type = "git"; 817 - url = "https://go.googlesource.com/crypto"; 818 - rev = "45a5f77698d3"; 819 - sha256 = "0636jjj89wkzqchajwwzgcn4aafc334p70nawh9jzavg2mkx0ch4"; 820 - }; 821 - } 822 - { 823 - goPackagePath = "golang.org/x/net"; 824 - fetch = { 825 - type = "git"; 826 - url = "https://go.googlesource.com/net"; 827 - rev = "891ebc4b82d6"; 828 - sha256 = "1rgw5gl2lc6bkmsx0fak84s6zdc1bhzfxgqg4mg4yh5hlnhpwrki"; 829 - }; 830 - } 831 - { 832 - goPackagePath = "golang.org/x/sync"; 833 - fetch = { 834 - type = "git"; 835 - url = "https://go.googlesource.com/sync"; 836 - rev = "37e7f081c4d4"; 837 - sha256 = "1bb0mw6ckb1k7z8v3iil2qlqwfj408fvvp8m1cik2b46p7snyjhm"; 838 - }; 839 - } 840 - { 841 - goPackagePath = "golang.org/x/sys"; 842 - fetch = { 843 - type = "git"; 844 - url = "https://go.googlesource.com/sys"; 845 - rev = "fde4db37ae7a"; 846 - sha256 = "16k4w4pzziq1kln18k5fg01qgk4hpzb5xsm7175kaky6d6gwyhg3"; 847 - }; 848 - } 849 - { 850 - goPackagePath = "golang.org/x/text"; 851 - fetch = { 852 - type = "git"; 853 - url = "https://go.googlesource.com/text"; 854 - rev = "v0.3.2"; 855 - sha256 = "0flv9idw0jm5nm8lx25xqanbkqgfiym6619w575p7nrdh0riqwqh"; 856 - }; 857 - } 858 - { 859 - goPackagePath = "golang.org/x/tools"; 860 - fetch = { 861 - type = "git"; 862 - url = "https://go.googlesource.com/tools"; 863 - rev = "90fa682c2a6e"; 864 - sha256 = "03ic2xsy51jw9749wl7gszdbz99iijbd2bckgygl6cm9w5m364ak"; 865 - }; 866 - } 867 - { 868 - goPackagePath = "google.golang.org/appengine"; 869 - fetch = { 870 - type = "git"; 871 - url = "https://github.com/golang/appengine"; 872 - rev = "v1.1.0"; 873 - sha256 = "1pz202zszg8f35dk5pfhwgcdi3r6dx1l4yk6x6ly7nb4j45zi96x"; 874 - }; 875 - } 876 - { 877 - goPackagePath = "gopkg.in/airbrake/gobrake.v2"; 878 - fetch = { 879 - type = "git"; 880 - url = "https://gopkg.in/airbrake/gobrake.v2"; 881 - rev = "v2.0.9"; 882 - sha256 = "1x06f7n7qlyzqgyz0sdfcidf3w4ldn6zs6qx2mhibggk2z4whcjw"; 883 - }; 884 - } 885 - { 886 - goPackagePath = "gopkg.in/alecthomas/kingpin.v2"; 887 - fetch = { 888 - type = "git"; 889 - url = "https://gopkg.in/alecthomas/kingpin.v2"; 890 - rev = "v2.2.6"; 891 - sha256 = "0mndnv3hdngr3bxp7yxfd47cas4prv98sqw534mx7vp38gd88n5r"; 892 - }; 893 - } 894 - { 895 - goPackagePath = "gopkg.in/check.v1"; 896 - fetch = { 897 - type = "git"; 898 - url = "https://gopkg.in/check.v1"; 899 - rev = "788fd7840127"; 900 - sha256 = "0v3bim0j375z81zrpr5qv42knqs0y2qv2vkjiqi5axvb78slki1a"; 901 - }; 902 - } 903 - { 904 - goPackagePath = "gopkg.in/fsnotify.v1"; 905 - fetch = { 906 - type = "git"; 907 - url = "https://gopkg.in/fsnotify.v1"; 908 - rev = "v1.4.7"; 909 - sha256 = "07va9crci0ijlivbb7q57d2rz9h27zgn2fsm60spjsqpdbvyrx4g"; 910 - }; 911 - } 912 - { 913 - goPackagePath = "gopkg.in/gemnasium/logrus-airbrake-hook.v2"; 914 - fetch = { 915 - type = "git"; 916 - url = "https://gopkg.in/gemnasium/logrus-airbrake-hook.v2"; 917 - rev = "v2.1.2"; 918 - sha256 = "0sbg0dn6cysmf8f2bi209jwl4jnpiwp4rdghnxlzirw3c32ms5y5"; 919 - }; 920 - } 921 - { 922 - goPackagePath = "gopkg.in/tomb.v1"; 923 - fetch = { 924 - type = "git"; 925 - url = "https://gopkg.in/tomb.v1"; 926 - rev = "dd632973f1e7"; 927 - sha256 = "1lqmq1ag7s4b3gc3ddvr792c5xb5k6sfn0cchr3i2s7f1c231zjv"; 928 - }; 929 - } 930 - { 931 - goPackagePath = "gopkg.in/vmihailenco/msgpack.v2"; 932 - fetch = { 933 - type = "git"; 934 - url = "https://gopkg.in/vmihailenco/msgpack.v2"; 935 - rev = "v2.9.1"; 936 - sha256 = "0ah9j7i97ifyqhiscq8d43gcrhksb3bx83s2p1nyfi1bxw78jwfi"; 937 - }; 938 - } 939 - { 940 - goPackagePath = "gopkg.in/yaml.v2"; 941 - fetch = { 942 - type = "git"; 943 - url = "https://gopkg.in/yaml.v2"; 944 - rev = "v2.2.2"; 945 - sha256 = "01wj12jzsdqlnidpyjssmj0r4yavlqy7dwrg7adqd8dicjc4ncsa"; 946 - }; 947 - } 948 - ]
+2 -2
pkgs/stdenv/generic/make-derivation.nix
··· 278 278 enableParallelChecking = attrs.enableParallelChecking or true; 279 279 } // lib.optionalAttrs (hardeningDisable != [] || hardeningEnable != []) { 280 280 NIX_HARDENING_ENABLE = enabledHardeningOptions; 281 - } // lib.optionalAttrs (stdenv.hostPlatform.isx86_64 && stdenv.hostPlatform ? platform.gcc.arch) { 282 - requiredSystemFeatures = attrs.requiredSystemFeatures or [] ++ [ "gccarch-${stdenv.hostPlatform.platform.gcc.arch}" ]; 281 + } // lib.optionalAttrs (stdenv.hostPlatform.isx86_64 && stdenv.hostPlatform ? gcc.arch) { 282 + requiredSystemFeatures = attrs.requiredSystemFeatures or [] ++ [ "gccarch-${stdenv.hostPlatform.gcc.arch}" ]; 283 283 } // lib.optionalAttrs (stdenv.buildPlatform.isDarwin) { 284 284 inherit __darwinAllowLocalNetworking; 285 285 # TODO: remove lib.unique once nix has a list canonicalization primitive
+2 -2
pkgs/tools/audio/abcmidi/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "abcMIDI"; 5 - version = "2020.12.10"; 5 + version = "2021.01.21"; 6 6 7 7 src = fetchzip { 8 8 url = "https://ifdo.ca/~seymour/runabc/${pname}-${version}.zip"; 9 - sha256 = "0r9jwjwmdyyfq882mq7gkc2hjrv4ljnidxzlyycjipzndb1gv1ls"; 9 + sha256 = "184d59pc60dax60j3nzcsr5kflaygbjpbrwg6r4bky0q0sg17z5i"; 10 10 }; 11 11 12 12 # There is also a file called "makefile" which seems to be preferred by the standard build phase
+16 -3
pkgs/tools/backup/stenc/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub }: 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , genericUpdater 5 + , common-updater-scripts 6 + , autoreconfHook 7 + }: 2 8 3 9 stdenv.mkDerivation rec { 4 - version = "1.0.7"; 5 10 pname = "stenc"; 11 + version = "1.0.8"; 6 12 7 13 src = fetchFromGitHub { 8 14 owner = "scsitape"; 9 15 repo = "stenc"; 10 16 rev = version; 11 - sha256 = "1778m1zcyzyf42k5m496yqh0gv6kqhb0sq5983dhky1fccjl905k"; 17 + sha256 = "0dsmvr1xpwkcd9yawv4c4vna67yag7jb8jcgn2amywz7nkpzmyxd"; 18 + }; 19 + 20 + nativeBuildInputs = [ autoreconfHook ]; 21 + 22 + passthru.updateScript = genericUpdater { 23 + inherit pname version; 24 + versionLister = "${common-updater-scripts}/bin/list-git-tags ${src.meta.homepage}"; 12 25 }; 13 26 14 27 meta = {
+2 -2
pkgs/tools/misc/esphome/default.nix
··· 11 11 12 12 in python.pkgs.buildPythonApplication rec { 13 13 pname = "esphome"; 14 - version = "1.15.2"; 14 + version = "1.15.3"; 15 15 16 16 src = python.pkgs.fetchPypi { 17 17 inherit pname version; 18 - sha256 = "1wnmgn0q4n2vp2cdwsc36acsy7c7w5vyxdglii3432mr5drrgcsx"; 18 + sha256 = "a75b53e76fb8b4b394eca18fe74f622ca740bc13b7cbc02e6af5f50126b7aa0b"; 19 19 }; 20 20 21 21 ESPHOME_USE_SUBPROCESS = "";
+6 -5
pkgs/tools/misc/hdf5/default.nix
··· 5 5 , gfortran ? null 6 6 , zlib ? null 7 7 , szip ? null 8 - , mpi ? null 8 + , mpiSupport ? false 9 + , mpi 9 10 , enableShared ? !stdenv.hostPlatform.isStatic 10 11 }: 11 12 12 13 # cpp and mpi options are mutually exclusive 13 14 # (--enable-unsupported could be used to force the build) 14 - assert !cpp || mpi == null; 15 + assert !cpp || !mpiSupport; 15 16 16 17 let inherit (lib) optional optionals; in 17 18 ··· 24 25 }; 25 26 26 27 passthru = { 27 - mpiSupport = (mpi != null); 28 + inherit mpiSupport; 28 29 inherit mpi; 29 30 }; 30 31 ··· 38 39 39 40 propagatedBuildInputs = [] 40 41 ++ optional (zlib != null) zlib 41 - ++ optional (mpi != null) mpi; 42 + ++ optional mpiSupport mpi; 42 43 43 44 configureFlags = [] 44 45 ++ optional cpp "--enable-cxx" 45 46 ++ optional (gfortran != null) "--enable-fortran" 46 47 ++ optional (szip != null) "--with-szlib=${szip}" 47 - ++ optionals (mpi != null) ["--enable-parallel" "CC=${mpi}/bin/mpicc"] 48 + ++ optionals mpiSupport ["--enable-parallel" "CC=${mpi}/bin/mpicc"] 48 49 ++ optional enableShared "--enable-shared"; 49 50 50 51 patches = [
+2 -2
pkgs/tools/misc/hpcg/default.nix
··· 1 - { lib, stdenv, fetchurl, openmpi } : 1 + { lib, stdenv, fetchurl, mpi } : 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "hpcg"; ··· 13 13 14 14 enableParallelBuilding = true; 15 15 16 - buildInputs = [ openmpi ]; 16 + buildInputs = [ mpi ]; 17 17 18 18 makeFlags = [ "arch=Linux_MPI" ]; 19 19
+3 -3
pkgs/tools/security/eschalot/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "eschalot"; 5 - version = "2018-01-19"; 5 + version = "1.2.0.20191006"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "ReclaimYourPrivacy"; 9 9 repo = pname; 10 - rev = "56a967b62631cfd3c7ef68541263dbd54cbbc2c4"; 11 - sha256 = "1iw1jrydasm9dmgpcdimd8dy9n281ys9krvf3fd3dlymkgsj604d"; 10 + rev = "a45bad5b9a3e4939340ddd8a751ceffa3c0db76a"; 11 + sha256 = "1wbi0azc2b57nmmx6c1wmvng70d9ph1s83yhnl5lxaaqaj85h22g"; 12 12 }; 13 13 14 14 buildInputs = [ openssl ];
+2 -2
pkgs/tools/system/ior/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, openmpi, perl, autoreconfHook }: 1 + { lib, stdenv, fetchFromGitHub, mpi, perl, autoreconfHook }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "ior"; ··· 12 12 }; 13 13 14 14 nativeBuildInputs = [ autoreconfHook ]; 15 - buildInputs = [ openmpi perl ]; 15 + buildInputs = [ mpi perl ]; 16 16 17 17 enableParallelBuilding = true; 18 18
+24 -31
pkgs/top-level/all-packages.nix
··· 4976 4976 hdf5 = callPackage ../tools/misc/hdf5 { 4977 4977 gfortran = null; 4978 4978 szip = null; 4979 - mpi = null; 4980 4979 }; 4981 4980 4982 4981 hdf5-mpi = appendToName "mpi" (hdf5.override { 4983 4982 szip = null; 4984 - mpi = pkgs.openmpi; 4983 + mpiSupport = true; 4985 4984 }); 4986 4985 4987 4986 hdf5-cpp = appendToName "cpp" (hdf5.override { ··· 7185 7184 7186 7185 pympress = callPackage ../applications/office/pympress { }; 7187 7186 7187 + pyspread = python3Packages.callPackage ../applications/office/pyspread { 7188 + inherit (qt5) qtsvg wrapQtAppsHook; 7189 + }; 7190 + 7188 7191 pythonIRClib = pythonPackages.pythonIRClib; 7189 7192 7190 7193 pyditz = callPackage ../applications/misc/pyditz { ··· 7216 7219 rtmidi = callPackage ../development/libraries/audio/rtmidi { }; 7217 7220 7218 7221 openmpi = callPackage ../development/libraries/openmpi { }; 7222 + 7223 + mpi = openmpi; # this attribute should used to build MPI applications 7219 7224 7220 7225 ucx = callPackage ../development/libraries/ucx {}; 7221 7226 ··· 9524 9529 9525 9530 elm2nix = haskell.lib.justStaticExecutables haskellPackages.elm2nix; 9526 9531 9527 - elmPackages = recurseIntoAttrs (callPackage ../development/compilers/elm { }); 9532 + elmPackages = recurseIntoAttrs (callPackage ../development/compilers/elm { 9533 + inherit (darwin.apple_sdk.frameworks) Security; 9534 + }); 9528 9535 9529 9536 apache-flex-sdk = callPackage ../development/compilers/apache-flex-sdk { }; 9530 9537 ··· 16149 16156 qt512 = recurseIntoAttrs (makeOverridable 16150 16157 (import ../development/libraries/qt-5/5.12) { 16151 16158 inherit newScope; 16152 - inherit stdenv fetchurl fetchpatch fetchFromGitHub makeSetupHook makeWrapper; 16159 + inherit lib stdenv fetchurl fetchpatch fetchFromGitHub makeSetupHook makeWrapper; 16153 16160 inherit bison; 16154 16161 inherit cups; 16155 16162 inherit dconf; ··· 16164 16171 qt514 = recurseIntoAttrs (makeOverridable 16165 16172 (import ../development/libraries/qt-5/5.14) { 16166 16173 inherit newScope; 16167 - inherit stdenv fetchurl fetchpatch fetchFromGitHub makeSetupHook makeWrapper; 16174 + inherit lib stdenv fetchurl fetchpatch fetchFromGitHub makeSetupHook makeWrapper; 16168 16175 inherit bison; 16169 16176 inherit cups; 16170 16177 inherit dconf; ··· 16179 16186 qt515 = recurseIntoAttrs (makeOverridable 16180 16187 (import ../development/libraries/qt-5/5.15) { 16181 16188 inherit newScope; 16182 - inherit stdenv fetchurl fetchpatch fetchFromGitHub makeSetupHook makeWrapper; 16189 + inherit lib stdenv fetchurl fetchpatch fetchFromGitHub makeSetupHook makeWrapper; 16183 16190 inherit bison; 16184 16191 inherit cups; 16185 16192 inherit dconf; ··· 19295 19302 buildPhase = '' 19296 19303 set -x 19297 19304 make \ 19298 - ARCH=${stdenv.hostPlatform.kernelArch} \ 19305 + ARCH=${stdenv.hostPlatform.linuxArch} \ 19299 19306 HOSTCC=${buildPackages.stdenv.cc.targetPrefix}gcc \ 19300 19307 ${makeTarget} 19301 19308 ''; ··· 22096 22103 22097 22104 fractal = callPackage ../applications/networking/instant-messengers/fractal { }; 22098 22105 22099 - freecad = libsForQt5.callPackage ../applications/graphics/freecad { 22100 - mpi = openmpi; 22101 - }; 22106 + freecad = libsForQt5.callPackage ../applications/graphics/freecad { }; 22102 22107 22103 22108 freemind = callPackage ../applications/misc/freemind { 22104 22109 jdk = jdk8; # TODO: remove override https://github.com/NixOS/nixpkgs/pull/89731 ··· 22484 22489 22485 22490 hpcg = callPackage ../tools/misc/hpcg/default.nix { }; 22486 22491 22487 - hpl = callPackage ../tools/misc/hpl { mpi = openmpi; }; 22492 + hpl = callPackage ../tools/misc/hpl { }; 22488 22493 22489 22494 hpmyroom = libsForQt5.callPackage ../applications/networking/hpmyroom { }; 22490 22495 ··· 27258 27263 27259 27264 quantum-espresso = callPackage ../applications/science/chemistry/quantum-espresso { }; 27260 27265 27261 - quantum-espresso-mpi = callPackage ../applications/science/chemistry/quantum-espresso { 27262 - mpi = openmpi; 27263 - }; 27266 + quantum-espresso-mpi = callPackage ../applications/science/chemistry/quantum-espresso { useMpi = true; }; 27264 27267 27265 27268 siesta = callPackage ../applications/science/chemistry/siesta { }; 27266 27269 27267 - siesta-mpi = callPackage ../applications/science/chemistry/siesta { 27268 - mpi = openmpi; 27269 - }; 27270 + siesta-mpi = callPackage ../applications/science/chemistry/siesta { useMpi = true; }; 27270 27271 27271 27272 ### SCIENCE/GEOMETRY 27272 27273 ··· 27397 27398 }; 27398 27399 27399 27400 neuron-mpi = appendToName "mpi" (neuron.override { 27400 - mpi = pkgs.openmpi; 27401 + useMpi = true; 27401 27402 }); 27402 27403 27403 27404 neuron-full = neuron-mpi.override { inherit python; }; ··· 27449 27450 raxml = callPackage ../applications/science/biology/raxml { }; 27450 27451 27451 27452 raxml-mpi = appendToName "mpi" (raxml.override { 27452 - mpi = true; 27453 + useMpi = true; 27453 27454 }); 27454 27455 27455 27456 sambamba = callPackage ../applications/science/biology/sambamba { }; ··· 27571 27572 27572 27573 planarity = callPackage ../development/libraries/science/math/planarity { }; 27573 27574 27574 - scalapack = callPackage ../development/libraries/science/math/scalapack { 27575 - mpi = openmpi; 27576 - }; 27575 + scalapack = callPackage ../development/libraries/science/math/scalapack { }; 27577 27576 27578 27577 rankwidth = callPackage ../development/libraries/science/math/rankwidth { }; 27579 27578 ··· 27603 27602 27604 27603 petsc = callPackage ../development/libraries/science/math/petsc { }; 27605 27604 27606 - parmetis = callPackage ../development/libraries/science/math/parmetis { 27607 - mpi = openmpi; 27608 - }; 27605 + parmetis = callPackage ../development/libraries/science/math/parmetis { }; 27609 27606 27610 27607 QuadProgpp = callPackage ../development/libraries/science/math/QuadProgpp { }; 27611 27608 ··· 27635 27632 27636 27633 ### SCIENCE/MOLECULAR-DYNAMICS 27637 27634 27638 - dl-poly-classic-mpi = callPackage ../applications/science/molecular-dynamics/dl-poly-classic { 27639 - mpi = openmpi; 27640 - }; 27635 + dl-poly-classic-mpi = callPackage ../applications/science/molecular-dynamics/dl-poly-classic { }; 27641 27636 27642 27637 lammps = callPackage ../applications/science/molecular-dynamics/lammps { 27643 27638 fftw = fftw; 27644 27639 }; 27645 27640 27646 - lammps-mpi = lowPrio (lammps.override { 27647 - mpi = openmpi; 27648 - }); 27641 + lammps-mpi = lowPrio (lammps.override { withMPI = true; }); 27649 27642 27650 27643 gromacs = callPackage ../applications/science/molecular-dynamics/gromacs { 27651 27644 singlePrec = true;
+10 -14
pkgs/top-level/default.nix
··· 1 1 /* This function composes the Nix Packages collection. It: 2 2 3 - 1. Applies the final stage to the given `config` if it is a function 3 + 1. Elaborates `localSystem` and `crossSystem` with defaults as needed. 4 4 5 - 2. Infers an appropriate `platform` based on the `system` if none is 6 - provided 5 + 2. Applies the final stage to the given `config` if it is a function 7 6 8 7 3. Defaults to no non-standard config and no cross-compilation target 9 8 ··· 50 49 in let 51 50 lib = import ../../lib; 52 51 52 + localSystem = lib.systems.elaborate args.localSystem; 53 + 54 + # Condition preserves sharing which in turn affects equality. 55 + crossSystem = 56 + if crossSystem0 == null || crossSystem0 == args.localSystem 57 + then localSystem 58 + else lib.systems.elaborate crossSystem0; 59 + 53 60 # Allow both: 54 61 # { /* the config */ } and 55 62 # { pkgs, ... } : { /* the config */ } ··· 57 64 if lib.isFunction config0 58 65 then config0 { inherit pkgs; } 59 66 else config0; 60 - 61 - # From a minimum of `system` or `config` (actually a target triple, *not* 62 - # nixpkgs configuration), infer the other one and platform as needed. 63 - localSystem = lib.systems.elaborate (if builtins.isAttrs args.localSystem then ( 64 - # Allow setting the platform in the config file. This take precedence over 65 - # the inferred platform, but not over an explicitly passed-in one. 66 - builtins.intersectAttrs { platform = null; } config1 67 - // args.localSystem) else args.localSystem); 68 - 69 - crossSystem = if crossSystem0 == null then localSystem 70 - else lib.systems.elaborate crossSystem0; 71 67 72 68 configEval = lib.evalModules { 73 69 modules = [
+14 -20
pkgs/top-level/impure.nix
··· 12 12 13 13 in 14 14 15 - { # We combine legacy `system` and `platform` into `localSystem`, if 16 - # `localSystem` was not passed. Strictly speaking, this is pure desugar, but 17 - # it is most convient to do so before the impure `localSystem.system` default, 18 - # so we do it now. 19 - localSystem ? builtins.intersectAttrs { system = null; platform = null; } args 15 + { # We put legacy `system` into `localSystem`, if `localSystem` was not passed. 16 + # If neither is passed, assume we are building packages on the current 17 + # (build, in GNU Autotools parlance) platform. 18 + localSystem ? { system = args.system or builtins.currentSystem; } 20 19 21 - , # These are needed only because nix's `--arg` command-line logic doesn't work 22 - # with unnamed parameters allowed by ... 23 - system ? localSystem.system 24 - , platform ? localSystem.platform 25 - , crossSystem ? null 20 + # These are needed only because nix's `--arg` command-line logic doesn't work 21 + # with unnamed parameters allowed by ... 22 + , system ? localSystem.system 23 + , crossSystem ? localSystem 26 24 27 25 , # Fallback: The contents of the configuration file found at $NIXPKGS_CONFIG or 28 26 # $HOME/.config/nixpkgs/config.nix. ··· 77 75 , ... 78 76 } @ args: 79 77 80 - # If `localSystem` was explicitly passed, legacy `system` and `platform` should 81 - # not be passed. 82 - assert args ? localSystem -> !(args ? system || args ? platform); 78 + # If `localSystem` was explicitly passed, legacy `system` should 79 + # not be passed, and vice-versa. 80 + assert args ? localSystem -> !(args ? system); 81 + assert args ? system -> !(args ? localSystem); 83 82 84 - import ./. (builtins.removeAttrs args [ "system" "platform" ] // { 85 - inherit config overlays crossSystem crossOverlays; 86 - # Fallback: Assume we are building packages on the current (build, in GNU 87 - # Autotools parlance) system. 88 - localSystem = if builtins.isString localSystem then localSystem 89 - else (if args ? localSystem then {} 90 - else { system = builtins.currentSystem; }) // localSystem; 83 + import ./. (builtins.removeAttrs args [ "system" ] // { 84 + inherit config overlays localSystem; 91 85 })
+25 -9
pkgs/top-level/perl-packages.nix
··· 9641 9641 buildInputs = [ TestNoWarnings ]; 9642 9642 }; 9643 9643 9644 + HTTPAcceptLanguage = buildPerlModule { 9645 + pname = "HTTP-AcceptLanguage"; 9646 + version = "0.02"; 9647 + src = fetchurl { 9648 + url = "mirror://cpan/authors/id/Y/YA/YAPPO/HTTP-AcceptLanguage-0.02.tar.gz"; 9649 + sha256 = "1bs29r72ibp0kmr3l1ypzszflpcw7z4yxxcgaijspsy99rb5yq1f"; 9650 + }; 9651 + buildInputs = [ ModuleBuildTiny ]; 9652 + meta = { 9653 + homepage = "https://github.com/yappo/p5-HTTP-AcceptLanguage"; 9654 + description = "Accept-Language header parser and find available language"; 9655 + license = with lib.licenses; [ artistic1 gpl1Plus ]; 9656 + }; 9657 + }; 9658 + 9644 9659 HTTPBody = buildPerlPackage { 9645 9660 pname = "HTTP-Body"; 9646 9661 version = "1.22"; ··· 11137 11152 11138 11153 LinkEmbedder = buildPerlPackage { 11139 11154 pname = "LinkEmbedder"; 11140 - version = "1.15"; 11155 + version = "1.16"; 11141 11156 src = fetchurl { 11142 - url = "mirror://cpan/authors/id/J/JH/JHTHORSEN/LinkEmbedder-1.15.tar.gz"; 11143 - sha256 = "0ij2jvsiqnqz3qlzw8k3q37ys05wfh1ks2n692hs3bpg7ds3n8bc"; 11157 + url = "mirror://cpan/authors/id/J/JH/JHTHORSEN/LinkEmbedder-1.16.tar.gz"; 11158 + sha256 = "0pm5h5rlfparfvsi3ygj53mwjg8lwhql5mj0macfvsvfnfvnnp6j"; 11144 11159 }; 11145 11160 buildInputs = [ TestDeep ]; 11146 11161 propagatedBuildInputs = [ Mojolicious ]; ··· 13388 13403 13389 13404 Mojolicious = buildPerlPackage { 13390 13405 pname = "Mojolicious"; 13391 - version = "8.67"; 13406 + version = "8.71"; 13392 13407 src = fetchurl { 13393 - url = "mirror://cpan/authors/id/S/SR/SRI/Mojolicious-8.67.tar.gz"; 13394 - sha256 = "0b1ajsfvpzcmy7qp1rjr2n1z263yk5bkzmal0kx72ajg1l1dd85v"; 13408 + url = "mirror://cpan/authors/id/S/SR/SRI/Mojolicious-8.71.tar.gz"; 13409 + sha256 = "03bfxzq11v6k47axdwqhp2d3p1z17nwyxj0yww5z3x293p6zsnqm"; 13395 13410 }; 13396 13411 meta = { 13397 13412 homepage = "https://mojolicious.org"; ··· 13498 13513 13499 13514 MojoliciousPluginWebpack = buildPerlPackage { 13500 13515 pname = "Mojolicious-Plugin-Webpack"; 13501 - version = "0.13"; 13516 + version = "0.14"; 13502 13517 src = fetchurl { 13503 - url = "mirror://cpan/authors/id/J/JH/JHTHORSEN/Mojolicious-Plugin-Webpack-0.13.tar.gz"; 13504 - sha256 = "7848c0698e1b52909c71add638f7523f5affdfb8133b4ddb6f23a3bca485e761"; 13518 + url = "mirror://cpan/authors/id/J/JH/JHTHORSEN/Mojolicious-Plugin-Webpack-0.14.tar.gz"; 13519 + sha256 = "0b1a9rm5rlpqj6skgic4qzy4b1p35r2dhkh3rwaaypf9ha70i9gc"; 13505 13520 }; 13506 13521 propagatedBuildInputs = [ Mojolicious ]; 13507 13522 meta = { ··· 14876 14891 }; 14877 14892 propagatedBuildInputs = [ IOAsync Moo NetFrameLayerIPv6 namespaceclean ]; 14878 14893 buildInputs = [ TestFatal ]; 14894 + preCheck = "rm t/icmp_ps.t t/icmpv6_ps.t"; # ping socket tests fail 14879 14895 meta = { 14880 14896 description = "asyncronously check remote host for reachability"; 14881 14897 license = with lib.licenses; [ artistic1 gpl1Plus ];
+8 -3
pkgs/top-level/python-packages.nix
··· 206 206 207 207 aiodns = callPackage ../development/python-modules/aiodns { }; 208 208 209 + aioeafm = callPackage ../development/python-modules/aioeafm { }; 210 + 209 211 aioesphomeapi = callPackage ../development/python-modules/aioesphomeapi { }; 210 212 211 213 aioeventlet = callPackage ../development/python-modules/aioeventlet { }; ··· 317 319 amazon_kclpy = callPackage ../development/python-modules/amazon_kclpy { }; 318 320 319 321 ambiclimate = callPackage ../development/python-modules/ambiclimate { }; 322 + 323 + amcrest = callPackage ../development/python-modules/amcrest { }; 320 324 321 325 amply = callPackage ../development/python-modules/amply { }; 322 326 ··· 2184 2188 2185 2189 fenics = callPackage ../development/libraries/science/math/fenics { 2186 2190 inherit (pkgs) pkg-config; 2187 - mpi = pkgs.openmpi; 2188 2191 pytest = self.pytest_4; 2189 2192 }; 2190 2193 ··· 3486 3489 3487 3490 labelbox = callPackage ../development/python-modules/labelbox { }; 3488 3491 3489 - lammps-cython = callPackage ../development/python-modules/lammps-cython { mpi = pkgs.openmpi; }; 3492 + lammps-cython = callPackage ../development/python-modules/lammps-cython { mpi = pkgs.mpi; }; 3490 3493 3491 3494 langcodes = callPackage ../development/python-modules/langcodes { }; 3492 3495 ··· 4120 4123 4121 4124 mpd = callPackage ../development/python-modules/mpd { }; 4122 4125 4123 - mpi4py = callPackage ../development/python-modules/mpi4py { mpi = pkgs.openmpi; }; 4126 + mpi4py = callPackage ../development/python-modules/mpi4py { mpi = pkgs.mpi; }; 4124 4127 4125 4128 mplleaflet = callPackage ../development/python-modules/mplleaflet { }; 4126 4129 ··· 5204 5207 pycategories = callPackage ../development/python-modules/pycategories { }; 5205 5208 5206 5209 pycdio = callPackage ../development/python-modules/pycdio { }; 5210 + 5211 + pycfdns = callPackage ../development/python-modules/pycfdns { }; 5207 5212 5208 5213 pychart = callPackage ../development/python-modules/pychart { }; 5209 5214