···11-{ alsa-lib22-, copyDesktopItems11+{ lib22+, stdenv33, fetchFromGitHub44+, SDL255+, SDL2_image66+, SDL2_net77+, alsa-lib88+, copyDesktopItems49, fluidsynth510, glib611, gtest77-, lib1212+, irr1813, libGL914, libGLU1015, libjack2···2520, ninja2621, opusfile2722, pkg-config2828-, irr12929-, SDL23030-, SDL2_image3131-, SDL2_net3223, speexdsp3333-, stdenv3424}:35253636-stdenv.mkDerivation rec {2626+stdenv.mkDerivation (self: {3727 pname = "dosbox-staging";3828 version = "0.80.1";39294030 src = fetchFromGitHub {4141- owner = pname;4242- repo = pname;4343- rev = "v${version}";3131+ owner = "dosbox-staging";3232+ repo = "dosbox-staging";3333+ rev = "v${self.version}";4434 hash = "sha256-I90poBeLSq1c8PXyjrx7/UcbfqFNnnNiXfJdWhLPGMc=";4535 };4636···4949 ];50505151 buildInputs = [5252+ SDL25353+ SDL2_image5454+ SDL2_net5255 alsa-lib5356 fluidsynth5457 glib···6663 libslirp6764 libsndfile6865 opusfile6969- SDL27070- SDL2_image7171- SDL2_net7266 speexdsp7367 ];7468···9191 # original dosbox. Doing it this way allows us to work with frontends and9292 # launchers that expect the binary to be named dosbox, but get out of the9393 # way of vanilla dosbox if the user desires to install that as well.9494- mv $out/bin/dosbox $out/bin/${pname}9494+ mv $out/bin/dosbox $out/bin/${self.pname}9595 makeWrapper $out/bin/dosbox-staging $out/bin/dosbox96969797 # Create a symlink to dosbox manual instead of merely copying it9898 pushd $out/share/man/man1/9999- mv dosbox.1.gz ${pname}.1.gz100100- ln -s ${pname}.1.gz dosbox.1.gz9999+ mv dosbox.1.gz ${self.pname}.1.gz100100+ ln -s ${self.pname}.1.gz dosbox.1.gz101101 popd102102 '';103103104104- meta = with lib; {104104+ meta = {105105 homepage = "https://dosbox-staging.github.io/";106106 description = "A modernized DOS emulator";107107 longDescription = ''···110110 existing DOSBox codebase while leveraging modern development tools and111111 practices.112112 '';113113- license = licenses.gpl2Plus;114114- maintainers = with maintainers; [ joshuafern AndersonTorres ];115115- platforms = platforms.unix;113113+ changelog = "https://github.com/dosbox-staging/dosbox-staging/releases/tag/v${self.version}";114114+ license = lib.licenses.gpl2Plus;115115+ maintainers = [116116+ lib.maintainers.joshuafern117117+ lib.maintainers.AndersonTorres118118+ ];119119+ platforms = lib.platforms.unix;116120 priority = 101;117121 };118118-}119119-# TODO: report upstream about not finding SDL2_net122122+})123123+# TODO: report upstream about not finding extra SDL2 libraries
+1-1
pkgs/applications/graphics/eyedropper/default.nix
···5050 ];51515252 meta = with lib; {5353- description = "An easy-to-use color picker and editor";5353+ description = "A powerful color picker and formatter";5454 homepage = "https://github.com/FineFindus/eyedropper";5555 license = licenses.gpl3Plus;5656 platforms = platforms.linux;
+2-2
pkgs/applications/graphics/jpegoptim/default.nix
···11{ lib, stdenv, fetchFromGitHub, libjpeg }:2233stdenv.mkDerivation rec {44- version = "1.5.1";44+ version = "1.5.2";55 pname = "jpegoptim";6677 src = fetchFromGitHub {88 owner = "tjko";99 repo = pname;1010 rev = "v${version}";1111- sha256 = "sha256-QPipwBk+BS/u3YxB8ACeFXQSuoW1aynEyG3tEMrhcaE=";1111+ sha256 = "sha256-PROQvOqsis8we58OOZ/kuY+L/CoV7XfnY9wvrpsTJu8=";1212 };13131414 # There are no checks, it seems.
···10101111If the build broke as a result of a package update, try those solutions in order:12121313-- search the [sage trac](https://trac.sagemath.org/) for keywords like "Upgrade <package>". Maybe somebody has already proposed a patch that fixes the issue. You can then add a `fetchpatch` to `sage-src.nix`.1313+- search the [sage GitHub repo](https://github.com/sagemath/sage) for keywords like "Upgrade <package>". Maybe somebody has already proposed a patch that fixes the issue. You can then add a `fetchpatch` to `sage-src.nix`.14141515- check if [gentoo](https://github.com/cschwan/sage-on-gentoo/tree/master/sci-mathematics/sage), [debian](https://salsa.debian.org/science-team/sagemath/tree/master/debian) or [arch linux](https://git.archlinux.org/svntogit/community.git/tree/trunk?h=packages/sagemath) already solved the problem. You can then again add a `fetchpatch` to `sage-src.nix`. If applicable you should also [propose the patch upstream](#proposing-a-sage-patch).1616···1919```2020[user@localhost ~]$ git clone https://github.com/sagemath/sage.git2121[user@localhost ~]$ cd sage2222-[user@localhost sage]$ git checkout 8.2 # substitute the relevant version here2222+[user@localhost sage]$ git checkout 9.8 # substitute the relevant version here2323```24242525Then make the needed changes and generate a patch with `git diff`:···2929[user@localhost ~]$ git diff -u > /path/to/nixpkgs/pkgs/applications/science/math/sage/patches/name-of-patch.patch3030```31313232-Now just add the patch to `sage-src.nix` and test your changes. If they fix the problem, [propose them upstream](#proposing-a-sage-patch) and add a link to the trac ticket.3232+Now just add the patch to `sage-src.nix` and test your changes. If they fix the problem, submit a PR upstream (refer to sages [Developer's Guide](http://doc.sagemath.org/html/en/developer/index.html) for further details).33333434- pin the package version in `default.nix` and add a note that explains why that is necessary.3535-3636-3737-## Proposing a sage patch3838-3939-You can [login the sage trac using GitHub](https://trac.sagemath.org/login). Your username will then be `gh-<your-github-name>`. The only other way is to request a trac account via email. After that refer to [git the hard way](http://doc.sagemath.org/html/en/developer/manual_git.html#chapter-manual-git) in the sage documentation. The "easy way" requires a non-GitHub account (requested via email) and a special tool. The "hard way" is really not all that hard if you're a bit familiar with git.4040-4141-Here's the gist, assuming you want to use ssh key authentication. First, [add your public ssh key](https://trac.sagemath.org/prefs/sshkeys). Then:4242-4343-```4444-[user@localhost ~]$ git clone https://github.com/sagemath/sage.git4545-[user@localhost ~]$ cd sage4646-[user@localhost sage]$ git remote add trac git@trac.sagemath.org:sage.git -t master4747-[user@localhost sage]$ git checkout -b u/gh-<your-github-username>/<your-branch-name> develop4848-[user@localhost sage]$ <make changes>4949-[user@localhost sage]$ git add .5050-[user@localhost sage]$ git commit5151-[user@localhost sage]$ git show # review your changes5252-[user@localhost sage]$ git push --set-upstream trac u/gh-<your-github-username>/<your-branch-name>5353-```5454-5555-You now created a branch on the trac server (you *must* follow the naming scheme as you only have push access to branches with the `u/gh-<your-github-username>/` prefix).5656-Now you can [create a new trac ticket](https://trac.sagemath.org/newticket).5757-- Write a description of the change5858-- set the type and component as appropriate5959-- write your real name in the "Authors" field6060-- write `u/gh-<your-github-username>/<your-branch-name>` in the "Branch" field6161-- click "Create ticket"6262-- click "Modify" on the top right of your ticket (for some reason you can only change the ticket status after you have created it)6363-- set the ticket status from `new` to `needs_review`6464-- click "Save changes"6565-6666-Refer to sages [Developer's Guide](http://doc.sagemath.org/html/en/developer/index.html) for further details.67356836## I want to update sage6937···42744375## Well, that didn't help!44764545-If you couldn't fix the problem, create a GitHub issue on the nixpkgs repo and ping @timokau (or whoever is listed in the `maintainers` list of the sage package).7777+If you couldn't fix the problem, create a GitHub issue on the nixpkgs repo and ping the sage maintainers (as listed in the sage package).4678Describe what you did and why it didn't work. Afterwards it would be great if you help the next guy out and improve this documentation!
···11+{ lib22+, stdenv33+, fetchurl44+}:55+66+stdenv.mkDerivation rec {77+ pname = "gnu-cim";88+ version = "5.1";99+1010+ outputs = ["out" "lib" "man" "info"];1111+1212+ src = fetchurl {1313+ url = "mirror://gnu/cim/cim-${version}.tar.gz";1414+ hash = "sha256-uQcXtm7EAFA73WnlN+i38+ip0QbDupoIoErlc2mgaak=";1515+ };1616+1717+ postPatch = ''1818+ for fname in lib/{simulation,simset}.c; do1919+ substituteInPlace "$fname" \2020+ --replace \2121+ '#include "../../lib/cim.h"' \2222+ '#include "../lib/cim.h"'2323+ done2424+ '';2525+2626+ CFLAGS = lib.optionalString stdenv.cc.isClang "-Wno-return-type";2727+2828+ doCheck = true;2929+3030+ meta = with lib; {3131+ description = "A GNU compiler for the programming language Simula";3232+ longDescription = ''3333+ GNU Cim is a compiler for the programming language Simula.3434+ It offers a class concept, separate compilation with full type checking,3535+ interface to external C routines, an application package for process3636+ simulation and a coroutine concept. Commonly used with the Demos for3737+ discrete event modelling.3838+ '';3939+ homepage = "https://www.gnu.org/software/cim/";4040+ license = licenses.gpl2;4141+ platforms = platforms.all;4242+ badPlatforms = [ "aarch64-darwin" ];4343+ maintainers = with maintainers; [ pbsds ];4444+ };4545+}
+1
pkgs/development/compilers/zig/0.10.nix
···4747 cmakeFlags = [4848 # file RPATH_CHANGE could not write new RPATH4949 "-DCMAKE_SKIP_BUILD_RPATH=ON"5050+ "-DZIG_TARGET_MCPU=baseline"5051 ];51525253 doCheck = true;
···13131414buildPythonPackage rec {1515 pname = "pyipma";1616- version = "3.0.5";1616+ version = "3.0.6";1717 format = "setuptools";18181919 disabled = pythonOlder "3.7";···2222 owner = "dgomes";2323 repo = pname;2424 rev = "refs/tags/${version}";2525- hash = "sha256-KyXHNkP/XJlTdVFdP91x3udMquQju8G2VUHLPvZymtk=";2525+ hash = "sha256-BwW8gUFeinZ9Z/v1orJKRTqt2WxVMD+hQj+A3gU1LDI=";2626 };27272828 propagatedBuildInputs = [···5252 meta = with lib; {5353 description = "Library to retrieve information from Instituto Português do Mar e Atmosfera";5454 homepage = "https://github.com/dgomes/pyipma";5555+ changelog = "https://github.com/dgomes/pyipma/releases/tag/${version}";5556 license = with licenses; [ mit ];5657 maintainers = with maintainers; [ fab ];5758 };
···380380 docker_compose = throw "'docker_compose' has been renamed to/replaced by 'docker-compose'"; # Converted to throw 2022-02-22381381 docker-compose_2 = throw "'docker-compose_2' has been renamed to 'docker-compose'"; # Added 2022-06-05382382 docker-edge = throw "'docker-edge' has been removed, it was an alias for 'docker'"; # Added 2022-06-05383383+ dolphin-emu-beta = dolphin-emu; # Added 2023-02-11383384 dolphinEmu = dolphin-emu; # Added 2021-11-10384385 dolphinEmuMaster = dolphin-emu-beta; # Added 2021-11-10385386 dot-http = throw "'dot-http' has been removed: abandoned by upstream. Use hurl instead."; # Added 2023-01-16
···156156 pycallgraph = throw "pycallgraph has been removed, it was using setuptools 2to3 translation feature, which has been removed in setuptools 58"; # added 2022-01-18157157 pychef = throw "pychef has been removed because it's been archived upstream and abandoned since 2017."; # added 2022-11-14158158 pycryptodome-test-vectors = throw "pycryptodome-test-vectors has been removed because it is an internal package to pycryptodome"; # added 2022-05-28159159+ pyflunearyou = pyoutbreaksnearme; # added 2023-02-11159160 pyialarmxr = pyialarmxr-homeassistant; # added 2022-06-07160161 pyialarmxr-homeassistant = throw "The package was removed together with the component support in home-assistant 2022.7.0"; # added 2022-07-07161162 PyICU = pyicu; # Added 2022-12-22