diff options
author | Vladimír Čunát <v@cunat.cz> | 2022-05-15 18:17:05 +0200 |
---|---|---|
committer | Vladimír Čunát <v@cunat.cz> | 2022-05-15 18:17:05 +0200 |
commit | d72c6a72d0184bb6e659ca253409e5310d335962 (patch) | |
tree | 549dc179df6b52903384a9d5c877f9c3d34ebc28 /pkgs/applications | |
parent | a44988ac0d3c7c60a320d5368d195ad590b62678 (diff) | |
parent | f3194760f1e6f5e5e92d8a4302bc58b80e399ba7 (diff) |
Merge branch 'master' into staging-next
Diffstat (limited to 'pkgs/applications')
-rw-r--r-- | pkgs/applications/audio/gtkpod/default.nix | 13 | ||||
-rw-r--r-- | pkgs/applications/editors/xxe-pe/default.nix | 4 | ||||
-rw-r--r-- | pkgs/applications/emulators/retrofe/default.nix | 18 | ||||
-rw-r--r-- | pkgs/applications/emulators/retrofe/include-paths.patch | 11 | ||||
-rw-r--r-- | pkgs/applications/finance/odoo/default.nix | 86 | ||||
-rw-r--r-- | pkgs/applications/version-management/git-and-tools/git-codereview/default.nix | 17 | ||||
-rw-r--r-- | pkgs/applications/video/byzanz/default.nix | 47 |
7 files changed, 136 insertions, 60 deletions
diff --git a/pkgs/applications/audio/gtkpod/default.nix b/pkgs/applications/audio/gtkpod/default.nix index e741f6fe29825..220d2d38e145d 100644 --- a/pkgs/applications/audio/gtkpod/default.nix +++ b/pkgs/applications/audio/gtkpod/default.nix @@ -11,6 +11,9 @@ stdenv.mkDerivation rec { url = "mirror://sourceforge/gtkpod/${pname}-${version}.tar.gz"; sha256 = "0xisrpx069f7bjkyc8vqxb4k0480jmx1wscqxr6cpq1qj6pchzd5"; }; + postPatch = '' + sed -i 's/which/type -P/' scripts/*.sh + ''; nativeBuildInputs = [ pkg-config wrapGAppsHook intltool ]; buildInputs = [ @@ -19,15 +22,17 @@ stdenv.mkDerivation rec { gdl gnome.adwaita-icon-theme gnome.anjuta ] ++ (with perlPackages; [ perl XMLParser ]); - patchPhase = '' - sed -i 's/which/type -P/' scripts/*.sh - ''; + # Workaround build failure on -fno-common toolchains like upstream + # gcc-10. Otherwise build fails as: + # ld: .libs/autodetection.o:/build/gtkpod-2.1.5/libgtkpod/gtkpod_app_iface.h:248: multiple definition of + # `gtkpod_app'; .libs/gtkpod_app_iface.o:/build/gtkpod-2.1.5/libgtkpod/gtkpod_app_iface.h:248: first defined here + NIX_CFLAGS_COMPILE = "-fcommon"; enableParallelBuilding = true; meta = with lib; { description = "GTK Manager for an Apple ipod"; - homepage = "http://gtkpod.sourceforge.net"; + homepage = "https://sourceforge.net/projects/gtkpod/"; license = licenses.gpl2Plus; platforms = platforms.linux; maintainers = [ maintainers.skeidel ]; diff --git a/pkgs/applications/editors/xxe-pe/default.nix b/pkgs/applications/editors/xxe-pe/default.nix index 8734f4d31c82d..191ed6d2d4218 100644 --- a/pkgs/applications/editors/xxe-pe/default.nix +++ b/pkgs/applications/editors/xxe-pe/default.nix @@ -24,7 +24,7 @@ let in stdenv.mkDerivation rec { pname = "xxe-pe"; - version = "9.4.0"; + version = "10.1.0"; src = assert !acceptLicense -> throw '' @@ -35,7 +35,7 @@ stdenv.mkDerivation rec { ''; fetchurl { url = "https://www.xmlmind.com/xmleditor/_download/xxe-perso-${builtins.replaceStrings [ "." ] [ "_" ] version}.zip"; - sha256 = "FKPdf9cOpgm/WG2i8bFnR6MmEifpiq5ykw2zHA8HnT8="; + sha256 = "sha256-AeyaJSEJQQJ/XxvaIky4fnEr+7fVAEqhSxtYhN8L2JA="; }; nativeBuildInputs = [ diff --git a/pkgs/applications/emulators/retrofe/default.nix b/pkgs/applications/emulators/retrofe/default.nix index dc1a23f33b398..2a0b41ba2b6c2 100644 --- a/pkgs/applications/emulators/retrofe/default.nix +++ b/pkgs/applications/emulators/retrofe/default.nix @@ -1,15 +1,16 @@ -{ lib, stdenv, fetchhg, cmake, glib, gst_all_1, makeWrapper, pkg-config +{ lib, stdenv, fetchFromGitHub, cmake, glib, gst_all_1, makeWrapper, pkg-config , python2, SDL2, SDL2_image, SDL2_mixer, SDL2_ttf, sqlite, zlib, runtimeShell }: stdenv.mkDerivation { pname = "retrofe"; - version = "0.6.169"; + version = "0.10.31"; - src = fetchhg { - url = "https://bitbucket.org/teamretro/retrofe"; - rev = "8793e03"; - sha256 = "0cvsg07ff0fdqh5zgiv2fs7s6c98hn150kpxmpw5fn6jilaszwkm"; + src = fetchFromGitHub { + owner = "phulshof"; + repo = "RetroFE"; + rev = "2ddd65a76210d241031c4ac9268255f311df25d1"; + sha256 = "sha256-uBfECbU2Df/pPpEXXq62S7Ec0YU4lPIsZ8k5UmKD7xQ="; }; nativeBuildInputs = [ cmake makeWrapper pkg-config python2 ]; @@ -18,12 +19,9 @@ stdenv.mkDerivation { glib gst_all_1.gstreamer SDL2 SDL2_image SDL2_mixer SDL2_ttf sqlite zlib ] ++ (with gst_all_1; [ gst-libav gst-plugins-base gst-plugins-good ]); - patches = [ ./include-paths.patch ]; - configurePhase = '' cmake RetroFE/Source -BRetroFE/Build -DCMAKE_BUILD_TYPE=Release \ -DVERSION_MAJOR=0 -DVERSION_MINOR=0 -DVERSION_BUILD=0 \ - -DGSTREAMER_BASE_INCLUDE_DIRS='${gst_all_1.gst-plugins-base.dev}/include/gstreamer-1.0' ''; buildPhase = '' @@ -70,7 +68,7 @@ stdenv.mkDerivation { meta = with lib; { description = "A frontend for arcade cabinets and media PCs"; - homepage = "http://retrofe.com"; + homepage = "http://retrofe.nl/"; license = licenses.gpl3Plus; maintainers = with maintainers; [ hrdinka ]; platforms = with platforms; linux; diff --git a/pkgs/applications/emulators/retrofe/include-paths.patch b/pkgs/applications/emulators/retrofe/include-paths.patch deleted file mode 100644 index 02eef2594ea63..0000000000000 --- a/pkgs/applications/emulators/retrofe/include-paths.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff -ur RetroFE.1/RetroFE/Source/CMakeLists.txt RetroFE.2/RetroFE/Source/CMakeLists.txt ---- RetroFE.1/RetroFE/Source/CMakeLists.txt 2016-02-21 14:52:36.726070602 +0100 -+++ RetroFE.2/RetroFE/Source/CMakeLists.txt 2016-02-21 14:38:43.036249029 +0100 -@@ -59,6 +59,7 @@ - set(RETROFE_INCLUDE_DIRS - "${GLIB2_INCLUDE_DIRS}" - "${GSTREAMER_INCLUDE_DIRS}" -+ "${GSTREAMER_BASE_INCLUDE_DIRS}" - "${SDL2_INCLUDE_DIRS}" - "${SDL2_IMAGE_INCLUDE_DIRS}" - "${SDL2_MIXER_INCLUDE_DIRS}" diff --git a/pkgs/applications/finance/odoo/default.nix b/pkgs/applications/finance/odoo/default.nix index 7f31247914429..bf39ed8781f35 100644 --- a/pkgs/applications/finance/odoo/default.nix +++ b/pkgs/applications/finance/odoo/default.nix @@ -2,19 +2,74 @@ , lib , fetchurl , python3 -, python3Packages , nodePackages , wkhtmltopdf -, callPackage }: -with python3Packages; - let - werkzeug = python3Packages.callPackage ../../../development/python-modules/werkzeug/1.nix {}; -in - -buildPythonApplication rec { + python = python3.override { + packageOverrides = self: super: { + click = super.click.overridePythonAttrs (old: rec { + version = "7.1.2"; + src = old.src.override { + inherit version; + sha256 = "d2b5255c7c6349bc1bd1e59e08cd12acbbd63ce649f2588755783aa94dfb6b1a"; + }; + }); + flask = super.flask.overridePythonAttrs (old: rec { + version = "1.1.4"; + src = old.src.override { + inherit version; + sha256 = "0fbeb6180d383a9186d0d6ed954e0042ad9f18e0e8de088b2b419d526927d196"; + }; + }); + itsdangerous = super.itsdangerous.overridePythonAttrs (old: rec { + version = "1.1.0"; + src = old.src.override { + inherit version; + sha256 = "321b033d07f2a4136d3ec762eac9f16a10ccd60f53c0c91af90217ace7ba1f19"; + }; + }); + jinja2 = super.jinja2.overridePythonAttrs (old: rec { + version = "2.11.3"; + src = old.src.override { + inherit version; + sha256 = "a6d58433de0ae800347cab1fa3043cebbabe8baa9d29e668f1c768cb87a333c6"; + }; + }); + markupsafe = super.markupsafe.overridePythonAttrs (old: rec { + version = "2.0.1"; + src = old.src.override { + inherit version; + sha256 = "594c67807fb16238b30c44bdf74f36c02cdf22d1c8cda91ef8a0ed8dabf5620a"; + }; + }); + werkzeug = super.werkzeug.overridePythonAttrs (old: rec { + version = "1.0.1"; + src = old.src.override { + inherit version; + sha256 = "6c80b1e5ad3665290ea39320b91e1be1e0d5f60652b964a3070216de83d2e47c"; + }; + checkInputs = old.checkInputs ++ (with self; [ + requests + ]); + disabledTests = old.disabledTests ++ [ + # ResourceWarning: unclosed file + "test_basic" + "test_date_to_unix" + "test_easteregg" + "test_file_rfc2231_filename_continuations" + "test_find_terminator" + "test_save_to_pathlib_dst" + ]; + disabledTestPaths = old.disabledTestPaths ++ [ + # ResourceWarning: unclosed file + "tests/test_http.py" + ]; + }); + }; + }; +in python.pkgs.buildPythonApplication rec { pname = "odoo"; major = "15"; @@ -23,6 +78,8 @@ buildPythonApplication rec { version = "${major}.${minor}.${patch}"; + format = "setuptools"; + # latest release is at https://github.com/odoo/docker/blob/master/15.0/Dockerfile src = fetchurl { url = "https://nightly.odoo.com/${major}.${minor}/nightly/src/odoo_${version}.tar.gz"; @@ -30,23 +87,12 @@ buildPythonApplication rec { hash = "sha256-mofV0mNCdyzJecp0XegZBR/5NzHjis9kbpsUA/KJbZg="; }; - nativeBuildInputs = [ - setuptools - wheel - mock - ]; - - buildInputs = [ - wkhtmltopdf - nodePackages.rtlcss - ]; - # needs some investigation doCheck = false; makeWrapperArgs = [ "--prefix" "PATH" ":" "${lib.makeBinPath [ wkhtmltopdf nodePackages.rtlcss ]}" ]; - propagatedBuildInputs = [ + propagatedBuildInputs = with python.pkgs; [ babel chardet decorator diff --git a/pkgs/applications/version-management/git-and-tools/git-codereview/default.nix b/pkgs/applications/version-management/git-and-tools/git-codereview/default.nix index 9028140784859..43de62876858d 100644 --- a/pkgs/applications/version-management/git-and-tools/git-codereview/default.nix +++ b/pkgs/applications/version-management/git-and-tools/git-codereview/default.nix @@ -1,17 +1,22 @@ -{ lib, buildGoPackage, fetchFromGitHub }: +{ lib, buildGoModule, fetchFromGitHub, git }: -buildGoPackage { +buildGoModule rec { pname = "git-codereview"; - version = "2020-01-15"; - goPackagePath = "golang.org/x/review"; + version = "1.0.3"; src = fetchFromGitHub { owner = "golang"; repo = "review"; - rev = "f51a73253c4da005cfdf18a036e11185c04c8ce3"; - sha256 = "0c4vsyy5zp7pngqn4q87xipndghxyw2x57dkv1kxnrffckx1s3pc"; + rev = "v${version}"; + sha256 = "sha256-Hyo2UWGlxxeSz3E73DeA0VoOnBJ1VedvpshnATJGbFo="; }; + vendorSha256 = "sha256-pQpattmS9VmO3ZIQUFn66az8GSmB4IvYhTTCFn6SUmo="; + + ldflags = [ "-s" "-w" ]; + + checkInputs = [ git ]; + meta = with lib; { description = "Manage the code review process for Git changes using a Gerrit server"; homepage = "https://golang.org/x/review/git-codereview"; diff --git a/pkgs/applications/video/byzanz/default.nix b/pkgs/applications/video/byzanz/default.nix index 2919cb10ca3f8..5e60bb7fd9086 100644 --- a/pkgs/applications/video/byzanz/default.nix +++ b/pkgs/applications/video/byzanz/default.nix @@ -1,13 +1,26 @@ -{ lib, stdenv, fetchgit, wrapGAppsHook, which, gnome, glib, intltool, pkg-config, libtool, cairo, gtk3, gst_all_1, xorg }: +{ lib, stdenv +, fetchgit +, wrapGAppsHook +, cairo +, glib +, gnome +, gst_all_1 +, gtk3 +, intltool +, libtool +, pkg-config +, which +, xorg +}: stdenv.mkDerivation { - version = "0.2.3.alpha"; pname = "byzanz"; + version = "unstable-2016-03-12"; src = fetchgit { url = "https://gitlab.gnome.org/Archive/byzanz"; - rev = "1875a7f6a3903b83f6b1d666965800f47db9286a"; - sha256 = "0a72fw2mxl8vdcdnzy0bwis4jk28pd7nc8qgr4vhyw5pd48dynvh"; + rev = "81235d235d12c9687897f7fc6ec0de1feaed6623"; + hash = "sha256-3DUwXCPBAmeCRlDkiPUgwNyBa6bCvC/TLguMCK3bo4E="; }; patches = [ ./add-amflags.patch ]; @@ -16,11 +29,31 @@ stdenv.mkDerivation { ./autogen.sh --prefix=$out ''; - NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations"; + NIX_CFLAGS_COMPILE = builtins.concatStringsSep " " [ + "-Wno-error=deprecated-declarations" + "-Wno-error=incompatible-pointer-types" + ]; nativeBuildInputs = [ pkg-config ]; - buildInputs = [ which gnome.gnome-common glib intltool libtool cairo gtk3 xorg.xwininfo xorg.libXdamage ] - ++ (with gst_all_1; [ gstreamer gst-plugins-base gst-plugins-bad gst-plugins-good gst-plugins-ugly gst-libav wrapGAppsHook ]); + buildInputs = [ + which + gnome.gnome-common + glib + intltool + libtool + cairo + gtk3 + xorg.xwininfo + xorg.libXdamage + ] ++ (with gst_all_1; [ + gstreamer + gst-plugins-base + gst-plugins-bad + gst-plugins-good + gst-plugins-ugly + gst-libav + wrapGAppsHook + ]); meta = with lib; { description = "Tool to record a running X desktop to an animation suitable for presentation in a web browser"; |