Skip to content
This repository was archived by the owner on Apr 12, 2021. It is now read-only.
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-channels
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 225628ff02cb
Choose a base ref
...
head repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 2ba2292a04c7
Choose a head ref

Commits on May 7, 2020

  1. Copy the full SHA
    5142e21 View commit details
  2. vispy: init at 0.6.4

    goertzenator committed May 7, 2020
    Copy the full SHA
    81bc4bb View commit details
  3. Copy the full SHA
    6adf626 View commit details
  4. add pythonImportsCheck

    goertzenator committed May 7, 2020
    Copy the full SHA
    5f57e9f View commit details

Commits on Jul 5, 2020

  1. latex2html: 2020 -> 2020.2

    r-ryantm committed Jul 5, 2020
    Copy the full SHA
    f782549 View commit details

Commits on Jul 20, 2020

  1. etesync-dav: 0.17.0 -> 0.20.0

    Valodim committed Jul 20, 2020
    Copy the full SHA
    f8a7184 View commit details
  2. Copy the full SHA
    d2d921b View commit details

Commits on Jul 21, 2020

  1. Verified

    This commit was signed with the committer’s verified signature.
    costrouc Christopher Ostrouchov
    Copy the full SHA
    6916342 View commit details
  2. maintainers: add galagora

    galagora committed Jul 21, 2020
    Copy the full SHA
    167d5d8 View commit details
  3. maintainers: add meutraa

    galagora committed Jul 21, 2020
    Copy the full SHA
    fb7752a View commit details
  4. androidStudioPackages.beta: 4.0.0.16 -> 4.1.0.14

    galagora committed Jul 21, 2020
    Copy the full SHA
    7937ba3 View commit details
  5. Merge pull request #93558 from galagora/update-android-studio

    androidStudioPackages.beta: 4.0.0.16 -> 4.1.0.14
    primeos authored Jul 21, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    9a47c3b View commit details
  6. Merge pull request #93556 from Valodim/etesync-0.20.0

    etesync-dav: 0.17.0 -> 0.20.0
    danieldk authored Jul 21, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    9a9fcb6 View commit details
  7. qemu-vm: fix master eval

    ajs124 committed Jul 21, 2020
    Copy the full SHA
    c708c41 View commit details
  8. ghc: don't build with profiling on aarch64 #66277

    This makes ghc output be lower than 2GB limit.
    
    Also enable aarch64 build parallelism now that it's fixed in GHC 8.6
    domenkozar committed Jul 21, 2020

    Verified

    This commit was signed with the committer’s verified signature.
    domenkozar Domen Kožar
    Copy the full SHA
    1f6f0c9 View commit details
  9. Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    Ma27 Maximilian Bosch
    Copy the full SHA
    cfcc630 View commit details
  10. dijo: init at 0.1.5

    infinisil committed Jul 21, 2020

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    infinisil Silvan Mosberger
    Copy the full SHA
    ed24466 View commit details
  11. Merge pull request #79235 from goertzenator/add_vispy

    vispy: init at 0.6.4
    adisbladis authored Jul 21, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    1be9aa3 View commit details
  12. Merge pull request #93597 from Infinisil/add/dijo

    dijo: init at 0.1.5
    infinisil authored Jul 21, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    0da12cb View commit details
  13. Merge pull request #76960 from risicle/ris-hal-hardware-analyzer

    hal-hardware-analyzer: init at 2.0.0
    risicle authored Jul 21, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    fd5c0b9 View commit details
  14. Merge pull request #93602 from helsinki-systems/fix/qemu-vm.nix

    qemu-vm: fix master eval
    worldofpeace authored Jul 21, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    17d6405 View commit details
  15. Merge pull request #93595 from costrouc/python-pq-init

    python3Packages.pq: init at 1.8.1
    worldofpeace authored Jul 21, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    156ce0c View commit details
  16. Merge pull request #92313 from r-ryantm/auto-update/latex2html

    latex2html: 2020 -> 2020.2
    ryantm authored Jul 21, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    2ba2292 View commit details
18 changes: 18 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
@@ -2928,6 +2928,12 @@
githubId = 7047019;
name = "Florent Becker";
};
galagora = {
email = "lightningstrikeiv@gmail.com";
github = "galagora";
githubId = 45048741;
name = "Alwanga Oyango";
};
gamb = {
email = "adam.gamble@pm.me";
github = "gamb";
@@ -3058,6 +3064,12 @@
githubId = 25820499;
name = "Roman Kretschmer";
};
goertzenator = {
email = "daniel.goertzen@gmail.com";
github = "goertzenator";
githubId = 605072;
name = "Daniel Goertzen";
};
goibhniu = {
email = "cillian.deroiste@gmail.com";
github = "cillianderoiste";
@@ -5197,6 +5209,12 @@
github = "metadark";
githubId = 382041;
};
meutraa = {
email = "paul+nixpkgs@lost.host";
name = "Paul Meredith";
github = "meutraa";
githubId = 68550871;
};
mfossen = {
email = "msfossen@gmail.com";
github = "mfossen";
2 changes: 1 addition & 1 deletion nixos/modules/virtualisation/qemu-vm.nix
Original file line number Diff line number Diff line change
@@ -496,7 +496,7 @@ in

virtualisation.efiVars =
mkOption {
default = "./${vmName}-efi-vars.fd";
default = "./${config.system.name}-efi-vars.fd";
description =
''
Path to nvram image containing UEFI variables. The will be created
8 changes: 6 additions & 2 deletions pkgs/applications/editors/android-studio/common.nix
Original file line number Diff line number Diff line change
@@ -198,8 +198,12 @@ in runCommand
# binaries are also distributed as proprietary software (unlike the
# source-code itself).
platforms = [ "x86_64-linux" ];
maintainers = with maintainers; ([ ]
++ optional (channel == "stable") primeos);
maintainers = with maintainers; rec {
stable = [ meutraa ];
beta = [ galagora ];
canary = [ meutraa ];
dev = canary;
}."${channel}";
};
}
''
6 changes: 3 additions & 3 deletions pkgs/applications/editors/android-studio/default.nix
Original file line number Diff line number Diff line change
@@ -13,9 +13,9 @@ let
sha256Hash = "15vm7fvi8c286wx9f28z6ysvm8wqqda759qql0zy9simwx22gy7j";
};
betaVersion = {
version = "4.0.0.16"; # "Android Studio 4.0"
build = "193.6514223";
sha256Hash = "1sqj64vddwfrr9821habfz7dms9csvbp7b8gf1d027188b2lvh3h";
version = "4.1.0.14"; # "Android Studio 4.1 Beta 4"
build = "201.6667167";
sha256Hash = "11lkwcbzdl86cyz4lci65cx9z5jjhrc4z40maqx2r5hw1xka9290";
};
latestVersion = { # canary & dev
version = "4.2.0.4"; # "Android Studio 4.2 Canary 4"
8 changes: 4 additions & 4 deletions pkgs/applications/misc/etesync-dav/default.nix
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
{ lib, python3Packages, radicale2 }:
{ lib, python3Packages, radicale3 }:

python3Packages.buildPythonApplication rec {
pname = "etesync-dav";
version = "0.17.0";
version = "0.20.0";

src = python3Packages.fetchPypi {
inherit pname version;
sha256 = "0lyjv8rknwbx5b5nvq5bgw26lhkymib4cvmv3s3469mrnn2c0ksp";
sha256 = "1q8h89hqi4kxphn1g5nbcia0haz5k57is9rycwaabm55mj9s9fah";
};

propagatedBuildInputs = with python3Packages; [
etesync
flask
flask_wtf
radicale2
radicale3
];

checkInputs = with python3Packages; [
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{ stdenv, fetchFromGitHub, cmake, ninja, pkgconfig, python3Packages
, boost, rapidjson, qtbase, qtsvg, igraph, spdlog, wrapQtAppsHook
, llvmPackages ? null
}:

stdenv.mkDerivation rec {
version = "2.0.0";
pname = "hal-hardware-analyzer";

src = fetchFromGitHub {
owner = "emsec";
repo = "hal";
rev = "v${version}";
sha256 = "11xmqxnryksl645wmm1d69k1b5zwvxxf0admk4iblzaa3ggf7cv1";
};
# make sure bundled dependencies don't get in the way - install also otherwise
# copies them in full to the output, bloating the package
postPatch = ''
rm -rf deps/*/*
substituteInPlace cmake/detect_dependencies.cmake \
--replace 'spdlog 1.4.2 EXACT' 'spdlog 1.4.2 REQUIRED'
'';

nativeBuildInputs = [ cmake ninja pkgconfig ];
buildInputs = [ qtbase qtsvg boost rapidjson igraph spdlog wrapQtAppsHook ]
++ (with python3Packages; [ python pybind11 ])
++ stdenv.lib.optional stdenv.cc.isClang llvmPackages.openmp;

cmakeFlags = with stdenv.lib.versions; [
"-DHAL_VERSION_RETURN=${version}"
"-DHAL_VERSION_MAJOR=${major version}"
"-DHAL_VERSION_MINOR=${minor version}"
"-DHAL_VERSION_PATCH=${patch version}"
"-DHAL_VERSION_TWEAK=0"
"-DHAL_VERSION_ADDITIONAL_COMMITS=0"
"-DHAL_VERSION_DIRTY=false"
"-DHAL_VERSION_BROKEN=false"
"-DENABLE_INSTALL_LDCONFIG=off"
"-DBUILD_ALL_PLUGINS=on"
];
# needed for macos build - this is why we use wrapQtAppsHook instead of
# the qt mkDerivation - the latter forcibly overrides this.
cmakeBuildType = "MinSizeRel";

meta = {
description = "A comprehensive reverse engineering and manipulation framework for gate-level netlists";
homepage = "https://github.com/emsec/hal";
license = stdenv.lib.licenses.mit;
platforms = with stdenv.lib.platforms; unix;
maintainers = with stdenv.lib.maintainers; [ ris ];
};
}
5 changes: 5 additions & 0 deletions pkgs/development/compilers/ghc/8.8.3.nix
Original file line number Diff line number Diff line change
@@ -30,6 +30,9 @@
, # Whether to build terminfo.
enableTerminfo ? !stdenv.targetPlatform.isWindows

# aarch64 outputs otherwise exceed 2GB limit
, enableProfiliedLibs ? !stdenv.targetPlatform.isAarch64

, # What flavour to build. An empty string indicates no
# specific flavour and falls back to ghc default values.
ghcFlavour ? stdenv.lib.optionalString (stdenv.targetPlatform != stdenv.hostPlatform)
@@ -65,6 +68,8 @@ let
HADDOCK_DOCS = NO
BUILD_SPHINX_HTML = NO
BUILD_SPHINX_PDF = NO
'' + stdenv.lib.optionalString (!enableProfiliedLibs) ''
GhcLibWays = "v dyn"
'' + stdenv.lib.optionalString enableRelocatedStaticLibs ''
GhcLibHcOpts += -fPIC
GhcRtsHcOpts += -fPIC
6 changes: 3 additions & 3 deletions pkgs/development/haskell-modules/generic-builder.nix
Original file line number Diff line number Diff line change
@@ -27,7 +27,8 @@ in
, doHoogle ? true
, doHaddockQuickjump ? doHoogle && stdenv.lib.versionAtLeast ghc.version "8.6"
, editedCabalFile ? null
, enableLibraryProfiling ? !(ghc.isGhcjs or false)
# aarch64 outputs otherwise exceed 2GB limit
, enableLibraryProfiling ? !(ghc.isGhcjs or stdenv.targetPlatform.isAarch64 or false)
, enableExecutableProfiling ? false
, profilingDetail ? "exported-functions"
# TODO enable shared libs for cross-compiling
@@ -48,8 +49,7 @@ in
, isExecutable ? false, isLibrary ? !isExecutable
, jailbreak ? false
, license
# aarch64 sometimes crashes for -jn with n>1: https://ghc.haskell.org/trac/ghc/ticket/15449
, enableParallelBuilding ? !stdenv.buildPlatform.isAarch64
, enableParallelBuilding ? true
, maintainers ? []
, doCoverage ? false
, doHaddock ? !(ghc.isHaLVM or false)
31 changes: 31 additions & 0 deletions pkgs/development/python-modules/freetype-py/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{ lib, buildPythonPackage, fetchPypi, substituteAll, stdenv, setuptools_scm, freetype }:

buildPythonPackage rec {
pname = "freetype-py";
version = "2.1.0.post1";

src = fetchPypi {
inherit pname version;
sha256 = "1k62fx53qrv9nb73mpqi2r11wzbx41qfv5qppvh6rylywnrknf3n";
};

patches = [
(substituteAll {
src = ./library-paths.patch;
freetype = "${freetype.out}/lib/libfreetype${stdenv.hostPlatform.extensions.sharedLibrary}";
})
];

nativeBuildInputs = [ setuptools_scm ];

propagatedBuildInputs = [ freetype ];

pythonImportsCheck = [ "freetype" ];

meta = with lib; {
homepage = "https://github.com/rougier/freetype-py";
description = "FreeType (high-level Python API)";
license = licenses.bsd3;
maintainers = with maintainers; [ goertzenator ];
};
}
37 changes: 37 additions & 0 deletions pkgs/development/python-modules/freetype-py/library-paths.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
diff --git a/freetype/raw.py b/freetype/raw.py
index ff3bea3..78c68ab 100644
--- a/freetype/raw.py
+++ b/freetype/raw.py
@@ -19,31 +19,7 @@ from freetype.ft_enums import *
from freetype.ft_errors import *
from freetype.ft_structs import *

-# First, look for a bundled FreeType shared object on the top-level of the
-# installed freetype-py module.
-system = platform.system()
-if system == 'Windows':
- library_name = 'libfreetype.dll'
-elif system == 'Darwin':
- library_name = 'libfreetype.dylib'
-else:
- library_name = 'libfreetype.so'
-
-filename = os.path.join(os.path.dirname(freetype.__file__), library_name)
-
-# If no bundled shared object is found, look for a system-wide installed one.
-if not os.path.exists(filename):
- # on windows all ctypes does when checking for the library
- # is to append .dll to the end and look for an exact match
- # within any entry in PATH.
- filename = ctypes.util.find_library('freetype')
-
- if filename is None:
- if platform.system() == 'Windows':
- # Check current working directory for dll as ctypes fails to do so
- filename = os.path.join(os.path.realpath('.'), "freetype.dll")
- else:
- filename = library_name
+filename = "@freetype@"

try:
_lib = ctypes.CDLL(filename)
41 changes: 41 additions & 0 deletions pkgs/development/python-modules/pq/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{ lib
, buildPythonPackage
, fetchPypi
, psycopg2
, isPy27
}:

buildPythonPackage rec {
pname = "pq";
version = "1.8.1";
disabled = isPy27;

src = fetchPypi {
inherit pname version;
sha256 = "9e2c0195488263902ebc9da8df6c82bebe4ee32c79d9ecd0cdc2945afbf7ad32";
};

# psycopg2cffi is compatible with psycopg2 and author states that
# module is compatible with psycopg2
postConfigure = ''
substituteInPlace setup.py \
--replace "psycopg2cffi" "psycopg2"
substituteInPlace pq/tests.py \
--replace "psycopg2cffi" "psycopg2"
'';

checkInputs = [
psycopg2
];

# tests require running postgresql cluster
doCheck = false;

meta = with lib; {
description = "PQ is a transactional queue for PostgreSQL";
homepage = https://github.com/malthe/pq/;
license = licenses.bsd3;
maintainers = [ maintainers.costrouc ];
};
}
40 changes: 40 additions & 0 deletions pkgs/development/python-modules/vispy/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{ lib, buildPythonPackage, substituteAll, stdenv,
fetchPypi, numpy, cython, freetype-py, fontconfig, libGL,
setuptools_scm, setuptools-scm-git-archive
}:

buildPythonPackage rec {
pname = "vispy";
version = "0.6.4";

src = fetchPypi {
inherit pname version;
sha256 = "07sb4qww6mgzm66qsrr3pd66yz39r6jj4ibb3qmfg1kwnxs6ayv2";
};

patches = [
(substituteAll {
src = ./library-paths.patch;
fontconfig = "${fontconfig.lib}/lib/libfontconfig${stdenv.hostPlatform.extensions.sharedLibrary}";
gl = "${libGL.out}/lib/libGL${stdenv.hostPlatform.extensions.sharedLibrary}";
})
];

nativeBuildInputs = [
cython setuptools_scm setuptools-scm-git-archive
];

propagatedBuildInputs = [
numpy freetype-py fontconfig libGL
];

doCheck = false; # otherwise runs OSX code on linux.
pythonImportsCheck = [ "vispy" ];

meta = with lib; {
homepage = "http://vispy.org/index.html";
description = "Interactive scientific visualization in Python";
license = licenses.bsd3;
maintainers = with maintainers; [ goertzenator ];
};
}
39 changes: 39 additions & 0 deletions pkgs/development/python-modules/vispy/library-paths.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
diff --git a/vispy/ext/fontconfig.py b/vispy/ext/fontconfig.py
index ff24662b..6a5079f0 100644
--- a/vispy/ext/fontconfig.py
+++ b/vispy/ext/fontconfig.py
@@ -7,10 +7,7 @@ from ..util.wrappers import run_subprocess

# Some code adapted from Pyglet

-fc = util.find_library('fontconfig')
-if fc is None:
- raise ImportError('fontconfig not found')
-fontconfig = cdll.LoadLibrary(fc)
+fontconfig = cdll.LoadLibrary('@fontconfig@')

FC_FAMILY = 'family'.encode('ASCII')
FC_SIZE = 'size'.encode('ASCII')
diff --git a/vispy/gloo/gl/gl2.py b/vispy/gloo/gl/gl2.py
index d5bd9c38..63350e73 100644
--- a/vispy/gloo/gl/gl2.py
+++ b/vispy/gloo/gl/gl2.py
@@ -39,16 +39,8 @@ elif sys.platform.startswith('win'):
pass
else:
# Unix-ish
- if sys.platform.startswith('darwin'):
- _fname = ctypes.util.find_library('OpenGL')
- else:
- _fname = ctypes.util.find_library('GL')
- if not _fname:
- logger.warning('Could not load OpenGL library.')
- _lib = None
- else:
- # Load lib
- _lib = ctypes.cdll.LoadLibrary(_fname)
+ # Load lib
+ _lib = ctypes.cdll.LoadLibrary("@gl@")


def _have_context():
Loading