Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: ce9de1467778
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 75153ede17a0
Choose a head ref

Commits on Jan 20, 2021

  1. Verified

    This commit was signed with the committer’s verified signature.
    Ekleog Léo Gaspard
    Copy the full SHA
    ab04d96 View commit details

Commits on Jan 23, 2021

  1. Copy the full SHA
    04ee910 View commit details

Commits on Jan 29, 2021

  1. nixos/hadoop: add types

    Scriptkiddi committed Jan 29, 2021
    Copy the full SHA
    0cbbc2d View commit details

Commits on Jan 31, 2021

  1. nixosTests.installer: Increase memory allocated to the VM

    Fixes #111223.
    
    Signed-off-by: Anders Kaseorg <andersk@mit.edu>
    andersk committed Jan 31, 2021
    Copy the full SHA
    4a0a7cc View commit details

Commits on Feb 1, 2021

  1. flutter: added dev libraries for the emulator

    Four additional libraries seem to be needed to start the emulator on my
    machine.
    drsk0 committed Feb 1, 2021
    Copy the full SHA
    e619018 View commit details
  2. gomacro: init at 2.7

    kf5grd committed Feb 1, 2021
    Copy the full SHA
    be21242 View commit details
  3. maintainers: add shofius

    kf5grd committed Feb 1, 2021
    Copy the full SHA
    96b59c6 View commit details
  4. Copy the full SHA
    03058d3 View commit details
  5. Copy the full SHA
    31c95c1 View commit details
  6. Copy the full SHA
    33db0f7 View commit details
  7. Copy the full SHA
    44afe6b View commit details

Commits on Feb 2, 2021

  1. Copy the full SHA
    16c29bb View commit details
  2. ccache: 4.1 -> 4.2

    r-burns committed Feb 2, 2021
    Copy the full SHA
    a3d19ca View commit details
  3. Copy the full SHA
    9c06d17 View commit details
  4. Copy the full SHA
    c0638b8 View commit details
  5. vimPlugins: update

    Andrey Kuznetsov committed Feb 2, 2021
    Copy the full SHA
    9551604 View commit details
  6. vimPlugins.nvim-lightbulb: init at 2021-02-02

    Andrey Kuznetsov committed Feb 2, 2021
    Copy the full SHA
    b374e80 View commit details
  7. Copy the full SHA
    627e47c View commit details
  8. routinator: 0.8.2 -> 0.8.3

    New
    
    - Status information is now available in JSON format at /api/v1/status (449).
    - Includes version 0.1.0 of routinator-ui, a UI for Route Origin Validation and Routinator status (449).
    0x4A6F committed Feb 2, 2021
    Copy the full SHA
    10080ec View commit details
  9. Copy the full SHA
    7868152 View commit details
  10. Merge pull request #111626 from iAmMrinal0/update/google-cloud-sdk

    google-cloud-sdk: 323.0.0 -> 325.0.0
    SuperSandro2000 authored Feb 2, 2021
    Copy the full SHA
    917e18e View commit details
  11. Merge pull request #111628 from r-burns/ccache

    ccache: 4.1 -> 4.2
    SuperSandro2000 authored Feb 2, 2021
    Copy the full SHA
    e713063 View commit details
  12. Copy the full SHA
    c51d050 View commit details
  13. Copy the full SHA
    98ce12a View commit details
  14. Copy the full SHA
    abf38ef View commit details
  15. Merge pull request #111640 from CheariX/joplin-desktop-1.7.10

    joplin-desktop: 1.6.7 -> 1.7.10
    SuperSandro2000 authored Feb 2, 2021
    Copy the full SHA
    ae625d9 View commit details
  16. Copy the full SHA
    7ca3506 View commit details
  17. Merge pull request #111492 from RobinKrom/flutter_addition_emulator_d…

    …ependencies
    
    flutter: added dev libraries for the emulator
    SuperSandro2000 authored Feb 2, 2021
    Copy the full SHA
    5c289fb View commit details
  18. Merge pull request #111511 from risicle/ris-pysaml2-6.5.1

    pythonPackages.pysaml2: 5.0.0 -> 6.5.1, addressing CVE-2021-21238 & CVE-2021-21239
    SuperSandro2000 authored Feb 2, 2021
    Copy the full SHA
    f37eee4 View commit details
  19. Merge pull request #111153 from helsinki-systems/hadoop

    nixos/hadoop: add types
    SuperSandro2000 authored Feb 2, 2021
    Copy the full SHA
    7c5064e View commit details
  20. Merge pull request #111644 from 0x4A6F/master-routinator

    routinator: 0.8.2 -> 0.8.3
    SuperSandro2000 authored Feb 2, 2021
    Copy the full SHA
    6d18d8e View commit details
  21. Copy the full SHA
    b3850ac View commit details
  22. Copy the full SHA
    c1e35a4 View commit details
  23. Copy the full SHA
    6ad10c3 View commit details
  24. Copy the full SHA
    8c16010 View commit details
  25. Copy the full SHA
    fafb529 View commit details
  26. Copy the full SHA
    1674178 View commit details
  27. legit: Disable tests

    SuperSandro2000 committed Feb 2, 2021
    Copy the full SHA
    e08919c View commit details
  28. Copy the full SHA
    b434939 View commit details
  29. Copy the full SHA
    4b99083 View commit details
  30. Copy the full SHA
    07860aa View commit details
  31. Copy the full SHA
    6e3b60e View commit details
  32. Copy the full SHA
    c320ca3 View commit details
  33. Copy the full SHA
    158626a View commit details
  34. Copy the full SHA
    56df259 View commit details
  35. Copy the full SHA
    19f0b1b View commit details
  36. Merge pull request #110171 from r-ryantm/auto-update/openvswitch

    openvswitch: 2.14.0 -> 2.14.1
    mweinelt authored Feb 2, 2021
    Copy the full SHA
    4499ac8 View commit details
  37. Copy the full SHA
    add90df View commit details
  38. Copy the full SHA
    e0961cb View commit details
  39. Copy the full SHA
    35aed86 View commit details
Showing with 541 additions and 268 deletions.
  1. +1 −0 .github/CODEOWNERS
  2. +6 −0 maintainers/maintainer-list.nix
  3. +4 −0 nixos/modules/services/cluster/hadoop/default.nix
  4. +2 −2 nixos/tests/installer.nix
  5. +0 −3 pkgs/applications/audio/keyfinder/default.nix
  6. +0 −1 pkgs/applications/misc/archivy/default.nix
  7. +3 −3 pkgs/applications/misc/joplin-desktop/default.nix
  8. +0 −1 pkgs/applications/networking/cluster/octant/default.nix
  9. +4 −0 pkgs/applications/networking/irc/weechat/scripts/weechat-matrix/default.nix
  10. +0 −2 pkgs/applications/science/misc/foldingathome/control.nix
  11. +2 −4 pkgs/applications/version-management/git-and-tools/legit/default.nix
  12. +0 −1 pkgs/applications/video/vcs/default.nix
  13. +8 −0 pkgs/development/compilers/flutter/flutter.nix
  14. +2 −1 pkgs/development/interpreters/gauche/default.nix
  15. +12 −35 pkgs/development/libraries/flatpak/default.nix
  16. +1 −4 pkgs/development/libraries/rocclr/default.nix
  17. +0 −2 pkgs/development/python-modules/apache-airflow/default.nix
  18. +29 −20 pkgs/development/python-modules/coconut/default.nix
  19. +0 −5 pkgs/development/python-modules/deform/default.nix
  20. +3 −0 pkgs/development/python-modules/doit/default.nix
  21. +3 −5 pkgs/development/python-modules/dufte/default.nix
  22. +24 −0 pkgs/development/python-modules/exdown/default.nix
  23. +5 −0 pkgs/development/python-modules/git-sweep/default.nix
  24. +11 −2 pkgs/development/python-modules/nbdime/default.nix
  25. +15 −12 pkgs/development/python-modules/pysaml2/default.nix
  26. +1 −0 pkgs/development/python-modules/pyslurm/default.nix
  27. +0 −2 pkgs/development/python-modules/skein/skeinrepo.nix
  28. +4 −1 pkgs/development/python-modules/somajo/default.nix
  29. +16 −4 pkgs/development/python-modules/watchdog/default.nix
  30. +4 −6 pkgs/development/tools/build-managers/sbt-extras/default.nix
  31. +3 −0 pkgs/development/tools/fdroidserver/default.nix
  32. +3 −0 pkgs/development/tools/git-repo-updater/default.nix
  33. +24 −0 pkgs/development/tools/gomacro/default.nix
  34. +2 −2 pkgs/development/tools/misc/ccache/default.nix
  35. +57 −28 pkgs/development/tools/poetry2nix/poetry2nix/default.nix
  36. +19 −1 pkgs/development/tools/poetry2nix/poetry2nix/lib.nix
  37. +2 −2 pkgs/development/tools/poetry2nix/poetry2nix/mk-poetry-dep.nix
  38. +138 −11 pkgs/development/tools/poetry2nix/poetry2nix/overrides.nix
  39. +12 −7 pkgs/development/tools/poetry2nix/poetry2nix/pep425.nix
  40. +3 −3 pkgs/development/tools/poetry2nix/poetry2nix/pep508.nix
  41. +1 −0 pkgs/development/tools/poetry2nix/poetry2nix/pkgs/poetry/update
  42. +1 −1 pkgs/development/tools/poetry2nix/update
  43. +87 −75 pkgs/misc/vim-plugins/generated.nix
  44. +1 −0 pkgs/misc/vim-plugins/vim-plugin-names
  45. +2 −2 pkgs/os-specific/linux/openvswitch/default.nix
  46. +3 −3 pkgs/servers/routinator/default.nix
  47. +0 −2 pkgs/servers/tautulli/default.nix
  48. +3 −3 pkgs/tools/admin/google-cloud-sdk/default.nix
  49. +2 −2 pkgs/tools/networking/tridactyl-native/default.nix
  50. +16 −10 pkgs/top-level/all-packages.nix
  51. +2 −0 pkgs/top-level/python-packages.nix
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -76,6 +76,7 @@
/pkgs/development/interpreters/python @FRidh
/pkgs/development/python-modules @FRidh @jonringer
/doc/languages-frameworks/python.section.md @FRidh
/pkgs/development/tools/poetry2nix @adisbladis

# Haskell
/pkgs/development/compilers/ghc @cdepillabout
6 changes: 6 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
@@ -8429,6 +8429,12 @@
githubId = 997855;
name = "Narazaki Shuji";
};
shofius = {
name = "Sam Hofius";
email = "sam@samhofi.us";
github = "kf5grd";
githubId = 18297490;
};
shou = {
email = "x+g@shou.io";
github = "Shou";
4 changes: 4 additions & 0 deletions nixos/modules/services/cluster/hadoop/default.nix
Original file line number Diff line number Diff line change
@@ -7,6 +7,7 @@ with lib;
options.services.hadoop = {
coreSite = mkOption {
default = {};
type = types.attrsOf types.anything;
example = literalExample ''
{
"fs.defaultFS" = "hdfs://localhost";
@@ -17,6 +18,7 @@ with lib;

hdfsSite = mkOption {
default = {};
type = types.attrsOf types.anything;
example = literalExample ''
{
"dfs.nameservices" = "namenode1";
@@ -27,6 +29,7 @@ with lib;

mapredSite = mkOption {
default = {};
type = types.attrsOf types.anything;
example = literalExample ''
{
"mapreduce.map.cpu.vcores" = "1";
@@ -37,6 +40,7 @@ with lib;

yarnSite = mkOption {
default = {};
type = types.attrsOf types.anything;
example = literalExample ''
{
"yarn.resourcemanager.ha.id" = "resourcemanager1";
4 changes: 2 additions & 2 deletions nixos/tests/installer.nix
Original file line number Diff line number Diff line change
@@ -76,8 +76,8 @@ let
def assemble_qemu_flags():
flags = "-cpu max"
${if system == "x86_64-linux"
then ''flags += " -m 768"''
else ''flags += " -m 512 -enable-kvm -machine virt,gic-version=host"''
then ''flags += " -m 1024"''
else ''flags += " -m 768 -enable-kvm -machine virt,gic-version=host"''
}
return flags
3 changes: 0 additions & 3 deletions pkgs/applications/audio/keyfinder/default.nix
Original file line number Diff line number Diff line change
@@ -16,15 +16,12 @@ stdenv.mkDerivation rec {

postPatch = ''
substituteInPlace is_KeyFinder.pro \
--replace "keyfinder.0" "keyfinder" \
--replace "-stdlib=libc++" "" \
--replace "\$\$[QT_INSTALL_PREFIX]" "$out"
'';

dontWrapQtApps = true;

enableParallelBuilding = true;

meta = with lib; {
description = "Musical key detection for digital audio (graphical UI)";
longDescription = ''
1 change: 0 additions & 1 deletion pkgs/applications/misc/archivy/default.nix
Original file line number Diff line number Diff line change
@@ -17,7 +17,6 @@ python3.pkgs.buildPythonApplication rec {
substituteInPlace requirements.txt \
--replace 'WTForms ==' 'WTForms >=' \
--replace 'attrs == 20.2.0' 'attrs' \
--replace 'beautifulsoup4 ==' 'beautifulsoup4 >=' \
--replace 'elasticsearch ==' 'elasticsearch >=' \
--replace 'python_dotenv ==' 'python_dotenv >=' \
--replace 'python_frontmatter == 0.5.0' 'python_frontmatter' \
6 changes: 3 additions & 3 deletions pkgs/applications/misc/joplin-desktop/default.nix
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@

let
pname = "joplin-desktop";
version = "1.6.7";
version = "1.7.10";
name = "${pname}-${version}";

inherit (stdenv.hostPlatform) system;
@@ -16,8 +16,8 @@ let
src = fetchurl {
url = "https://github.com/laurent22/joplin/releases/download/v${version}/Joplin-${version}.${suffix}";
sha256 = {
x86_64-linux = "0g1fac8l0w0b11bs4c9mi2k426hcqa7q4ks48fzxq0yl9ricjlrb";
x86_64-darwin = "1h5crdjzvjg30hdmh3fkygxi5gy714wpz4gwy5dn8s3xr12mmgka";
x86_64-linux = "1f8pfssfqigh0fl5r5wpvdpn48dx1q9qq4mfqi2s5z94h7ci2jxg";
x86_64-darwin = "0s29mhf88nlhaabmd32k21h1qiavgpqqksbdjxkx8bfg591s8jqb";
}.${system} or throwSystem;
};

1 change: 0 additions & 1 deletion pkgs/applications/networking/cluster/octant/default.nix
Original file line number Diff line number Diff line change
@@ -25,7 +25,6 @@ stdenv.mkDerivation rec {
x86_64-darwin = "0y2qjdlyvhrzwg0fmxsr3jl39kd13276a7wg0ndhdjfwxvdwpxkz";
};

doBuild = false;
doCheck = false;

installPhase = ''
Original file line number Diff line number Diff line change
@@ -70,6 +70,10 @@ in buildPythonPackage {
'';

dontPatchShebangs = true;
postFixup = ''
addToSearchPath program_PYTHONPATH $out/${python.sitePackages}
patchPythonScript $out/share/matrix.py
'';

meta = with lib; {
description = "A Python plugin for Weechat that lets Weechat communicate over the Matrix protocol";
2 changes: 0 additions & 2 deletions pkgs/applications/science/misc/foldingathome/control.nix
Original file line number Diff line number Diff line change
@@ -35,8 +35,6 @@ stdenv.mkDerivation rec {

buildInputs = [ fahviewer python ];

doBuild = false;

unpackPhase = ''
dpkg-deb -x ${src} ./
'';
Original file line number Diff line number Diff line change
@@ -16,10 +16,8 @@ python3Packages.buildPythonApplication rec {
six
];

# Prevent tests from trying to create configuration in /homeless-shelter.
preCheck = ''
export HOME=$PWD/test-home
'';
# no tests
doCheck = false;

meta = with lib; {
homepage = "https://github.com/frostming/legit";
1 change: 0 additions & 1 deletion pkgs/applications/video/vcs/default.nix
Original file line number Diff line number Diff line change
@@ -18,7 +18,6 @@ stdenv.mkDerivation {
unpackCmd = "mkdir src; cp $curSrc src/vcs";
patches = [ ./fonts.patch ];
nativeBuildInputs = [ makeWrapper ];
doBuild = false;

inherit dejavu_fonts;
installPhase = ''
8 changes: 8 additions & 0 deletions pkgs/development/compilers/flutter/flutter.nix
Original file line number Diff line number Diff line change
@@ -25,6 +25,10 @@
, libXcursor
, libXdamage
, libXfixes
, libXrender
, libXtst
, libXi
, libXext
, libGL
, nspr
, nss
@@ -114,7 +118,11 @@ let
libXcomposite
libXcursor
libXdamage
libXext
libXfixes
libXi
libXrender
libXtst
libGL
nspr
nss
3 changes: 2 additions & 1 deletion pkgs/development/interpreters/gauche/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ stdenv, lib, fetchFromGitHub, autoreconfHook, gaucheBootstrap, pkg-config, texinfo
, libiconv, gdbm, openssl, zlib, mbedtls, cacert }:
, libiconv, gdbm, openssl, zlib, mbedtls, cacert }:

stdenv.mkDerivation rec {
pname = "gauche";
@@ -45,5 +45,6 @@ stdenv.mkDerivation rec {
maintainers = with maintainers; [ mnacamura ];
license = licenses.bsd3;
platforms = platforms.unix;
broken = stdenv.isDarwin;
};
}
47 changes: 12 additions & 35 deletions pkgs/development/libraries/flatpak/default.nix
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
{ lib, stdenv
, fetchurl
, fetchpatch
, autoconf
, automake
, libtool
, autoreconfHook
, docbook_xml_dtd_412
, docbook_xml_dtd_42
, docbook_xml_dtd_43
, docbook_xml_dtd_45
, docbook-xsl-nons
, which
, libxml2
@@ -49,22 +45,22 @@
, xorg
, valgrind
, glib-networking
, wrapGAppsHook
, wrapGAppsNoGuiHook
, dconf
, gsettings-desktop-schemas
, librsvg
}:

stdenv.mkDerivation rec {
pname = "flatpak";
version = "1.8.2";
version = "1.10.1";

# TODO: split out lib once we figure out what to do with triggerdir
outputs = [ "out" "dev" "man" "doc" "devdoc" "installedTests" ];

src = fetchurl {
url = "https://github.com/flatpak/flatpak/releases/download/${version}/${pname}-${version}.tar.xz";
sha256 = "eSZiXffCKCpe4aizwxevU9QKZjsbxrGKLch0fiZQhbA=";
sha256 = "1dywvfpmszvp2wy5hvpzy8z6gz2gzmi9p302njp52p9vpx14ydf1";
};

patches = [
@@ -104,24 +100,15 @@ stdenv.mkDerivation rec {

# But we want the GDK_PIXBUF_MODULE_FILE from the wrapper affect the icon validator.
./validate-icon-pixbuf.patch

# Fix `flatpak/test-oci-registry@{user,system}.wrap.test` installed tests.
# https://github.com/flatpak/flatpak/pull/3762
(fetchpatch {
url = "https://github.com/flatpak/flatpak/commit/c1447dadecd50f384b6d11dac18b014245267d00.patch";
sha256 = "UAA/wGr8/aMbx5MV+8Ilro2kgKkx2QOn88lDUjCgeDA=";
})
];

nativeBuildInputs = [
autoconf
automake
libtool
autoreconfHook
libxml2
# TODO: replace with docbook_xml_dtd_45 https://github.com/flatpak/flatpak/pull/3760
# Remove 4.1.2 again once the following is merged
# https://github.com/flatpak/flatpak/pull/4102
docbook_xml_dtd_412
docbook_xml_dtd_42
docbook_xml_dtd_43
docbook_xml_dtd_45
docbook-xsl-nons
which
gobject-introspection
@@ -132,7 +119,7 @@ stdenv.mkDerivation rec {
xmlto
appstream-glib
yacc
wrapGAppsHook
wrapGAppsNoGuiHook
];

buildInputs = [
@@ -147,7 +134,7 @@ stdenv.mkDerivation rec {
libseccomp
libsoup
lzma
# zstd # TODO: broken paths in .pc file
zstd
polkit
python3
systemd
@@ -199,16 +186,6 @@ stdenv.mkDerivation rec {
PATH=${lib.makeBinPath [vsc-py]}:$PATH patchShebangs --build variant-schema-compiler/variant-schema-compiler
'';

preConfigure = ''
# TODO: remove the condition once autogen.sh is shipped in the tarball
# https://github.com/flatpak/flatpak/pull/3761
if [[ -f autogen.sh ]]; then
NOCONFIGURE=1 ./autogen.sh
else
autoreconf --install --force --verbose
fi
'';

passthru = {
tests = {
installedTests = nixosTests.installed-tests.flatpak;
@@ -218,7 +195,7 @@ stdenv.mkDerivation rec {
meta = with lib; {
description = "Linux application sandboxing and distribution framework";
homepage = "https://flatpak.org/";
license = licenses.lgpl21;
license = licenses.lgpl21Plus;
maintainers = with maintainers; [ jtojnar ];
platforms = platforms.linux;
};
5 changes: 1 addition & 4 deletions pkgs/development/libraries/rocclr/default.nix
Original file line number Diff line number Diff line change
@@ -32,11 +32,8 @@ stdenv.mkDerivation rec {

prePatch = ''
substituteInPlace CMakeLists.txt \
--replace 'set(ROCCLR_EXPORTS_FILE "''${CMAKE_CURRENT_BINARY_DIR}/amdrocclr_staticTargets.cmake")' \
'set(ROCCLR_EXPORTS_FILE "''${CMAKE_INSTALL_LIBDIR}/cmake/amdrocclr_staticTargets.cmake")' \
--replace 'set (CMAKE_LIBRARY_OUTPUT_DIRECTORY ''${CMAKE_CURRENT_BINARY_DIR}/lib)' \
'set (CMAKE_LIBRARY_OUTPUT_DIRECTORY ''${CMAKE_INSTALL_LIBDIR})' \
--replace 'find_library( OpenCL REQUIRED' 'find_library( OpenCL'
'set (CMAKE_LIBRARY_OUTPUT_DIRECTORY ''${CMAKE_INSTALL_LIBDIR})'
substituteInPlace device/comgrctx.cpp \
--replace "libamd_comgr.so" "${rocm-comgr}/lib/libamd_comgr.so"
'';
2 changes: 0 additions & 2 deletions pkgs/development/python-modules/apache-airflow/default.nix
Original file line number Diff line number Diff line change
@@ -143,11 +143,9 @@ buildPythonPackage rec {
--replace "flask-appbuilder>=1.12.5, <2.0.0" "flask-appbuilder" \
--replace "flask-admin==1.5.3" "flask-admin" \
--replace "flask-login>=0.3, <0.5" "flask-login" \
--replace "pendulum==1.4.4" "pendulum" \
--replace "cached_property~=1.5" "cached_property" \
--replace "dill>=0.2.2, <0.3" "dill" \
--replace "configparser>=3.5.0, <3.6.0" "configparser" \
--replace "jinja2>=2.10.1, <2.11.0" "jinja2" \
--replace "colorlog==4.0.2" "colorlog" \
--replace "funcsigs==1.0.0" "funcsigs" \
--replace "flask-swagger==0.2.13" "flask-swagger" \
49 changes: 29 additions & 20 deletions pkgs/development/python-modules/coconut/default.nix
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
{
lib,
buildPythonApplication,
fetchFromGitHub,
fetchpatch,

cpyparsing,
ipykernel,
mypy,
pygments,
pytest,
prompt_toolkit,
tkinter,
watchdog
{ lib
, buildPythonApplication
, fetchFromGitHub
, fetchpatch
, cpyparsing
, ipykernel
, mypy
, pygments
, pytestCheckHook
, prompt_toolkit
, tkinter
, watchdog
}:

buildPythonApplication rec {
@@ -33,15 +31,26 @@ buildPythonApplication rec {
url = "https://github.com/LibreCybernetics/coconut/commit/2916a087da1e063cc4438b68d4077347fd1ea4a2.patch";
sha256 = "136jbd2rvnifw30y73vv667002nf7sbkm5qyihshj4db7ngysr6q";
})
(fetchpatch {
name = "support-python-3.9.patch";
url = "https://github.com/evhub/coconut/commit/5c724b4dd92fb62c614d8192e3cac3dd1d475790.patch";
sha256 = "04xmzyfmyv6gr2l2z6pdxlllwzcmwxvahxzqyxglr36hfl33ad71";
})
];

checkInputs = [
pytestCheckHook
tkinter
];

checkInputs = [ pytest tkinter ];
# Currently most tests do not work on Hydra due to external fetches.
checkPhase = ''
pytest tests/constants_test.py
pytest tests/main_test.py::TestShell::test_compile_to_file
pytest tests/main_test.py::TestShell::test_convenience
'';
pytestFlagsArray = [
"tests/constants_test.py"
"tests/main_test.py::TestShell::test_compile_to_file"
"tests/main_test.py::TestShell::test_convenience"
];

pythonImportsCheck = [ "coconut" ];

meta = with lib; {
homepage = "http://coconut-lang.org/";
Loading