b04fc593e7
seems to have accidentally changed mkDerivation function for dfilemanager and solarus-quest-editor so I have reverted that here.
wip/yesman
commit
f19eb635b4
@ -0,0 +1,67 @@ |
||||
{ maintainer }: |
||||
let |
||||
pkgs = import ./../../default.nix { }; |
||||
maintainer_ = pkgs.lib.maintainers.${maintainer}; |
||||
packagesWith = cond: return: prefix: set: |
||||
(pkgs.lib.flatten |
||||
(pkgs.lib.mapAttrsToList |
||||
(name: pkg: |
||||
let |
||||
result = builtins.tryEval |
||||
( |
||||
if pkgs.lib.isDerivation pkg && cond name pkg then |
||||
# Skip packages whose closure fails on evaluation. |
||||
# This happens for pkgs like `python27Packages.djangoql` |
||||
# that have disabled Python pkgs as dependencies. |
||||
builtins.seq pkg.outPath |
||||
[ (return "${prefix}${name}") ] |
||||
else if pkg.recurseForDerivations or false || pkg.recurseForRelease or false |
||||
# then packagesWith cond return pkg |
||||
then packagesWith cond return "${name}." pkg |
||||
else [ ] |
||||
); |
||||
in |
||||
if result.success then result.value |
||||
else [ ] |
||||
) |
||||
set |
||||
) |
||||
); |
||||
|
||||
packages = packagesWith |
||||
(name: pkg: |
||||
( |
||||
if builtins.hasAttr "meta" pkg && builtins.hasAttr "maintainers" pkg.meta |
||||
then |
||||
( |
||||
if builtins.isList pkg.meta.maintainers |
||||
then builtins.elem maintainer_ pkg.meta.maintainers |
||||
else maintainer_ == pkg.meta.maintainers |
||||
) |
||||
else false |
||||
) |
||||
) |
||||
(name: name) |
||||
("") |
||||
pkgs; |
||||
|
||||
in |
||||
pkgs.stdenv.mkDerivation { |
||||
name = "nixpkgs-update-script"; |
||||
buildCommand = '' |
||||
echo "" |
||||
echo "----------------------------------------------------------------" |
||||
echo "" |
||||
echo "nix-shell maintainers/scripts/check-hydra-by-maintainer.nix --argstr maintainer SuperSandro2000" |
||||
echo "" |
||||
echo "----------------------------------------------------------------" |
||||
exit 1 |
||||
''; |
||||
shellHook = '' |
||||
unset shellHook # do not contaminate nested shells |
||||
echo "Please stand by" |
||||
echo nix-shell -p hydra-check --run "hydra-check ${builtins.concatStringsSep " " packages}" |
||||
nix-shell -p hydra-check --run "hydra-check ${builtins.concatStringsSep " " packages}" |
||||
exit $? |
||||
''; |
||||
} |
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,101 @@ |
||||
{ stdenv |
||||
, fetchFromGitLab |
||||
, fetchpatch |
||||
, cmake |
||||
, pkg-config |
||||
, python3 |
||||
, SDL2 |
||||
, dbus |
||||
, eigen |
||||
, ffmpeg |
||||
, glslang |
||||
, hidapi |
||||
, libGL |
||||
, libXau |
||||
, libXdmcp |
||||
, libXrandr |
||||
, libffi |
||||
# , librealsense |
||||
, libsurvive |
||||
, libusb1 |
||||
, libuvc |
||||
, libv4l |
||||
, libxcb |
||||
, opencv4 |
||||
, openhmd |
||||
, udev |
||||
, vulkan-headers |
||||
, vulkan-loader |
||||
, wayland |
||||
, wayland-protocols |
||||
, zlib |
||||
}: |
||||
|
||||
stdenv.mkDerivation rec { |
||||
pname = "monado"; |
||||
version = "0.4.1"; |
||||
|
||||
src = fetchFromGitLab { |
||||
domain = "gitlab.freedesktop.org"; |
||||
owner = pname; |
||||
repo = pname; |
||||
rev = "v${version}"; |
||||
sha256 = "114aif79dqyn2qg07mkv6lzmqn15k6fdcii818rdf5g4bp7zzzgm"; |
||||
}; |
||||
|
||||
patches = [ |
||||
# fix libsurvive autodetection, drop with the next version update |
||||
(fetchpatch { |
||||
url = "https://gitlab.freedesktop.org/monado/monado/-/commit/345e9eab56e2de9e8b07cf72c2a67cf2ebd01e62.patch"; |
||||
sha256 = "17c110an6sxc8rn7dfz30rfkbayg64w68licicwc8cqabi6cgrm3"; |
||||
}) |
||||
]; |
||||
|
||||
nativeBuildInputs = [ cmake pkg-config python3 ]; |
||||
|
||||
buildInputs = [ |
||||
SDL2 |
||||
dbus |
||||
eigen |
||||
ffmpeg |
||||
glslang |
||||
hidapi |
||||
libGL |
||||
libXau |
||||
libXdmcp |
||||
libXrandr |
||||
libffi |
||||
# librealsense.dev - see below |
||||
libsurvive |
||||
libusb1 |
||||
libuvc |
||||
libv4l |
||||
libxcb |
||||
opencv4 |
||||
openhmd |
||||
udev |
||||
vulkan-headers |
||||
vulkan-loader |
||||
wayland |
||||
wayland-protocols |
||||
zlib |
||||
]; |
||||
|
||||
# realsense is disabled, the build ends with the following error: |
||||
# |
||||
# CMake Error in src/xrt/drivers/CMakeLists.txt: |
||||
# Imported target "realsense2::realsense2" includes non-existent path |
||||
# "/nix/store/2v95aps14hj3jy4ryp86vl7yymv10mh0-librealsense-2.41.0/include" |
||||
# in its INTERFACE_INCLUDE_DIRECTORIES. |
||||
# |
||||
# for some reason cmake is trying to use ${librealsense}/include |
||||
# instead of ${librealsense.dev}/include as an include directory |
||||
|
||||
meta = with stdenv.lib; { |
||||
description = "Open source XR runtime"; |
||||
homepage = "https://monado.freedesktop.org/"; |
||||
license = licenses.boost; |
||||
maintainers = with maintainers; [ prusnak ]; |
||||
platforms = platforms.linux; |
||||
}; |
||||
} |
@ -0,0 +1,28 @@ |
||||
{ stdenv |
||||
, rustPlatform |
||||
, fetchFromGitHub |
||||
}: |
||||
|
||||
rustPlatform.buildRustPackage rec { |
||||
pname = "taskwarrior-tui"; |
||||
version = "0.9.5"; |
||||
|
||||
src = fetchFromGitHub { |
||||
owner = "kdheepak"; |
||||
repo = "taskwarrior-tui"; |
||||
rev = "v${version}"; |
||||
sha256 = "1348ypjphm5f46civbrcxbbahwwl2j47z1hg8ndq1cg2bh5wb8kg"; |
||||
}; |
||||
|
||||
# Because there's a test that requires terminal access |
||||
doCheck = false; |
||||
|
||||
cargoSha256 = "11zpy3whzir9mlbvf0jyscqwj9z44a6s5i1bc2cnxyciqy9b57md"; |
||||
|
||||
meta = with stdenv.lib; { |
||||
description = "A terminal user interface for taskwarrior "; |
||||
homepage = "https://github.com/kdheepak/taskwarrior-tui"; |
||||
license = with licenses; [ mit ]; |
||||
maintainers = with maintainers; [ matthiasbeyer ]; |
||||
}; |
||||
} |
@ -0,0 +1,36 @@ |
||||
{ stdenv, fetchurl, pkg-config, alsaLib, audiofile, gtk2, libxml2 }: |
||||
|
||||
stdenv.mkDerivation rec { |
||||
name = "soundmodem"; |
||||
version = "0.20"; |
||||
|
||||
src = fetchurl { |
||||
url = "https://archive.org/download/${name}-${version}/${name}-${version}.tar.gz"; |
||||
sha256 = "156l3wjnh5rcisxb42kcmlf74swf679v4xnj09zy5j74rd4h721z"; |
||||
}; |
||||
|
||||
nativeBuildInputs = [ pkg-config ]; |
||||
buildInputs = [ alsaLib audiofile gtk2 libxml2 ]; |
||||
|
||||
patches = [ ./matFix.patch ]; |
||||
|
||||
doCheck = true; |
||||
|
||||
meta = with stdenv.lib; { |
||||
description = "Audio based modem for ham radio supporting ax.25"; |
||||
longDescription = '' |
||||
This software allows a standard PC soundcard to be used as a packet radio "modem". The whole processing is done on the main processor CPU. |
||||
Unlike previous packet radio modem software, this new release offers several new benefits: |
||||
- Now uses standard operating system sound drivers (OSS/Free under Linux, /dev/audio under Solaris and DirectSound under Windows), thus runs on all soundcards for which drivers for the desired operating system are available. |
||||
- No fixed relationship between bitrate, sampling rate, and modem parameters. Modems may be parametrized, and multiple modems may even run on the same audio channel! |
||||
- Usermode solution allows the use of MMX, VIS, Floating point and other media instruction sets to speed up computation. |
||||
- Cross platform builds from a single source code provides ubiquitous availability. |
||||
''; |
||||
#homepage = "http://gna.org/projects/soundmodem"; # official, but "Connection refused" |
||||
homepage = "http://soundmodem.vk4msl.id.au/"; |
||||
downloadPage = "https://archive.org/download/${name}-${version}/${name}-${version}.tar.gz"; |
||||
license = licenses.gpl2Only; |
||||
maintainers = with maintainers; [ ymarkus ]; |
||||
platforms = platforms.all; |
||||
}; |
||||
} |
@ -0,0 +1,11 @@ |
||||
--- a/matlib/mat.hh 2003-01-06 23:47:26.000000000 +0100
|
||||
+++ b/matlib/mat.copy.hh 2021-01-06 10:05:34.332415179 +0100
|
||||
@@ -91,7 +91,7 @@
|
||||
memcpy(c, r, d1 * d3 * sizeof(c[0]));
|
||||
}
|
||||
|
||||
-template<typename T> void mdet(const T *c, unsigned int d)
|
||||
+template<typename T> int mdet(const T *c, unsigned int d)
|
||||
{
|
||||
T *c2;
|
||||
unsigned int i, j, k, l;
|
@ -0,0 +1,25 @@ |
||||
diff --git a/src/sage/interfaces/sympy.py b/src/sage/interfaces/sympy.py
|
||||
index cc35a42a9f..6e577d5d8d 100644
|
||||
--- a/src/sage/interfaces/sympy.py
|
||||
+++ b/src/sage/interfaces/sympy.py
|
||||
@@ -397,7 +397,7 @@ def _sympysage_rf(self):
|
||||
sage: from sympy import Symbol, rf
|
||||
sage: _ = var('x, y')
|
||||
sage: rfxy = rf(Symbol('x'), Symbol('y'))
|
||||
- sage: assert rising_factorial(x,y)._sympy_() == rfxy.rewrite('gamma')
|
||||
+ sage: assert rising_factorial(x,y)._sympy_() == rfxy.rewrite('gamma', piecewise=False)
|
||||
sage: assert rising_factorial(x,y) == rfxy._sage_()
|
||||
"""
|
||||
from sage.arith.all import rising_factorial
|
||||
diff --git a/src/sage/symbolic/expression.pyx b/src/sage/symbolic/expression.pyx
|
||||
index 7c18ec1efa..c2619ac42d 100644
|
||||
--- a/src/sage/symbolic/expression.pyx
|
||||
+++ b/src/sage/symbolic/expression.pyx
|
||||
@@ -955,6 +955,6 @@ cdef class Expression(CommutativeRingElement):
|
||||
sage: unicode_art(13 - I)
|
||||
13 - ⅈ
|
||||
sage: unicode_art(1.3 - I)
|
||||
- 1.3 - 1.0⋅ⅈ
|
||||
+ 1.3 - ⅈ
|
||||
sage: unicode_art(cos(I))
|
||||
cosh(1)
|
@ -0,0 +1,55 @@ |
||||
{ stdenv |
||||
, fetchFromGitHub |
||||
, autoreconfHook |
||||
, pkg-config |
||||
, appstream-glib |
||||
, dbus |
||||
, pango |
||||
, pcre2 |
||||
, tmux |
||||
, vte |
||||
, wrapGAppsHook |
||||
}: |
||||
|
||||
stdenv.mkDerivation rec { |
||||
pname = "germinal"; |
||||
version = "26"; |
||||
|
||||
src = fetchFromGitHub { |
||||
owner = "Keruspe"; |
||||
repo = "Germinal"; |
||||
rev = "v${version}"; |
||||
sha256 = "sha256-HUi+skF4bJj5CY2cNTOC4tl7jhvpXYKqBx2rqKzjlo0="; |
||||
}; |
||||
|
||||
nativeBuildInputs = [ autoreconfHook pkg-config wrapGAppsHook ]; |
||||
buildInputs = [ |
||||
appstream-glib |
||||
dbus |
||||
pango |
||||
pcre2 |
||||
vte |
||||
]; |
||||
|
||||
configureFlags = [ |
||||
"--with-dbusservicesdir=${placeholder "out"}/etc/dbus-1/system-services/" |
||||
]; |
||||
|
||||
dontWrapGApps = true; |
||||
|
||||
fixupPhase = '' |
||||
runHook preFixup |
||||
wrapProgram $out/bin/germinal \ |
||||
--prefix PATH ":" "${stdenv.lib.makeBinPath [ tmux ]}" \ |
||||
"''${gappsWrapperArgs[@]}" |
||||
runHook postFixup |
||||
''; |
||||
|
||||
meta = with stdenv.lib; { |
||||
description = "A minimal terminal emulator"; |
||||
homepage = "https://github.com/Keruspe/Germinal"; |
||||
license = with licenses; gpl3Plus; |
||||
platforms = with platforms; unix; |
||||
maintainers = with maintainers; [ AndersonTorres ]; |
||||
}; |
||||
} |
@ -0,0 +1,40 @@ |
||||
{ stdenv, fetchFromGitHub, python3 }: |
||||
|
||||
stdenv.mkDerivation rec { |
||||
pname = "git-when-merged"; |
||||
version = "1.2.0"; |
||||
|
||||
src = fetchFromGitHub { |
||||
owner = "mhagger"; |
||||
repo = pname; |
||||
rev = "v${version}"; |
||||
sha256 = "0sw98gmsnd4iki9fx455jga9m80bxvvfgys8i1r2fc7d5whc2qa6"; |
||||
}; |
||||
|
||||
buildInputs = [ python3 ]; |
||||
|
||||
installPhase = '' |
||||
install -D --target-directory $out/bin/ bin/git-when-merged |
||||
''; |
||||
|
||||
meta = with stdenv.lib; { |
||||
description = |
||||
"Helps you figure out when and why a commit was merged into a branch"; |
||||
longDescription = '' |
||||
If you use standard Git workflows, then you create a feature |
||||
branch for each feature that you are working on. When the feature |
||||
is complete, you merge it into your master branch. You might even |
||||
have sub-feature branches that are merged into a feature branch |
||||
before the latter is merged. |
||||
|
||||
In such a workflow, the first-parent history of master consists |
||||
mainly of merges of feature branches into the mainline. git |
||||
when-merged can be used to ask, "When (and why) was commit C |
||||
merged into the current branch?" |
||||
''; |
||||
homepage = "https://github.com/mhagger/git-when-merged"; |
||||
license = licenses.gpl2Only; |
||||
platforms = python3.meta.platforms; |
||||
maintainers = with maintainers; [ DamienCassou ]; |
||||
}; |
||||
} |
@ -0,0 +1,58 @@ |
||||
{ stdenv, fetchFromGitHub |
||||
, ffmpeg, libjpeg_turbo, gtk3, alsaLib, speex, libusbmuxd, libappindicator-gtk3 |
||||
, pkg-config |
||||
}: |
||||
|
||||
stdenv.mkDerivation rec { |
||||
pname = "droidcam"; |
||||
version = "1.6"; |
||||
|
||||
src = fetchFromGitHub { |
||||
owner = "aramg"; |
||||
repo = "droidcam"; |
||||
rev = "v${version}"; |
||||
sha256 = "sha256-3RmEmLNUbwIh+yr7vtYZnMwbzfmtW3mz5u4Ohau9OLU="; |
||||
}; |
||||
|
||||
nativeBuildInputs = [ |
||||
pkg-config |
||||
]; |
||||
|
||||
buildInputs = [ |
||||
ffmpeg |
||||
libjpeg_turbo |
||||
gtk3 |
||||
alsaLib |
||||
speex |
||||
libusbmuxd |
||||
libappindicator-gtk3 |
||||
]; |
||||
|
||||
postPatch = '' |
||||
substituteInPlace linux/src/droidcam.c \ |
||||
--replace "/opt/droidcam-icon.png" "$out/share/icons/hicolor/droidcam.png" |
||||
''; |
||||
|
||||
preBuild = '' |
||||
cd linux |
||||
makeFlagsArray+=("JPEG=$(pkg-config --libs --cflags libturbojpeg)") |
||||
makeFlagsArray+=("USBMUXD=$(pkg-config --libs --cflags libusbmuxd-2.0)") |
||||
''; |
||||
|
||||
installPhase = '' |
||||
runHook preInstall |
||||
|
||||
install -Dt $out/bin droidcam droidcam-cli |
||||
install -D icon2.png $out/share/icons/hicolor/droidcam.png |
||||
|
||||
runHook postInstall |
||||
''; |
||||
|
||||
meta = with stdenv.lib; { |
||||
description = "Linux client for DroidCam app"; |
||||
homepage = "https://github.com/aramg/droidcam"; |
||||
license = licenses.gpl2Only; |
||||
maintainers = [ maintainers.suhr ]; |
||||
platforms = platforms.linux; |
||||
}; |
||||
} |
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue