From c047171df6b1790d0a8776099cfe55059c8ac4e2 Mon Sep 17 00:00:00 2001 From: Samuel Ainsworth Date: Tue, 10 May 2022 21:57:23 +0000 Subject: [PATCH 01/19] python39Packages.nbclient.passthru.tests.check: fix tests --- .../python-modules/nbclient/default.nix | 35 ++++++++++++------- 1 file changed, 23 insertions(+), 12 deletions(-) diff --git a/pkgs/development/python-modules/nbclient/default.nix b/pkgs/development/python-modules/nbclient/default.nix index 7311384229aa..84fe03be605b 100644 --- a/pkgs/development/python-modules/nbclient/default.nix +++ b/pkgs/development/python-modules/nbclient/default.nix @@ -1,16 +1,18 @@ -{ lib +{ async_generator , buildPythonPackage -, fetchPypi -, pythonOlder -, async_generator -, traitlets +, fetchFromGitHub +, ipykernel +, ipywidgets +, jupyter-client +, lib +, nbconvert , nbformat , nest-asyncio -, jupyter-client +, pytest-asyncio , pytestCheckHook +, pythonOlder +, traitlets , xmltodict -, nbconvert -, ipywidgets }: let nbclient = buildPythonPackage rec { @@ -20,9 +22,11 @@ let nbclient = buildPythonPackage rec { disabled = pythonOlder "3.7"; - src = fetchPypi { - inherit pname version; - hash = "sha256-uAcm/B+4mg6Pi+HnfijQAmsejtkLwUPIoMdiLk+M3Z4="; + src = fetchFromGitHub { + owner = "jupyter"; + repo = pname; + rev = "refs/tags/v${version}"; + hash = "sha256-ofyJNJeNkXbZ9qHLTuzJ13PgEXU9lDQ9NkT4nG/R8Ic="; }; propagatedBuildInputs = [ async_generator traitlets nbformat nest-asyncio jupyter-client ]; @@ -30,7 +34,14 @@ let nbclient = buildPythonPackage rec { # circular dependencies if enabled by default doCheck = false; - checkInputs = [ pytestCheckHook xmltodict nbconvert ipywidgets ]; + checkInputs = [ + ipykernel + ipywidgets + nbconvert + pytest-asyncio + pytestCheckHook + xmltodict + ]; preCheck = '' export HOME=$(mktemp -d) From 19dd92369e27197002e8c0b03ff3538dfd843276 Mon Sep 17 00:00:00 2001 From: Artturin Date: Thu, 26 May 2022 04:18:43 +0300 Subject: [PATCH 02/19] zsh: 5.8.1 -> 5.9 && add artturin to maintainers --- pkgs/shells/zsh/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/shells/zsh/default.nix b/pkgs/shells/zsh/default.nix index f09a0672f19a..7a584e29f5dc 100644 --- a/pkgs/shells/zsh/default.nix +++ b/pkgs/shells/zsh/default.nix @@ -13,7 +13,7 @@ , buildPackages }: let - version = "5.8.1"; + version = "5.9"; in stdenv.mkDerivation { @@ -22,7 +22,7 @@ stdenv.mkDerivation { src = fetchurl { url = "mirror://sourceforge/zsh/zsh-${version}.tar.xz"; - sha256 = "sha256-tpc1ILrOYAtHeSACabHl155fUFrElSBYwRrVu/DdmRk="; + sha256 = "sha256-m40ezt1bXoH78ZGOh2dSp92UjgXBoNuhCrhjhC1FrNU="; }; patches = [ @@ -97,7 +97,7 @@ EOF ''; license = "MIT-like"; homepage = "https://www.zsh.org/"; - maintainers = with lib.maintainers; [ pSub ]; + maintainers = with lib.maintainers; [ pSub artturin ]; platforms = lib.platforms.unix; }; From 106bfcaf8a916650f01df5498020e273905c2172 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20B=C3=B6hme?= Date: Fri, 27 May 2022 17:17:16 +0200 Subject: [PATCH 03/19] nixos/openconnect: add autoStart option --- nixos/modules/services/networking/openconnect.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/nixos/modules/services/networking/openconnect.nix b/nixos/modules/services/networking/openconnect.nix index de4b505130eb..bc873b2198bc 100644 --- a/nixos/modules/services/networking/openconnect.nix +++ b/nixos/modules/services/networking/openconnect.nix @@ -9,6 +9,12 @@ let }; interfaceOptions = { options = { + autoStart = mkOption { + default = true; + description = "Whether this VPN connection should be started automatically."; + type = types.bool; + }; + gateway = mkOption { description = "Gateway server to connect to."; example = "gateway.example.com"; @@ -95,7 +101,7 @@ let description = "OpenConnect Interface - ${name}"; requires = [ "network-online.target" ]; after = [ "network.target" "network-online.target" ]; - wantedBy = [ "multi-user.target" ]; + wantedBy = optional icfg.autoStart "multi-user.target"; serviceConfig = { Type = "simple"; From 4729707e40d212f9b794c9ca49e34c1efdc01429 Mon Sep 17 00:00:00 2001 From: Jade Lovelace Date: Tue, 31 May 2022 00:09:57 -0700 Subject: [PATCH 04/19] nix-doc: 0.5.3->0.5.4 to support nix 2.9.0 Related: https://github.com/NixOS/nixpkgs/pull/175541 Thanks Artturin for the notification. --- pkgs/tools/package-management/nix-doc/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/package-management/nix-doc/default.nix b/pkgs/tools/package-management/nix-doc/default.nix index 882275eca44d..defbcdf6e1bb 100644 --- a/pkgs/tools/package-management/nix-doc/default.nix +++ b/pkgs/tools/package-management/nix-doc/default.nix @@ -2,13 +2,13 @@ rustPlatform.buildRustPackage rec { pname = "nix-doc"; - version = "0.5.3"; + version = "0.5.4"; src = fetchFromGitHub { rev = "v${version}"; owner = "lf-"; repo = "nix-doc"; - sha256 = "sha256-H8FNOOjHMUW2wIUfoDhS3eH2AgxxD0LAuX4J9SJyJhg="; + sha256 = "sha256-bijcLIRBfoqirwz98Q3uQjHXSOaaqZECfav4TUvCuxg="; }; doCheck = true; @@ -16,7 +16,7 @@ rustPlatform.buildRustPackage rec { nativeBuildInputs = [ pkg-config ]; - cargoSha256 = "sha256-BTMFoZ8HqbgUXkVyydOkcQZ10TLE8KsGRdt+xhBKJVc="; + cargoSha256 = "sha256-LpcAMsBeNa2GDGN7+9rTtkQluPfHSnAxanRtDtRahzc="; meta = with lib; { description = "An interactive Nix documentation tool"; From e0903ce6aaea2fa1f783ed658f37c2e106b47510 Mon Sep 17 00:00:00 2001 From: Francesco Gazzetta Date: Tue, 31 May 2022 15:55:53 +0200 Subject: [PATCH 05/19] gnome-obfuscate: 0.0.4 -> 0.0.7 --- pkgs/applications/graphics/gnome-obfuscate/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/applications/graphics/gnome-obfuscate/default.nix b/pkgs/applications/graphics/gnome-obfuscate/default.nix index 8cb4208e2672..1fca4d2004e2 100644 --- a/pkgs/applications/graphics/gnome-obfuscate/default.nix +++ b/pkgs/applications/graphics/gnome-obfuscate/default.nix @@ -8,7 +8,7 @@ , pkg-config , python3 , rustPlatform -, wrapGAppsHook +, wrapGAppsHook4 , appstream-glib , desktop-file-utils @@ -19,20 +19,20 @@ stdenv.mkDerivation rec { pname = "gnome-obfuscate"; - version = "0.0.4"; + version = "0.0.7"; src = fetchFromGitLab { domain = "gitlab.gnome.org"; owner = "World"; repo = "Obfuscate"; rev = version; - sha256 = "sha256-P8Y2Eizn1BMZXuFjGMXF/3oAUzI8ZNTrnbLyU+V6uk4="; + sha256 = "sha256-jEMOg2yHi6K57XhA/7hkwwvedmikoB8pGV3ka+jixq8="; }; cargoDeps = rustPlatform.fetchCargoTarball { inherit src; name = "${pname}-${version}"; - sha256 = "sha256-5MzWz5NH2sViIfaP8xOQLreEal5TYkji11VaUgieT3U="; + sha256 = "sha256-P04BeidLXouPLzT/vsa4VC5AOENF0W4gqXqzdmRFhmE="; }; nativeBuildInputs = [ @@ -45,7 +45,7 @@ stdenv.mkDerivation rec { rustPlatform.cargoSetupHook rustPlatform.rust.cargo rustPlatform.rust.rustc - wrapGAppsHook + wrapGAppsHook4 ]; buildInputs = [ From e87f16b25d3e3792f1f58ab491360c2666399728 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 31 May 2022 15:28:36 +0000 Subject: [PATCH 06/19] python310Packages.sphinxcontrib-spelling: 7.4.1 -> 7.5.0 --- .../python-modules/sphinxcontrib-spelling/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/sphinxcontrib-spelling/default.nix b/pkgs/development/python-modules/sphinxcontrib-spelling/default.nix index 80f988c477a8..0b5e64fb3800 100644 --- a/pkgs/development/python-modules/sphinxcontrib-spelling/default.nix +++ b/pkgs/development/python-modules/sphinxcontrib-spelling/default.nix @@ -10,14 +10,14 @@ buildPythonPackage rec { pname = "sphinxcontrib-spelling"; - version = "7.4.1"; + version = "7.5.0"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-OpbyKqxq9JQHOvrLmI2U2NfCtgJ7IFA6jyDa4ysQw74="; + hash = "sha256-2SvcHWPzYbbgoXG51oUYEBdFSFMX8VhhUB44fxt49qs="; }; nativeBuildInputs = [ From c8474bca5455d1a34fa99fbba497a3f4a488cd8e Mon Sep 17 00:00:00 2001 From: Artturin Date: Tue, 31 May 2022 19:55:19 +0300 Subject: [PATCH 07/19] zsh: remove versioned binary fedora, openSUSE, and debian do it too https://src.fedoraproject.org/rpms/zsh/blob/rawhide/f/zsh.spec#_108 https://salsa.debian.org/debian/zsh/-/blob/debian/debian/rules#L142 --- pkgs/shells/zsh/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/shells/zsh/default.nix b/pkgs/shells/zsh/default.nix index 7a584e29f5dc..e5967ac1f78b 100644 --- a/pkgs/shells/zsh/default.nix +++ b/pkgs/shells/zsh/default.nix @@ -82,6 +82,8 @@ EOF ${lib.getBin buildPackages.zsh}/bin/zsh -c "zcompile $out/etc/zprofile" ''} mv $out/etc/zprofile $out/etc/zprofile_zwc_is_used + + rm $out/bin/zsh-${version} ''; # XXX: patch zsh to take zwc if newer _or equal_ From 2f18afa90c84f9a8201f944a03085a8a3901f658 Mon Sep 17 00:00:00 2001 From: FedX Date: Tue, 31 May 2022 18:05:27 -0600 Subject: [PATCH 08/19] system76 firmware: 1.0.31 -> 1.0.39 (#175640) --- .../linux/firmware/system76-firmware/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/os-specific/linux/firmware/system76-firmware/default.nix b/pkgs/os-specific/linux/firmware/system76-firmware/default.nix index 5ec2bd70fdb6..a019a6f79321 100644 --- a/pkgs/os-specific/linux/firmware/system76-firmware/default.nix +++ b/pkgs/os-specific/linux/firmware/system76-firmware/default.nix @@ -2,13 +2,13 @@ rustPlatform.buildRustPackage rec { pname = "system76-firmware"; # Check Makefile when updating, make sure postInstall matches make install - version = "1.0.32"; + version = "1.0.39"; src = fetchFromGitHub { owner = "pop-os"; repo = pname; rev = version; - sha256 = "sha256-EV7byqfoz0sAIkf/hgZh+m7D2+54DEnE4td4CTX6c4s="; + sha256 = "sha256-nPHBL73hmvW9z5SQjmfu+ozMXxUEajNQxNtE/V9QwZ0="; }; nativeBuildInputs = [ pkg-config makeWrapper ]; @@ -17,7 +17,7 @@ rustPlatform.buildRustPackage rec { cargoBuildFlags = [ "--workspace" ]; - cargoSha256 = "sha256-/bf5JQgyFN8TH7o2TWHX5sv/NkxBLJ495iVW8c9Vqis="; + cargoSha256 = "sha256-BrzicLj7FbUqRG1BgQIRqh801tRQpRZkHSiX3ekAYqc="; # Purposefully don't install systemd unit file, that's for NixOS postInstall = '' From 21443080ad69b4d0b43258abf235bd332ebd4141 Mon Sep 17 00:00:00 2001 From: StephenWithPH Date: Tue, 31 May 2022 18:32:45 -0700 Subject: [PATCH 09/19] GNUcash: 4.9 -> 4.10 (#172445) * GNUcash: 4.9 -> 4.10 --- pkgs/applications/office/gnucash/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/office/gnucash/default.nix b/pkgs/applications/office/gnucash/default.nix index a9d532a27c24..a9effc7c3eba 100644 --- a/pkgs/applications/office/gnucash/default.nix +++ b/pkgs/applications/office/gnucash/default.nix @@ -26,12 +26,12 @@ stdenv.mkDerivation rec { pname = "gnucash"; - version = "4.9"; + version = "4.10"; # raw source code doesn't work out of box; fetchFromGitHub not usable src = fetchurl { url = "https://github.com/Gnucash/gnucash/releases/download/${version}/${pname}-${version}.tar.bz2"; - hash = "sha256-mlUcMMG3EhmfwiJ6EJr7mE177xjhOBcLvHIlxsH6ty0="; + hash = "sha256-f9S7kZ9uOTiKtHv6Ea9vo/Wem5vWlcfU6SCK+Fy5yTs="; }; nativeBuildInputs = [ From 21c2e9d069e22da92c4f1e144eeb763131aacdd3 Mon Sep 17 00:00:00 2001 From: Zhu Zihao Date: Wed, 1 Jun 2022 10:24:15 +0800 Subject: [PATCH 10/19] gnustep.base: Remove duplicated giflib input --- pkgs/desktops/gnustep/base/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/desktops/gnustep/base/default.nix b/pkgs/desktops/gnustep/base/default.nix index 2c28b3a0bb60..7c6127a830b4 100644 --- a/pkgs/desktops/gnustep/base/default.nix +++ b/pkgs/desktops/gnustep/base/default.nix @@ -25,7 +25,7 @@ gsmakeDerivation rec { cups gmp gnutls libffi binutils-unwrapped - libjpeg libtiff libpng giflib giflib + libjpeg libtiff libpng giflib libxml2 libxslt libiconv libobjc libgcrypt icu From fca4f1a5116a55b3f6ac95c6cfb888d3edd1aa83 Mon Sep 17 00:00:00 2001 From: Bernardo Meurer Date: Tue, 31 May 2022 19:40:58 -0700 Subject: [PATCH 11/19] localtime: unstable-2021-11-23 -> 2022-02-20 --- pkgs/tools/system/localtime/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/tools/system/localtime/default.nix b/pkgs/tools/system/localtime/default.nix index 943651fa2497..b1f05cb18519 100644 --- a/pkgs/tools/system/localtime/default.nix +++ b/pkgs/tools/system/localtime/default.nix @@ -7,16 +7,16 @@ buildGoModule { pname = "localtime"; - version = "unstable-2021-11-23"; + version = "unstable-2022-02-20"; src = fetchFromGitHub { owner = "Stebalien"; repo = "localtime"; - rev = "3e5d6cd64444b2164e87cea03448bfb8eefd6ccd"; - sha256 = "sha256-6uxxPq6abtRqM/R2Fw46ynP9PEkHggTSUymLYlQXQRU="; + rev = "c1e10aa4141ed2bb01986b48e0e942e618993c06"; + hash = "sha256-bPQ1c2KUTkxx2g7IvLmrKgJKfRHTLlTXLR/QQ0O4CrI="; }; - vendorSha256 = "sha256-sf3sL6aO5jSytT2NtBkA3lhg77RIzbYkSC4fkH+cwwk="; + vendorSha256 = "sha256-12JnEU41sp9qRP07p502EYogveE+aNdfmLwlDRbIdxU="; postPatch = '' demoPath="${geoclue2-with-demo-agent}/libexec/geoclue-2.0/demos/agent" From affd0fc3e4b3f37c389864d949f8a924f02ec495 Mon Sep 17 00:00:00 2001 From: Charlotte Van Petegem Date: Sat, 28 May 2022 13:23:07 +0200 Subject: [PATCH 12/19] python3Packages.pywlroots: 0.15.14 -> 0.15.15 --- pkgs/development/python-modules/pywlroots/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pywlroots/default.nix b/pkgs/development/python-modules/pywlroots/default.nix index 410e52372652..f9fdcd9e7c79 100644 --- a/pkgs/development/python-modules/pywlroots/default.nix +++ b/pkgs/development/python-modules/pywlroots/default.nix @@ -19,14 +19,14 @@ buildPythonPackage rec { pname = "pywlroots"; - version = "0.15.14"; + version = "0.15.15"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - sha256 = "z0PVjVzmAb5cgBdXWMxOdsy0VMMkmewHZaPNBYivXSA="; + sha256 = "Xg1Bd9Q6XV/+vuJH9Huiq2+igdAE/RS8yTvLeJz1l34="; }; nativeBuildInputs = [ pkg-config ]; From 0badd351d138763d48425e2d2efa07b8481408e4 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 1 Jun 2022 04:33:59 +0000 Subject: [PATCH 13/19] python310Packages.peaqevcore: 0.1.4 -> 0.2.0 --- pkgs/development/python-modules/peaqevcore/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/peaqevcore/default.nix b/pkgs/development/python-modules/peaqevcore/default.nix index 9049d7b53925..6f89cd615743 100644 --- a/pkgs/development/python-modules/peaqevcore/default.nix +++ b/pkgs/development/python-modules/peaqevcore/default.nix @@ -6,14 +6,14 @@ buildPythonPackage rec { pname = "peaqevcore"; - version = "0.1.4"; + version = "0.2.0"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-+L730I30dN+d6oc5HWq578B0Io5j5CjAy3SuIGGjOR8="; + hash = "sha256-M7jBwpo9yMggd81xiWH9SSJ1axGXiC5uQo/jnRcQ3/4="; }; postPatch = '' From da7dfd94c008dd40ca09bdddca60edf19911f85a Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 1 Jun 2022 04:53:33 +0000 Subject: [PATCH 14/19] python310Packages.hahomematic: 1.6.2 -> 1.7.0 --- pkgs/development/python-modules/hahomematic/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/hahomematic/default.nix b/pkgs/development/python-modules/hahomematic/default.nix index e38f98bcad1a..1f1c0ec7a8af 100644 --- a/pkgs/development/python-modules/hahomematic/default.nix +++ b/pkgs/development/python-modules/hahomematic/default.nix @@ -14,7 +14,7 @@ buildPythonPackage rec { pname = "hahomematic"; - version = "1.6.2"; + version = "1.7.0"; format = "pyproject"; disabled = pythonOlder "3.9"; @@ -23,7 +23,7 @@ buildPythonPackage rec { owner = "danielperna84"; repo = pname; rev = "refs/tags/${version}"; - sha256 = "sha256-x7TaSpmNd0YUgh81Favpo6qZgRsVeIyvvFfH3UCCqsQ="; + sha256 = "sha256-Gu1yMLGkXmARNPX1Erjj1Py4APYAlQ4SI4PyG0QbYeY="; }; propagatedBuildInputs = [ From ee33bd5a79d0f1bb1baff6dc51d199490f1ad5a3 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 1 Jun 2022 04:58:43 +0000 Subject: [PATCH 15/19] python310Packages.pex: 2.1.91 -> 2.1.92 --- pkgs/development/python-modules/pex/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pex/default.nix b/pkgs/development/python-modules/pex/default.nix index ac45f9eb07ed..307e0e411a00 100644 --- a/pkgs/development/python-modules/pex/default.nix +++ b/pkgs/development/python-modules/pex/default.nix @@ -7,14 +7,14 @@ buildPythonPackage rec { pname = "pex"; - version = "2.1.91"; + version = "2.1.92"; format = "flit"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-nlEdCdFxF/maOZtpUwNVExnmqUhdAfzlbrEMxAHvUxE="; + hash = "sha256-LEHbS6rSKQl1APWYjNS8y1edtXDRqSuhfftcuM67K44="; }; nativeBuildInputs = [ From 5feacad6948061f30853107421827d3a2f1ebd06 Mon Sep 17 00:00:00 2001 From: superherointj <5861043+superherointj@users.noreply.github.com> Date: Tue, 31 May 2022 12:17:46 -0300 Subject: [PATCH 16/19] ocamlPackages.tsdl: 0.9.7 -> 0.9.8 --- pkgs/development/ocaml-modules/tsdl/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/ocaml-modules/tsdl/default.nix b/pkgs/development/ocaml-modules/tsdl/default.nix index 44cc2076fbb4..1b248dd18603 100644 --- a/pkgs/development/ocaml-modules/tsdl/default.nix +++ b/pkgs/development/ocaml-modules/tsdl/default.nix @@ -6,7 +6,7 @@ else let pname = "tsdl"; - version = "0.9.7"; + version = "0.9.8"; webpage = "https://erratique.ch/software/${pname}"; in @@ -15,7 +15,7 @@ stdenv.mkDerivation { src = fetchurl { url = "${webpage}/releases/${pname}-${version}.tbz"; - sha256 = "1zwv0ixkigh1gzk5n49rwvz2f2m62jdkkqg40j7dclg4gri7691f"; + sha256 = "sha256-zjXz2++42FHmbE0nIDeryNQeX+avGwh9rwAs8O0pZYU="; }; nativeBuildInputs = [ pkg-config ocaml findlib ocamlbuild topkg ]; From b161742e8667b4c131bd04952061d1d22a57566f Mon Sep 17 00:00:00 2001 From: superherointj <5861043+superherointj@users.noreply.github.com> Date: Tue, 31 May 2022 14:26:46 -0300 Subject: [PATCH 17/19] ocamlPackages.tsdl-image: init 0.3.2 --- .../ocaml-modules/tsdl-image/default.nix | 37 +++++++++++++++++++ pkgs/top-level/ocaml-packages.nix | 2 + 2 files changed, 39 insertions(+) create mode 100644 pkgs/development/ocaml-modules/tsdl-image/default.nix diff --git a/pkgs/development/ocaml-modules/tsdl-image/default.nix b/pkgs/development/ocaml-modules/tsdl-image/default.nix new file mode 100644 index 000000000000..a8a2e2d38d62 --- /dev/null +++ b/pkgs/development/ocaml-modules/tsdl-image/default.nix @@ -0,0 +1,37 @@ +{ buildDunePackage +, dune-configurator +, fetchFromGitHub +, lib +, SDL2 +, SDL2_image +, tsdl +}: + +buildDunePackage rec { + pname = "tsdl-image"; + version = "0.3.2"; + + src = fetchFromGitHub { + owner = "sanette"; + repo = pname; + rev = version; + sha256 = "sha256-u6VYAwq+2oLn2Kw1+KQRVPswAqeKDSAaPfGLPrzn30s="; + }; + + buildInputs = [ + dune-configurator + ]; + + propagatedBuildInputs = [ + SDL2 + SDL2_image + tsdl + ]; + + meta = with lib; { + description = "OCaml SDL2_image bindings to go with Tsdl"; + homepage = "https://github.com/sanette/tsdl-image"; + license = licenses.bsd3; + maintainers = with maintainers; [ superherointj ]; + }; +} diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix index 53ede51c4ccf..70f235bfae83 100644 --- a/pkgs/top-level/ocaml-packages.nix +++ b/pkgs/top-level/ocaml-packages.nix @@ -1367,6 +1367,8 @@ let tsdl = callPackage ../development/ocaml-modules/tsdl { }; + tsdl-image = callPackage ../development/ocaml-modules/tsdl-image { }; + twt = callPackage ../development/ocaml-modules/twt { }; uchar = callPackage ../development/ocaml-modules/uchar { }; From 174d0fbddaaa997c15cde4164599b51c457d3199 Mon Sep 17 00:00:00 2001 From: superherointj <5861043+superherointj@users.noreply.github.com> Date: Tue, 31 May 2022 15:55:12 -0300 Subject: [PATCH 18/19] ocamlPackages.tsdl-ttf: init 0.3.2 --- .../ocaml-modules/tsdl-ttf/default.nix | 37 +++++++++++++++++++ pkgs/top-level/ocaml-packages.nix | 2 + 2 files changed, 39 insertions(+) create mode 100644 pkgs/development/ocaml-modules/tsdl-ttf/default.nix diff --git a/pkgs/development/ocaml-modules/tsdl-ttf/default.nix b/pkgs/development/ocaml-modules/tsdl-ttf/default.nix new file mode 100644 index 000000000000..c8445bf4337c --- /dev/null +++ b/pkgs/development/ocaml-modules/tsdl-ttf/default.nix @@ -0,0 +1,37 @@ +{ buildDunePackage +, dune-configurator +, fetchFromGitHub +, lib +, SDL2 +, SDL2_ttf +, tsdl +}: + +buildDunePackage rec { + pname = "tsdl-ttf"; + version = "0.3.2"; + + src = fetchFromGitHub { + owner = "sanette"; + repo = pname; + rev = version; + sha256 = "sha256-COBLF9K8thRROJJGeg4wxqrjB3aBa4CGYkf8HdAQ2o0"; + }; + + buildInputs = [ + dune-configurator + ]; + + propagatedBuildInputs = [ + SDL2 + SDL2_ttf + tsdl + ]; + + meta = with lib; { + description = "SDL2_ttf bindings for Ocaml with Tsdl"; + homepage = "https://github.com/sanette/tsdl-ttf"; + license = licenses.bsd3; + maintainers = with maintainers; [ superherointj ]; + }; +} diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix index 70f235bfae83..2535d0f92460 100644 --- a/pkgs/top-level/ocaml-packages.nix +++ b/pkgs/top-level/ocaml-packages.nix @@ -1369,6 +1369,8 @@ let tsdl-image = callPackage ../development/ocaml-modules/tsdl-image { }; + tsdl-ttf = callPackage ../development/ocaml-modules/tsdl-ttf { }; + twt = callPackage ../development/ocaml-modules/twt { }; uchar = callPackage ../development/ocaml-modules/uchar { }; From 13785fcc8fe1fa281979c3e378ae3923bb3170e6 Mon Sep 17 00:00:00 2001 From: superherointj <5861043+superherointj@users.noreply.github.com> Date: Tue, 31 May 2022 16:06:44 -0300 Subject: [PATCH 19/19] ocamlPackages.tsdl-mixer: init 0.3.2 --- .../ocaml-modules/tsdl-mixer/default.nix | 37 +++++++++++++++++++ pkgs/top-level/ocaml-packages.nix | 2 + 2 files changed, 39 insertions(+) create mode 100644 pkgs/development/ocaml-modules/tsdl-mixer/default.nix diff --git a/pkgs/development/ocaml-modules/tsdl-mixer/default.nix b/pkgs/development/ocaml-modules/tsdl-mixer/default.nix new file mode 100644 index 000000000000..4a59025f9d88 --- /dev/null +++ b/pkgs/development/ocaml-modules/tsdl-mixer/default.nix @@ -0,0 +1,37 @@ +{ buildDunePackage +, dune-configurator +, fetchFromGitHub +, lib +, SDL2 +, SDL2_mixer +, tsdl +}: + +buildDunePackage rec { + pname = "tsdl-mixer"; + version = "0.3.2"; + + src = fetchFromGitHub { + owner = "sanette"; + repo = pname; + rev = version; + sha256 = "sha256-UDRhwnanrn87/PYVnacur1z/LsKuUu2G+0QQXjTw/IE="; + }; + + buildInputs = [ + dune-configurator + ]; + + propagatedBuildInputs = [ + SDL2 + SDL2_mixer + tsdl + ]; + + meta = with lib; { + description = "SDL2_mixer bindings to go with Tsdl"; + homepage = "https://github.com/sanette/tsdl-mixer"; + license = licenses.bsd3; + maintainers = with maintainers; [ superherointj ]; + }; +} diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix index 2535d0f92460..3119d138dfd1 100644 --- a/pkgs/top-level/ocaml-packages.nix +++ b/pkgs/top-level/ocaml-packages.nix @@ -1369,6 +1369,8 @@ let tsdl-image = callPackage ../development/ocaml-modules/tsdl-image { }; + tsdl-mixer = callPackage ../development/ocaml-modules/tsdl-mixer { }; + tsdl-ttf = callPackage ../development/ocaml-modules/tsdl-ttf { }; twt = callPackage ../development/ocaml-modules/twt { };