font-{alias,util}, gccmakedep, libp{ciacces,threadstub}s: refactor and migrate to pkgs/by-name from xorg namespace (#369520)

authored by jopejoe1 and committed by GitHub 13c1207a 4acb251a

+330 -207
+20
lib/licenses.nix
··· 257 257 fullName = "BSD Protection License"; 258 258 }; 259 259 260 + bsdSourceCode = { 261 + spdxId = "BSD-Source-Code"; 262 + fullName = "BSD Source Code Attribution"; 263 + }; 264 + 260 265 bsl11 = { 261 266 spdxId = "BUSL-1.1"; 262 267 fullName = "Business Source License 1.1"; ··· 450 455 cpl10 = { 451 456 spdxId = "CPL-1.0"; 452 457 fullName = "Common Public License 1.0"; 458 + }; 459 + 460 + cronyx = { 461 + spdxId = "Cronyx"; 462 + fullName = "Cronyx License"; 453 463 }; 454 464 455 465 curl = { ··· 937 947 fullName = "MIT No Attribution"; 938 948 }; 939 949 950 + mitOpenGroup = { 951 + spdxId = "MIT-open-group"; 952 + fullName = "MIT Open Group variant"; 953 + }; 954 + 940 955 mpl10 = { 941 956 spdxId = "MPL-1.0"; 942 957 fullName = "Mozilla Public License 1.0"; ··· 1326 1341 unicode-dfs-2016 = { 1327 1342 spdxId = "Unicode-DFS-2016"; 1328 1343 fullName = "Unicode License Agreement - Data Files and Software (2016)"; 1344 + }; 1345 + 1346 + unicodeTOU = { 1347 + spdxId = "Unicode-TOU"; 1348 + fullName = "Unicode Terms of Use"; 1329 1349 }; 1330 1350 1331 1351 unlicense = {
+40
pkgs/by-name/fo/font-alias/package.nix
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchurl, 5 + writeScript, 6 + }: 7 + 8 + stdenv.mkDerivation (finalAttrs: { 9 + pname = "font-alias"; 10 + version = "1.0.5"; 11 + 12 + src = fetchurl { 13 + url = "mirror://xorg/individual/font/font-alias-${finalAttrs.version}.tar.xz"; 14 + hash = "sha256-n4niF7tz4ONjagpJP7+LfJlRVuDFPZoEdtIBtnwta24="; 15 + }; 16 + 17 + passthru = { 18 + updateScript = writeScript "update-${finalAttrs.pname}" '' 19 + #!/usr/bin/env nix-shell 20 + #!nix-shell -i bash -p common-updater-scripts 21 + 22 + version="$(list-directory-versions --pname ${finalAttrs.pname} \ 23 + --url https://xorg.freedesktop.org/releases/individual/font/ \ 24 + | sort -V | tail -n1)" 25 + 26 + update-source-version ${finalAttrs.pname} "$version" 27 + ''; 28 + }; 29 + 30 + meta = { 31 + description = "Common aliases for Xorg fonts"; 32 + homepage = "https://gitlab.freedesktop.org/xorg/font/alias"; 33 + license = with lib.licenses; [ 34 + cronyx 35 + mit 36 + ]; 37 + maintainers = [ ]; 38 + platforms = lib.platforms.all; 39 + }; 40 + })
+49
pkgs/by-name/fo/font-util/package.nix
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchurl, 5 + testers, 6 + writeScript, 7 + }: 8 + 9 + stdenv.mkDerivation (finalAttrs: { 10 + pname = "font-util"; 11 + version = "1.4.1"; 12 + 13 + src = fetchurl { 14 + url = "mirror://xorg/individual/font/font-util-${finalAttrs.version}.tar.xz"; 15 + hash = "sha256-XJ9kEjwZSxUP7okEmZFoc4bm/zbvKve4C6U++vNozJU="; 16 + }; 17 + 18 + passthru = { 19 + updateScript = writeScript "update-${finalAttrs.pname}" '' 20 + #!/usr/bin/env nix-shell 21 + #!nix-shell -i bash -p common-updater-scripts 22 + 23 + version="$(list-directory-versions --pname ${finalAttrs.pname} \ 24 + --url https://xorg.freedesktop.org/releases/individual/font/ \ 25 + | sort -V | tail -n1)" 26 + 27 + update-source-version ${finalAttrs.pname} "$version" 28 + ''; 29 + tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 30 + }; 31 + 32 + meta = { 33 + description = "X.Org font package creation/installation utilities"; 34 + homepage = "https://gitlab.freedesktop.org/xorg/font/util"; 35 + license = with lib.licenses; [ 36 + mit 37 + bsd2 38 + bsdSourceCode 39 + mitOpenGroup 40 + # there is a bit of a diff, but i think its close enough 41 + # it was probably just adapted a bit to fit to the repository structure 42 + # or its an older version that the one on spdx 43 + unicodeTOU 44 + ]; 45 + maintainers = [ ]; 46 + pkgConfigModules = [ "fontutil" ]; 47 + platforms = lib.platforms.unix; 48 + }; 49 + })
+59
pkgs/by-name/gc/gccmakedep/package.nix
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchurl, 5 + writeScript, 6 + }: 7 + 8 + stdenv.mkDerivation (finalAttrs: { 9 + pname = "gccmakedep"; 10 + version = "1.0.4"; 11 + 12 + src = fetchurl { 13 + url = "mirror://xorg/individual/util/gccmakedep-${finalAttrs.version}.tar.xz"; 14 + hash = "sha256-UIj5h2n7Y8Mm6bnSy3yfSmMKKAHdHaBpcdCCkXbPJbY="; 15 + }; 16 + 17 + passthru.updateScript = writeScript "update-${finalAttrs.pname}" '' 18 + #!/usr/bin/env nix-shell 19 + #!nix-shell -i bash -p common-updater-scripts 20 + 21 + version="$(list-directory-versions --pname ${finalAttrs.pname} \ 22 + --url https://xorg.freedesktop.org/releases/individual/util/ \ 23 + | sort -V | tail -n1)" 24 + 25 + update-source-version ${finalAttrs.pname} "$version" 26 + ''; 27 + 28 + meta = { 29 + description = "Creates dependencies in makefiles using 'gcc -M'"; 30 + homepage = "https://gitlab.freedesktop.org/xorg/util/gccmakedep"; 31 + license = with lib.licenses; [ 32 + # COPYING file suggests looking at the Copyright headers of every file: 33 + # upstream issue: https://gitlab.freedesktop.org/xorg/util/gccmakedep/-/issues/1 34 + 35 + # 1. build system files Copyright Red Hat 36 + hpndSellVariant 37 + 38 + # 2. gccmakedep.man was written by Colin Watson for Debian somewhen 39 + # earlier than November 2003. While I wasn't able to trace the exact 40 + # source, between 1997 and 2004 the "Debian Social Contract, Version 41 + # 1.0" was in effect, which requires all components of the Debian 42 + # Operating System to be free software, which includes this man page. 43 + # https://www.debian.org/social_contract.1.0 44 + free 45 + 46 + # 3. gccmakedep.in, originally named gccmdep.cpp was copied from the 47 + # XFree86 project around 2000. While it states to be "Based on 48 + # mdepend.cpp and code supplied by Hongjiu Lu", that doesn't matter 49 + # because it was supposedly completely rewritten by XFree86. 50 + # XFree86 code without any explicit Copyright Statement is under X11. 51 + x11 52 + 53 + # 4. some files don't have any license info, but they are all trivial 54 + ]; 55 + mainProgram = "gccmakedep"; 56 + maintainers = [ ]; 57 + platforms = lib.platforms.unix; 58 + }; 59 + })
+81
pkgs/by-name/li/libpciaccess/package.nix
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchurl, 5 + testers, 6 + writeScript, 7 + pkg-config, 8 + meson, 9 + ninja, 10 + zlib, 11 + netbsd, 12 + hwdata, 13 + }: 14 + 15 + stdenv.mkDerivation (finalAttrs: { 16 + pname = "libpciaccess"; 17 + version = "0.18.1"; 18 + 19 + src = fetchurl { 20 + url = "mirror://xorg/individual/lib/libpciaccess-${finalAttrs.version}.tar.xz"; 21 + hash = "sha256-SvQ0RLOK21VF0O0cLORtlgjMR7McI4f8UYFlZ2Wm+nY="; 22 + }; 23 + 24 + strictDeps = true; 25 + 26 + nativeBuildInputs = [ 27 + pkg-config 28 + meson 29 + ninja 30 + ]; 31 + 32 + buildInputs = 33 + [ zlib ] 34 + ++ lib.optionals stdenv.hostPlatform.isNetBSD [ 35 + netbsd.libarch 36 + netbsd.libpci 37 + ]; 38 + 39 + mesonFlags = [ 40 + (lib.mesonOption "pci-ids" "${hwdata}/share/hwdata") 41 + (lib.mesonEnable "zlib" true) 42 + ]; 43 + 44 + passthru = { 45 + updateScript = writeScript "update-${finalAttrs.pname}" '' 46 + #!/usr/bin/env nix-shell 47 + #!nix-shell -i bash -p common-updater-scripts 48 + 49 + version="$(list-directory-versions --pname ${finalAttrs.pname} \ 50 + --url https://xorg.freedesktop.org/releases/individual/lib/ \ 51 + | sort -V | tail -n1)" 52 + 53 + update-source-version ${finalAttrs.pname} "$version" 54 + ''; 55 + tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 56 + }; 57 + 58 + meta = { 59 + description = "Generic PCI access library"; 60 + homepage = "https://gitlab.freedesktop.org/xorg/lib/libpciaccess"; 61 + license = with lib.licenses; [ 62 + mit 63 + isc 64 + x11 65 + ]; 66 + pkgConfigModules = [ "pciaccess" ]; 67 + # https://gitlab.freedesktop.org/xorg/lib/libpciaccess/-/blob/6cd5a4afbb70868c7746de8d50dea59e02e9acf2/configure.ac#L108-114 68 + platforms = 69 + with lib.platforms; 70 + cygwin 71 + ++ freebsd 72 + ++ illumos 73 + ++ linux 74 + ++ lib.platforms.netbsd # otherwise netbsd from the function arguments is used 75 + ++ openbsd; 76 + badPlatforms = [ 77 + # mandatory shared library 78 + lib.systems.inspect.platformPatterns.isStatic 79 + ]; 80 + }; 81 + })
+43
pkgs/by-name/li/libpthread-stubs/package.nix
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchurl, 5 + testers, 6 + writeScript, 7 + }: 8 + 9 + stdenv.mkDerivation (finalAttrs: { 10 + pname = "libpthread-stubs"; 11 + version = "0.5"; 12 + 13 + src = fetchurl { 14 + url = "mirror://xorg/individual/lib/libpthread-stubs-${finalAttrs.version}.tar.xz"; 15 + hash = "sha256-WdpWbezOunwqeXCkoDtI2ZBfEmL/lEEKZJIk4z0kQrw="; 16 + }; 17 + 18 + passthru = { 19 + updateScript = writeScript "update-${finalAttrs.pname}" '' 20 + #!/usr/bin/env nix-shell 21 + #!nix-shell -i bash -p common-updater-scripts 22 + 23 + version="$(list-directory-versions --pname ${finalAttrs.pname} \ 24 + --url https://xorg.freedesktop.org/releases/individual/lib/ \ 25 + | sort -V | tail -n1)" 26 + 27 + update-source-version ${finalAttrs.pname} "$version" 28 + ''; 29 + tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 30 + }; 31 + 32 + meta = { 33 + description = "Provides a pkg-config file `pthread-stubs.pc` containing the Cflags/Libs flags applicable to programs/libraries that use only lightweight pthread API"; 34 + homepage = "https://gitlab.freedesktop.org/xorg/lib/pthread-stubs"; 35 + # gitlab says x11-distribute-modifications but it's not 36 + # maybe due to https://github.com/spdx/spdx-online-tools/issues/540 37 + license = lib.licenses.x11; 38 + maintainers = [ ]; 39 + pkgConfigModules = [ "pthread-stubs" ]; 40 + # on these platforms according to the readme 41 + platforms = with lib.platforms; linux ++ cygwin ++ darwin ++ [ "x86_64-solaris" ]; 42 + }; 43 + })
+15 -158
pkgs/servers/x11/xorg/default.nix
··· 1 1 # THIS IS A GENERATED FILE. DO NOT EDIT! 2 2 { 3 3 lib, 4 - pixman, 4 + font-alias, 5 + font-util, 6 + gccmakedep, 7 + libpciaccess, 8 + libpthread-stubs, 5 9 luit, 10 + pixman, 6 11 }: 7 12 8 13 self: with self; { 9 14 10 - inherit pixman; 11 - inherit luit; 15 + inherit 16 + gccmakedep 17 + libpciaccess 18 + luit 19 + pixman 20 + ; 21 + fontalias = font-alias; 22 + fontutil = font-util; 23 + libpthreadstubs = libpthread-stubs; 12 24 13 25 # THIS IS A GENERATED FILE. DO NOT EDIT! 14 26 appres = callPackage ( ··· 405 417 buildInputs = [ fontutil ]; 406 418 configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ]; 407 419 postPatch = ''substituteInPlace configure --replace 'MAPFILES_PATH=`pkg-config' 'MAPFILES_PATH=`$PKG_CONFIG' ''; 408 - passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 409 - meta = { 410 - pkgConfigModules = [ ]; 411 - platforms = lib.platforms.unix; 412 - }; 413 - }) 414 - ) { }; 415 - 416 - # THIS IS A GENERATED FILE. DO NOT EDIT! 417 - fontalias = callPackage ( 418 - { 419 - stdenv, 420 - pkg-config, 421 - fetchurl, 422 - testers, 423 - }: 424 - stdenv.mkDerivation (finalAttrs: { 425 - pname = "font-alias"; 426 - version = "1.0.5"; 427 - builder = ./builder.sh; 428 - src = fetchurl { 429 - url = "mirror://xorg/individual/font/font-alias-1.0.5.tar.xz"; 430 - sha256 = "0vkb5mybc0fjfq29lgf5w1b536bwifzkyj8ad9iy7q3kpcby52cz"; 431 - }; 432 - hardeningDisable = [ 433 - "bindnow" 434 - "relro" 435 - ]; 436 - strictDeps = true; 437 - nativeBuildInputs = [ pkg-config ]; 438 - buildInputs = [ ]; 439 420 passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 440 421 meta = { 441 422 pkgConfigModules = [ ]; ··· 1595 1576 ) { }; 1596 1577 1597 1578 # THIS IS A GENERATED FILE. DO NOT EDIT! 1598 - fontutil = callPackage ( 1599 - { 1600 - stdenv, 1601 - pkg-config, 1602 - fetchurl, 1603 - testers, 1604 - }: 1605 - stdenv.mkDerivation (finalAttrs: { 1606 - pname = "font-util"; 1607 - version = "1.4.1"; 1608 - builder = ./builder.sh; 1609 - src = fetchurl { 1610 - url = "mirror://xorg/individual/font/font-util-1.4.1.tar.xz"; 1611 - sha256 = "15fcd3rzlgm51fwgfapg6vzyd1kkd28rj149xq7iajqr7h9697sw"; 1612 - }; 1613 - hardeningDisable = [ 1614 - "bindnow" 1615 - "relro" 1616 - ]; 1617 - strictDeps = true; 1618 - nativeBuildInputs = [ pkg-config ]; 1619 - buildInputs = [ ]; 1620 - passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 1621 - meta = { 1622 - pkgConfigModules = [ "fontutil" ]; 1623 - platforms = lib.platforms.unix; 1624 - }; 1625 - }) 1626 - ) { }; 1627 - 1628 - # THIS IS A GENERATED FILE. DO NOT EDIT! 1629 1579 fontwinitzkicyrillic = callPackage ( 1630 1580 { 1631 1581 stdenv, ··· 1704 1654 ) { }; 1705 1655 1706 1656 # THIS IS A GENERATED FILE. DO NOT EDIT! 1707 - gccmakedep = callPackage ( 1708 - { 1709 - stdenv, 1710 - pkg-config, 1711 - fetchurl, 1712 - testers, 1713 - }: 1714 - stdenv.mkDerivation (finalAttrs: { 1715 - pname = "gccmakedep"; 1716 - version = "1.0.4"; 1717 - builder = ./builder.sh; 1718 - src = fetchurl { 1719 - url = "mirror://xorg/individual/util/gccmakedep-1.0.4.tar.xz"; 1720 - sha256 = "1di5rxv930nhf5ls07fx04l0lqsakxycplmrx4kc6qzvd63zk22h"; 1721 - }; 1722 - hardeningDisable = [ 1723 - "bindnow" 1724 - "relro" 1725 - ]; 1726 - strictDeps = true; 1727 - nativeBuildInputs = [ pkg-config ]; 1728 - buildInputs = [ ]; 1729 - passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 1730 - meta = { 1731 - pkgConfigModules = [ ]; 1732 - platforms = lib.platforms.unix; 1733 - }; 1734 - }) 1735 - ) { }; 1736 - 1737 - # THIS IS A GENERATED FILE. DO NOT EDIT! 1738 1657 iceauth = callPackage ( 1739 1658 { 1740 1659 stdenv, ··· 3277 3196 passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 3278 3197 meta = { 3279 3198 pkgConfigModules = [ "fontenc" ]; 3280 - platforms = lib.platforms.unix; 3281 - }; 3282 - }) 3283 - ) { }; 3284 - 3285 - # THIS IS A GENERATED FILE. DO NOT EDIT! 3286 - libpciaccess = callPackage ( 3287 - { 3288 - stdenv, 3289 - pkg-config, 3290 - fetchurl, 3291 - testers, 3292 - }: 3293 - stdenv.mkDerivation (finalAttrs: { 3294 - pname = "libpciaccess"; 3295 - version = "0.18.1"; 3296 - builder = ./builder.sh; 3297 - src = fetchurl { 3298 - url = "mirror://xorg/individual/lib/libpciaccess-0.18.1.tar.xz"; 3299 - sha256 = "0xpslrjnfrc1a7y8f8qwnd3wq24ndpj2q77ds12mbnwand239x2a"; 3300 - }; 3301 - hardeningDisable = [ 3302 - "bindnow" 3303 - "relro" 3304 - ]; 3305 - strictDeps = true; 3306 - nativeBuildInputs = [ pkg-config ]; 3307 - buildInputs = [ ]; 3308 - passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 3309 - meta = { 3310 - pkgConfigModules = [ "pciaccess" ]; 3311 - platforms = lib.platforms.unix; 3312 - }; 3313 - }) 3314 - ) { }; 3315 - 3316 - # THIS IS A GENERATED FILE. DO NOT EDIT! 3317 - libpthreadstubs = callPackage ( 3318 - { 3319 - stdenv, 3320 - pkg-config, 3321 - fetchurl, 3322 - testers, 3323 - }: 3324 - stdenv.mkDerivation (finalAttrs: { 3325 - pname = "libpthread-stubs"; 3326 - version = "0.5"; 3327 - builder = ./builder.sh; 3328 - src = fetchurl { 3329 - url = "mirror://xorg/individual/xcb/libpthread-stubs-0.5.tar.xz"; 3330 - sha256 = "1g224hyy694jch54357zc895z46r90xs193hg4m7rfnfxinmdnjr"; 3331 - }; 3332 - hardeningDisable = [ 3333 - "bindnow" 3334 - "relro" 3335 - ]; 3336 - strictDeps = true; 3337 - nativeBuildInputs = [ pkg-config ]; 3338 - buildInputs = [ ]; 3339 - passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; 3340 - meta = { 3341 - pkgConfigModules = [ "pthread-stubs" ]; 3342 3199 platforms = lib.platforms.unix; 3343 3200 }; 3344 3201 })
+18 -3
pkgs/servers/x11/xorg/generate-expr-from-tarballs.pl
··· 36 36 $pcMap{"GL"} = "libGL"; 37 37 $pcMap{"gbm"} = "libgbm"; 38 38 $pcMap{"hwdata"} = "hwdata"; 39 + $pcMap{"fontutil"} = "fontutil"; 40 + $pcMap{"pciaccess"} = "libpciaccess"; 41 + $pcMap{"pthread-stubs"} = "libpthreadstubs"; 39 42 $pcMap{"\$PIXMAN"} = "pixman"; 40 43 $pcMap{"\$RENDERPROTO"} = "xorgproto"; 41 44 $pcMap{"\$DRI3PROTO"} = "xorgproto"; ··· 260 263 # THIS IS A GENERATED FILE. DO NOT EDIT! 261 264 { 262 265 lib, 263 - pixman, 266 + font-alias, 267 + font-util, 268 + gccmakedep, 269 + libpciaccess, 270 + libpthread-stubs, 264 271 luit, 272 + pixman, 265 273 }: 266 274 267 275 self: with self; { 268 276 269 - inherit pixman; 270 - inherit luit; 277 + inherit 278 + gccmakedep 279 + libpciaccess 280 + luit 281 + pixman 282 + ; 283 + fontalias = font-alias; 284 + fontutil = font-util; 285 + libpthreadstubs = libpthread-stubs; 271 286 272 287 EOF 273 288
-40
pkgs/servers/x11/xorg/overrides.nix
··· 153 153 }; 154 154 }); 155 155 156 - gccmakedep = addMainProgram super.gccmakedep { }; 157 156 iceauth = addMainProgram super.iceauth { }; 158 157 ico = addMainProgram super.ico { }; 159 158 ··· 617 616 "out" 618 617 "dev" 619 618 ]; # mainly to avoid propagation 620 - }); 621 - 622 - libpciaccess = super.libpciaccess.overrideAttrs (attrs: { 623 - nativeBuildInputs = attrs.nativeBuildInputs ++ [ 624 - meson 625 - ninja 626 - ]; 627 - 628 - buildInputs = 629 - attrs.buildInputs 630 - ++ [ zlib ] 631 - ++ lib.optionals stdenv.hostPlatform.isNetBSD [ 632 - netbsd.libarch 633 - netbsd.libpci 634 - ]; 635 - 636 - mesonFlags = [ 637 - (lib.mesonOption "pci-ids" "${hwdata}/share/hwdata") 638 - (lib.mesonEnable "zlib" true) 639 - ]; 640 - 641 - meta = attrs.meta // { 642 - # https://gitlab.freedesktop.org/xorg/lib/libpciaccess/-/blob/master/configure.ac#L108-114 643 - platforms = 644 - lib.fold (os: ps: ps ++ lib.platforms.${os}) 645 - [ ] 646 - [ "cygwin" "freebsd" "linux" "netbsd" "openbsd" "illumos" ]; 647 - badPlatforms = [ 648 - # mandatory shared library 649 - lib.systems.inspect.platformPatterns.isStatic 650 - ]; 651 - }; 652 - }); 653 - 654 - libpthreadstubs = super.libpthreadstubs.overrideAttrs (attrs: { 655 - # only contains a pkgconfig file on linux and windows 656 - meta = attrs.meta // { 657 - platforms = lib.platforms.unix ++ lib.platforms.windows; 658 - }; 659 619 }); 660 620 661 621 setxkbmap = super.setxkbmap.overrideAttrs (attrs: {
-5
pkgs/servers/x11/xorg/tarballs.list
··· 1 - mirror://xorg/individual/xcb/libpthread-stubs-0.5.tar.xz 2 1 mirror://xorg/individual/xcb/xcb-util-0.4.1.tar.xz 3 2 mirror://xorg/individual/xcb/xcb-util-errors-1.0.1.tar.xz 4 3 mirror://xorg/individual/xcb/xcb-util-image-0.4.1.tar.xz ··· 132 131 mirror://xorg/individual/font/font-adobe-utopia-75dpi-1.0.5.tar.xz 133 132 mirror://xorg/individual/font/font-adobe-utopia-100dpi-1.0.5.tar.xz 134 133 mirror://xorg/individual/font/font-adobe-utopia-type1-1.0.5.tar.xz 135 - mirror://xorg/individual/font/font-alias-1.0.5.tar.xz 136 134 mirror://xorg/individual/font/font-arabic-misc-1.0.4.tar.xz 137 135 mirror://xorg/individual/font/font-bh-75dpi-1.0.4.tar.xz 138 136 mirror://xorg/individual/font/font-bh-100dpi-1.0.4.tar.xz ··· 161 159 mirror://xorg/individual/font/font-screen-cyrillic-1.0.5.tar.xz 162 160 mirror://xorg/individual/font/font-sony-misc-1.0.4.tar.xz 163 161 mirror://xorg/individual/font/font-sun-misc-1.0.4.tar.xz 164 - mirror://xorg/individual/font/font-util-1.4.1.tar.xz 165 162 mirror://xorg/individual/font/font-winitzki-cyrillic-1.0.4.tar.xz 166 163 mirror://xorg/individual/font/font-xfree86-type1-1.0.5.tar.xz 167 164 https://gitlab.freedesktop.org/xorg/lib/libAppleWM/-/archive/be972ebc3a97292e7d2b2350eff55ae12df99a42/libAppleWM-be972ebc3a97292e7d2b2350eff55ae12df99a42.tar.bz2 ··· 169 166 mirror://xorg/individual/lib/libfontenc-1.1.8.tar.xz 170 167 mirror://xorg/individual/lib/libFS-1.0.10.tar.xz 171 168 mirror://xorg/individual/lib/libICE-1.1.2.tar.xz 172 - mirror://xorg/individual/lib/libpciaccess-0.18.1.tar.xz 173 169 mirror://xorg/individual/lib/libSM-1.2.5.tar.xz 174 170 mirror://xorg/individual/lib/libWindowsWM-1.0.1.tar.bz2 175 171 mirror://xorg/individual/lib/libX11-1.8.12.tar.xz ··· 211 207 mirror://xorg/individual/proto/xcb-proto-1.17.0.tar.xz 212 208 mirror://xorg/individual/proto/xorgproto-2024.1.tar.xz 213 209 mirror://xorg/individual/util/bdftopcf-1.1.2.tar.xz 214 - mirror://xorg/individual/util/gccmakedep-1.0.4.tar.xz 215 210 mirror://xorg/individual/util/imake-1.0.10.tar.xz 216 211 mirror://xorg/individual/util/lndir-1.0.5.tar.xz 217 212 mirror://xorg/individual/util/makedepend-1.0.9.tar.xz
+5 -1
pkgs/servers/x11/xorg/update.py
··· 1 1 #!/usr/bin/env nix-shell 2 - #!nix-shell --pure --keep NIX_PATH -i python3 -p nix git "python3.withPackages (ps: [ ps. packaging ps.beautifulsoup4 ps.requests ])" 2 + #!nix-shell --pure --keep NIX_PATH -i python3 -p nix git nixfmt-rfc-style "python3.withPackages (ps: [ ps. packaging ps.beautifulsoup4 ps.requests ])" 3 3 4 4 # Usage: Run ./update.py from the directory containing tarballs.list. The script checks for the 5 5 # latest versions of all packages, updates the expressions if any update is found, and commits ··· 92 92 print("Generating updated expr (slow)...") 93 93 94 94 subprocess.run(["./generate-expr-from-tarballs.pl", "tarballs.list"], check=True) 95 + 96 + print("Formatting generated expr...") 97 + 98 + subprocess.run(["nixfmt", "default.nix"], check=True) 95 99 96 100 print("Committing...") 97 101