Merge master into staging-next

This commit is contained in:
github-actions[bot] 2022-01-16 18:00:59 +00:00 committed by GitHub
commit d1d6f982a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
47 changed files with 1131 additions and 215 deletions

View File

@ -84,7 +84,7 @@ To package Dotnet applications, you can use `buildDotnetModule`. This has simila
<ProjectReference Include="../foo/bar.fsproj" />
<PackageReference Include="bar" Version="*" Condition=" '$(ContinuousIntegrationBuild)'=='true' "/>
```
* `executables` is used to specify which executables get wrapped to `$out/bin`, relative to `$out/lib/$pname`. If this is unset, all executables generated will get installed. If you do not want to install any, set this to `[]`.
* `executables` is used to specify which executables get wrapped to `$out/bin`, relative to `$out/lib/$pname`. If this is unset, all executables generated will get installed. If you do not want to install any, set this to `[]`. This gets done in the `preFixup` phase.
* `runtimeDeps` is used to wrap libraries into `LD_LIBRARY_PATH`. This is how dotnet usually handles runtime dependencies.
* `buildType` is used to change the type of build. Possible values are `Release`, `Debug`, etc. By default, this is set to `Release`.
* `dotnet-sdk` is useful in cases where you need to change what dotnet SDK is being used.

View File

@ -21,6 +21,8 @@ let
<para>
This must be in a format usable by findmnt; that could be a key=value
pair, or a bare path to a mount point.
Using bare paths will allow systemd to start the beesd service only
after mounting the associated path.
'';
example = "LABEL=MyBulkDataDrive";
};
@ -122,6 +124,7 @@ in
StartupIOWeight = 25;
SyslogIdentifier = "beesd"; # would otherwise be "bees-service-wrapper"
};
unitConfig.RequiresMountsFor = lib.mkIf (lib.hasPrefix "/" fs.spec) fs.spec;
wantedBy = [ "multi-user.target" ];
})
cfg.filesystems;

View File

@ -26,7 +26,7 @@ buildDotnetModule rec {
makeWrapperArgs+=(--run "cd $out/lib/btcpayserver")
'';
postInstall = ''
postFixup = ''
mv $out/bin/{BTCPayServer,btcpayserver}
'';

View File

@ -17,7 +17,7 @@ buildDotnetModule rec {
dotnet-sdk = dotnetCorePackages.sdk_3_1;
dotnet-runtime = dotnetCorePackages.aspnetcore_3_1;
postInstall = ''
postFixup = ''
mv $out/bin/{NBXplorer,nbxplorer}
'';

View File

@ -36,7 +36,7 @@ buildDotnetModule rec {
)
'';
postInstall = ''
postFixup = ''
mv $out/bin/WalletWasabi.Backend $out/bin/WasabiBackend
'';

View File

@ -19,6 +19,7 @@ buildDotnetModule rec {
];
runtimeDeps = [ gtk3 ];
buildInputs = runtimeDeps;
dotnet-sdk = dotnetCorePackages.sdk_6_0;
dotnet-runtime = dotnetCorePackages.runtime_6_0;
@ -39,16 +40,7 @@ buildDotnetModule rec {
sha256 = "sha256-iOKJPB2bI/GjeDxzG7r6ew7SGIzgrJTcRXhEYzOpC9k=";
};
# FIXME: this should be propagated by wrapGAppsHook already, however for some
# reason it is not working. Maybe a bug in buildDotnetModule?
preInstall = ''
gappsWrapperArgs+=(
--prefix XDG_DATA_DIRS : "${gtk3}/share/gsettings-schemas/${gtk3.name}"
--set GDK_PIXBUF_MODULE_FILE ${librsvg}/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
)
'';
postInstall = ''
postFixup = ''
# Rename the binary
mv $out/bin/Pinta $out/bin/pinta
@ -76,12 +68,12 @@ buildDotnetModule rec {
--replace _Keywords Keywords
'';
meta = {
meta = with lib; {
homepage = "https://www.pinta-project.com/";
description = "Drawing/editing program modeled after Paint.NET";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ thiagokokada ];
platforms = with lib.platforms; linux;
license = licenses.mit;
maintainers = with maintainers; [ thiagokokada ];
platforms = with platforms; linux;
mainProgram = "pinta";
};
}

View File

@ -0,0 +1,70 @@
{ lib
, stdenv
, fetchFromGitHub
, qtbase
, qmake
, wrapQtAppsHook
, copyDesktopItems
, makeDesktopItem
}:
stdenv.mkDerivation rec {
pname = "cubiomes-viewer";
version = "1.12.1";
src = fetchFromGitHub {
owner = "Cubitect";
repo = pname;
rev = version;
sha256 = "sha256-F0c6gMQKu35iBNRw+wpoxSUOhRUbPRKIXSNDDNZsfPE=";
fetchSubmodules = true;
};
buildInputs = [
qtbase
];
nativeBuildInputs = [
qmake
wrapQtAppsHook
copyDesktopItems
];
desktopItems = [ (makeDesktopItem {
name = pname;
desktopName = "Cubiomes Viewer";
exec = pname;
icon = pname;
categories = "Game";
comment = meta.description;
}) ];
preBuild = ''
# QMAKE_PRE_LINK is not executed (I dont know why)
make -C ./cubiomes libcubiomes CFLAGS="-DSTRUCT_CONFIG_OVERRIDE=1" all
'';
installPhase = ''
runHook preInstall
mkdir -p $out/bin
cp cubiomes-viewer $out/bin
mkdir -p $out/share/pixmaps
cp icons/map.png $out/share/pixmaps/cubiomes-viewer.png
runHook postInstall
'';
meta = with lib; {
homepage = "https://github.com/Cubitect/cubiomes-viewer";
description = "A graphical Minecraft seed finder and map viewer";
longDescription = ''
Cubiomes Viewer provides a graphical interface for the efficient and flexible seed-finding
utilities provided by cubiomes and a map viewer for the Minecraft biomes and structure generation.
'';
platforms = platforms.all;
license = licenses.gpl3Plus;
maintainers = with maintainers; [ hqurve ];
};
}

View File

@ -0,0 +1,25 @@
{ lib, mkDerivation, fetchFromGitHub, cmake, qtsvg, qtwebengine, qttranslations }:
mkDerivation rec {
pname = "PageEdit";
version = "1.7.0";
src = fetchFromGitHub {
owner = "Sigil-Ebook";
repo = pname;
rev = version;
hash = "sha256-/t08ZS2iYWIDkco0nhACBQs1X+X77SJ/g+ow7KemfRY=";
};
nativeBuildInputs = [ cmake qttranslations ];
propagatedBuildInputs = [ qtsvg qtwebengine ];
cmakeFlags = "-DINSTALL_BUNDLED_DICTS=0";
meta = with lib; {
description = "ePub XHTML Visual Editor";
homepage = "https://sigil-ebook.com/pageedit/";
license = licenses.gpl3Plus;
maintainers = [ maintainers.pasqui23 ];
platforms = platforms.all;
};
}

View File

@ -1,5 +1,5 @@
{ lib
, python3Packages
, python3
, fetchFromGitHub
, enableGoogle ? false
, enableAWS ? false
@ -7,59 +7,88 @@
, enableSSH ? false
}:
with python3Packages;
buildPythonApplication rec {
python3.pkgs.buildPythonApplication rec {
pname = "dvc";
version = "0.24.3";
version = "2.9.3";
format = "setuptools";
# PyPi only has wheel
src = fetchFromGitHub {
owner = "iterative";
repo = "dvc";
repo = pname;
rev = version;
sha256 = "1wqq4i23hppilp20fx5a5nj93xwf3wwwr2f8aasvn6jkv2l22vpl";
hash = "sha256-nRlgo7Wjs7RgTUxoMYQh5YEsqiJtdWH2ex79rhXagAQ=";
};
propagatedBuildInputs = [
ply
configparser
zc_lockfile
future
nativeBuildInputs = with python3.pkgs; [
setuptools-scm
setuptools-scm-git-archive
];
propagatedBuildInputs = with python3.pkgs; [
appdirs
aiohttp-retry
colorama
configobj
networkx
pyyaml
GitPython
setuptools
nanotime
pyasn1
schema
jsonpath_rw
requests
grandalf
asciimatics
configobj
dictdiffer
diskcache
distro
appdirs
]
++ lib.optional enableGoogle google-cloud-storage
++ lib.optional enableAWS boto3
++ lib.optional enableAzure azure-storage-blob
++ lib.optional enableSSH paramiko;
# tests require access to real cloud services
# nix build tests have to be isolated and run locally
doCheck = false;
dpath
flatten-dict
flufl_lock
funcy
grandalf
nanotime
networkx
pathspec
ply
psutil
pydot
pygtrie
pyparsing
python-benedict
requests
rich
ruamel-yaml
scmrepo
shortuuid
shtab
tabulate
toml
tqdm
typing-extensions
voluptuous
zc_lockfile
] ++ lib.optional enableGoogle [
google-cloud-storage
] ++ lib.optional enableAWS [
boto3
] ++ lib.optional enableAzure [
azure-storage-blob
] ++ lib.optional enableSSH [
paramiko
] ++ lib.optionals (pythonOlder "3.8") [
importlib-metadata
] ++ lib.optionals (pythonOlder "3.9") [
importlib-resources
];
patches = [ ./dvc-daemon.patch ];
postPatch = ''
substituteInPlace dvc/daemon.py --subst-var-by dvc "$out/bin/dcv"
substituteInPlace setup.cfg \
--replace "grandalf==0.6" "grandalf>=0.6"
substituteInPlace dvc/daemon.py \
--subst-var-by dvc "$out/bin/dcv"
'';
# Tests require access to real cloud services
doCheck = false;
meta = with lib; {
description = "Version Control System for Machine Learning Projects";
license = licenses.asl20;
homepage = "https://dvc.org";
maintainers = with maintainers; [ cmcdragonkai ];
license = licenses.asl20;
maintainers = with maintainers; [ cmcdragonkai fab ];
};
}

View File

@ -1,21 +1,18 @@
diff --git a/dvc/daemon.py b/dvc/daemon.py
index 1d67a37..7ce6fde 100644
index 9854a0e1..fefdd613 100644
--- a/dvc/daemon.py
+++ b/dvc/daemon.py
@@ -67,14 +67,8 @@ def daemon(args):
Args:
args (list): list of arguments to append to `dvc daemon` command.
"""
- cmd = [sys.executable]
- if not is_binary():
- cmd += ['-m', 'dvc']
- cmd += ['daemon', '-q'] + args
@@ -103,11 +103,8 @@ def daemon(args):
logger.debug("skipping launching a new daemon.")
return
- cmd = ["daemon", "-q"] + args
-
- env = fix_env()
- file_path = os.path.abspath(inspect.stack()[0][1])
- env['PYTHONPATH'] = os.path.dirname(os.path.dirname(file_path))
- env["PYTHONPATH"] = os.path.dirname(os.path.dirname(file_path))
+ cmd = [ "@dvc@" , "daemon", "-q"] + args
+ env = None
env[DVC_DAEMON] = "1"
logger.debug("Trying to spawn '{}' with env '{}'".format(cmd, env))
_spawn(cmd, env)

View File

@ -6,10 +6,10 @@ buildPythonApplication rec {
version = "0.8.8";
src = fetchFromGitHub {
owner = "sdg-mit";
owner = "gitless-vcs";
repo = "gitless";
rev = "v${version}";
sha256 = "1q6y38f8ap6q1livvfy0pfnjr0l8b68hyhc9r5v87fmdyl7y7y8g";
sha256 = "sha256-xo5EWtP2aN8YzP8ro3bnxZwUGUp0PHD0g8hk+Y+gExE=";
};
propagatedBuildInputs = with pythonPackages; [ sh pygit2 clint ];

View File

@ -0,0 +1,30 @@
{ lib, buildKodiAddon, fetchzip, addonUpdateScript, dateutil, typing_extensions }:
buildKodiAddon rec {
pname = "arrow";
namespace = "script.module.arrow";
version = "1.0.3.1";
src = fetchzip {
url = "https://mirrors.kodi.tv/addons/matrix/${namespace}/${namespace}-${version}.zip";
sha256 = "0xa16sb2hls59l4gsg1xwb1qbkhcvbykq02l05n5rcm0alg80l3l";
};
propagatedBuildInputs = [
dateutil
typing_extensions
];
passthru = {
pythonPath = "lib";
updateScript = addonUpdateScript {
attrPath = "kodi.packages.arrow";
};
};
meta = with lib; {
homepage = "https://github.com/razzeee/script.module.arrow";
description = "Better dates & times for Python";
license = licenses.asl20;
maintainers = teams.kodi.members;
};
}

View File

@ -0,0 +1,31 @@
{ lib, buildKodiAddon, fetchzip, addonUpdateScript, requests, six, arrow }:
buildKodiAddon rec {
pname = "trakt-module";
namespace = "script.module.trakt";
version = "4.4.0+matrix.1";
src = fetchzip {
url = "https://mirrors.kodi.tv/addons/matrix/${namespace}/${namespace}-${version}.zip";
sha256 = "19kjhrykx92sy67cajxjckzdwgq47ipwml0bx9vmdr9d191h14p8";
};
propagatedBuildInputs = [
requests
six
arrow
];
passthru = {
pythonPath = "lib";
updateScript = addonUpdateScript {
attrPath = "kodi.packages.trakt-module";
};
};
meta = with lib; {
homepage = "https://github.com/Razzeee/script.module.trakt";
description = "Python trakt.py library packed for Kodi";
license = licenses.mit;
maintainers = teams.kodi.members;
};
}

View File

@ -0,0 +1,30 @@
{ lib, buildKodiAddon, fetchzip, addonUpdateScript, trakt-module, dateutil }:
buildKodiAddon rec {
pname = "trakt";
namespace = "script.trakt";
version = "3.5.0";
src = fetchzip {
url = "https://mirrors.kodi.tv/addons/matrix/${namespace}/${namespace}-${version}.zip";
sha256 = "07fb0wjcr8ggidswrjs1r1hzi6grykiyi855bgm7pjzzk95kl99v";
};
propagatedBuildInputs = [
dateutil
trakt-module
];
passthru = {
pythonPath = "lib";
updateScript = addonUpdateScript {
attrPath = "kodi.packages.trakt";
};
};
meta = with lib; {
homepage = "https://kodi.wiki/view/Add-on:Trakt";
description = "Trakt.tv movie and TV show scrobbler for Kodi";
license = licenses.gpl2Only;
maintainers = teams.kodi.members;
};
}

View File

@ -0,0 +1,25 @@
{ lib, buildKodiAddon, fetchzip, addonUpdateScript }:
buildKodiAddon rec {
pname = "typing_extensions";
namespace = "script.module.typing_extensions";
version = "3.7.4.3";
src = fetchzip {
url = "https://mirrors.kodi.tv/addons/matrix/${namespace}/${namespace}-${version}.zip";
sha256 = "0p28hchj05hmccs6b2836kh4vqdqnl169409f2845d0nw9y4wkqq";
};
passthru = {
pythonPath = "lib";
updateScript = addonUpdateScript {
attrPath = "kodi.packages.typing_extensions";
};
};
meta = with lib; {
homepage = "https://github.com/python/typing/tree/master/typing_extensions";
description = "Python typing extensions";
license = licenses.psfl;
maintainers = teams.kodi.members;
};
}

View File

@ -224,7 +224,7 @@ let
"''${dotnetInstallFlags[@]}" \
"''${dotnetFlags[@]}"
done
'' + (lib.optionalString packNupkg ''
'' + lib.optionalString packNupkg ''
for project in ''${projectFile[@]}; do
dotnet pack "$project" \
-p:ContinuousIntegrationBuild=true \
@ -235,16 +235,24 @@ let
"''${dotnetPackFlags[@]}" \
"''${dotnetFlags[@]}"
done
'') + (if executables != null then ''
for executable in $executables; do
'' + ''
runHook postInstall
'';
preFixup = ''
_wrapDotnetProgram() {
makeWrapper "$1" "$out/bin/$(basename "$executable")" \
--set DOTNET_ROOT "${dotnet-runtime}" \
--suffix LD_LIBRARY_PATH : "${lib.makeLibraryPath runtimeDeps}" \
"''${gappsWrapperArgs[@]}" \
"''${makeWrapperArgs[@]}"
}
'' + (if executables != null then ''
for executable in ''${executables[@]}; do
execPath="$out/lib/${args.pname}/$executable"
if [[ -f "$execPath" && -x "$execPath" ]]; then
makeWrapper "$execPath" "$out/bin/$(basename "$executable")" \
--set DOTNET_ROOT "${dotnet-runtime}" \
--suffix LD_LIBRARY_PATH : "${lib.makeLibraryPath runtimeDeps}" \
"''${gappsWrapperArgs[@]}" \
"''${makeWrapperArgs[@]}"
_wrapDotnetProgram $execPath
else
echo "Specified binary \"$executable\" is either not an executable, or does not exist!"
exit 1
@ -253,16 +261,10 @@ let
'' else ''
for executable in $out/lib/${args.pname}/*; do
if [[ -f "$executable" && -x "$executable" && "$executable" != *"dll"* ]]; then
makeWrapper "$executable" "$out/bin/$(basename "$executable")" \
--set DOTNET_ROOT "${dotnet-runtime}" \
--suffix LD_LIBRARY_PATH : "${lib.makeLibraryPath runtimeDeps}" \
"''${gappsWrapperArgs[@]}" \
"''${makeWrapperArgs[@]}"
_wrapDotnetProgram $executable
fi
done
'') + ''
runHook postInstall
'';
'');
});
in
package

View File

@ -0,0 +1,65 @@
{ lib
, stdenvNoCC
, fetchFromGitHub
, gtk3
, hicolor-icon-theme
, jdupes
, allColorVariants ? false
, circularFolder ? false
, colorVariants ? [] # default is standard
}:
let
pname = "tela-circle-icon-theme";
in
lib.checkListOfEnum "${pname}: color variants" [ "standard" "black" "blue" "brown" "green" "grey" "orange" "pink" "purple" "red" "yellow" "manjaro" "ubuntu" ] colorVariants
stdenvNoCC.mkDerivation rec {
inherit pname;
version = "unstable-2021-12-24";
src = fetchFromGitHub {
owner = "vinceliuice";
repo = pname;
rev = "aa1f1446b6dbc6acfe3ee247e6841369c68e1495";
sha256 = "03f79h6kv5vbf92fhpi1wivzvcrfvvdvkhbmy805x4b4wl7qynki";
};
nativeBuildInputs = [
gtk3
jdupes
];
propagatedBuildInputs = [
hicolor-icon-theme
];
dontDropIconThemeCache = true;
# These fixup steps are slow and unnecessary for this package.
# Package may installs almost 400 000 small files.
dontPatchELF = true;
dontRewriteSymlinks = true;
installPhase = ''
runHook preInstall
patchShebangs install.sh
./install.sh -d $out/share/icons \
${lib.optionalString circularFolder "-c"} \
${if allColorVariants then "-a" else builtins.toString colorVariants}
jdupes -L -r $out/share/icons
runHook postInstall
'';
meta = with lib; {
description = "Flat and colorful personality icon theme";
homepage = "https://github.com/vinceliuice/Tela-circle-icon-theme";
license = licenses.gpl3Only;
platforms = platforms.unix;
maintainers = with maintainers; [ romildo ];
};
}

View File

@ -15,28 +15,21 @@
let
pname = "graphite-gtk-theme";
throwIfNotSubList = name: given: valid:
let
unexpected = lib.subtractLists valid given;
in
lib.throwIfNot (unexpected == [])
"${name}: ${builtins.concatStringsSep ", " (builtins.map builtins.toString unexpected)} unexpected; valid ones: ${builtins.concatStringsSep ", " (builtins.map builtins.toString valid)}";
in
throwIfNotSubList "${pname}: theme variants" themeVariants [ "default" "purple" "pink" "red" "orange" "yellow" "green" "teal" "blue" "all" ]
throwIfNotSubList "${pname}: color variants" colorVariants [ "standard" "light" "dark" ]
throwIfNotSubList "${pname}: size variants" sizeVariants [ "standard" "compact" ]
throwIfNotSubList "${pname}: tweaks" tweaks [ "nord" "black" "midblack" "rimless" "normal" ]
lib.checkListOfEnum "${pname}: theme variants" [ "default" "purple" "pink" "red" "orange" "yellow" "green" "teal" "blue" "all" ] themeVariants
lib.checkListOfEnum "${pname}: color variants" [ "standard" "light" "dark" ] colorVariants
lib.checkListOfEnum "${pname}: size variants" [ "standard" "compact" ] sizeVariants
lib.checkListOfEnum "${pname}: tweaks" [ "nord" "black" "midblack" "rimless" "normal" ] tweaks
stdenvNoCC.mkDerivation {
inherit pname;
version = "unstable-2022-01-04";
version = "unstable-2022-01-07";
src = fetchFromGitHub {
owner = "vinceliuice";
repo = pname;
rev = "947cac4966377d8f5b5a4e2966ec2b9a6041d205";
sha256 = "11pl8hzk4fwniqdib0ffvjilpspr1n5pg1gw39kal13wxh4sdg28";
rev = "78e5421fee63b4c2a2a3d2e321538367b01a24ec";
sha256 = "1vfvv1gfbr9yr9mz0kb7c7ij6pxcryni1fjs87gn4hpyzns431wk";
};
nativeBuildInputs = [

View File

@ -10,24 +10,42 @@
, optipng
, sassc
, which
, buttonSizeVariants ? [] # default to standard
, buttonVariants ? [] # default to all
, colorVariants ? [] # default to all
, opacityVariants ? [] # default to all
, themeVariants ? [] # default to MacOS blue
, wallpapers ? false
}:
stdenv.mkDerivation rec {
let
pname = "mojave-gtk-theme";
version = "2021-07-20";
in
lib.checkListOfEnum "${pname}: button size variants" [ "standard" "small" ] buttonSizeVariants
lib.checkListOfEnum "${pname}: button variants" [ "standard" "alt" ] buttonVariants
lib.checkListOfEnum "${pname}: color variants" [ "light" "dark" ] colorVariants
lib.checkListOfEnum "${pname}: opacity variants" [ "standard" "solid" ] opacityVariants
lib.checkListOfEnum "${pname}: theme variants" [ "default" "blue" "purple" "pink" "red" "orange" "yellow" "green" "grey" "all" ] themeVariants
stdenv.mkDerivation rec {
inherit pname;
version = "unstable-2021-12-20";
srcs = [
(fetchFromGitHub {
owner = "vinceliuice";
repo = pname;
rev = version;
sha256 = "08j70kmjhvh06c3ahcracarrfq4vpy0zsp6zkcivbw4nf3bzp2zc";
rev = "c148646ccab382f7a2d5fdc421fc32d843cb4172";
sha256 = "sha256-h4MSSh8cu9M81bM+WJSyl1SQ7CVth1DvjIVOUJXqpxs";
})
]
++
lib.optional wallpapers
(fetchurl {
url = "https://github.com/vinceliuice/Mojave-gtk-theme/raw/11741a99d96953daf9c27e44c94ae50a7247c0ed/macOS_Mojave_Wallpapers.tar.xz";
sha256 = "18zzkwm1kqzsdaj8swf0xby1n65gxnyslpw4lnxcx1rphip0rwf7";
})
];
;
sourceRoot = "source";
@ -76,9 +94,23 @@ stdenv.mkDerivation rec {
installPhase = ''
runHook preInstall
name= ./install.sh --theme all --dest $out/share/themes
install -D -t $out/share/wallpapers ../"macOS Mojave Wallpapers"/*
jdupes -l -r $out/share
name= ./install.sh \
${lib.optionalString (buttonSizeVariants != []) "--small " + builtins.toString buttonSizeVariants} \
${lib.optionalString (buttonVariants != []) "--alt " + builtins.toString buttonVariants} \
${lib.optionalString (colorVariants != []) "--color " + builtins.toString colorVariants} \
${lib.optionalString (opacityVariants != []) "--opacity " + builtins.toString opacityVariants} \
${lib.optionalString (themeVariants != []) "--theme " + builtins.toString themeVariants} \
--dest $out/share/themes
${lib.optionalString wallpapers ''
install -D -t $out/share/wallpapers ../"macOS Mojave Wallpapers"/*
''}
# Replace duplicate files with hardlinks to the first file in each
# set of duplicates, reducing the installed size in about 53%
jdupes -L -r $out/share
runHook postInstall
'';

View File

@ -1,77 +1,84 @@
{ lib, stdenv, fetchFromGitHub, gtk-engine-murrine }:
{ lib
, stdenv
, fetchFromGitHub
, gtk-engine-murrine
, jdupes
}:
stdenv.mkDerivation rec {
pname = "nordic";
version = "2.1.0";
version = "unstable-2022-01-08";
srcs = [
(fetchFromGitHub {
owner = "EliverLara";
repo = pname;
rev = "0112af91943b8819f7a1af9a508cda7fe3d74051";
sha256 = "sha256-ccOA5/jXTx20495NpTgVu7DvsjfTEULqL3IyJ+Pd/ug";
rev = "85086324c2a8fa7ca538b85ad0681e03733b2c86";
sha256 = "sha256-p1nr71iJZm+2123WF67NkunBX2dR4ruK2Afqd7XdeGc=";
name = "Nordic";
})
(fetchFromGitHub {
owner = "EliverLara";
repo = pname;
rev = "b30d2c844cc6ef5d020308f1c02791de45b607a7";
sha256 = "sha256-g5yCCFXzipZLmUat+1r6QWHB7DWQvMKhMexHPV/DJHM";
rev = "46c9e6665963ccb54938d7730e520bd8c52f4307";
sha256 = "sha256-uFnNLshyKOvzaij7tEKb0fw0j3/GGfzznAf/aaKx7XI=";
name = "Nordic-standard-buttons";
})
(fetchFromGitHub {
owner = "EliverLara";
repo = pname;
rev = "6d38d6af363528f42619f663e3ecd4c08dfd2411";
sha256 = "sha256-jaRiSE6yfTltzZ2vr8w4d+YtSz7REOcL7vOOhQvIMlQ";
rev = "da5c930386427fce65ea185f164709c8a20e362f";
sha256 = "sha256-Ee9ymuMWs2ZgU+8FVLaviGtHMT4Sz5NWLaEGln2Z4V0=";
name = "Nordic-darker";
})
(fetchFromGitHub {
owner = "EliverLara";
repo = pname;
rev = "4142817c14c27b371d42796445bedc84dc94672c";
sha256 = "sha256-FAb1+EREcwYrfSxAl6LrPaJtkHMt67NV3bG87g1cFT4";
rev = "fd85fb2712ac1192e35c92149b75bfc3c440b1c7";
sha256 = "sha256-6WUQBeNq7EKNkYcCt/fUYloue90gxfp8bDYawkQQ6ss=";
name = "Nordic-darker-standard-buttons";
})
(fetchFromGitHub {
owner = "EliverLara";
repo = pname;
rev = "2a91d6f3db70412b0a80ed33546fbe93075627d8";
sha256 = "sha256-Su+amS7moc2IDONNvqw3bjL6Q0WLJWzHu6WvfcVDcDY";
rev = "259e30ce13566214c7594b038dd2c240648a07a0";
sha256 = "sha256-F6hC6XbT9yJl6SW9qJNlwmmBcvOrOS5yPCQALZFhgbM=";
name = "Nordic-bluish-accent";
})
(fetchFromGitHub {
owner = "EliverLara";
repo = pname;
rev = "3ebd334f97d638fdc888b16d69851e3ee31131f2";
sha256 = "sha256-h0IXtWcdDvAEVi/1cLZF4Vacdl6VAY+5uo0LGPNe0bg";
rev = "2a27051d87558dfa595fb94eff34241d3a1b8c30";
sha256 = "sha256-JIld6GVtr1tz02Do2Ft92qtza6iGrPapasd6jmMFG6k=";
name = "Nordic-bluish-accent-standard-buttons";
})
(fetchFromGitHub {
owner = "EliverLara";
repo = "${pname}-polar";
rev = "803926882f8178c72b433466a377aaa33c5b372a";
sha256 = "sha256-G7Vu03PoFOEU9uxb5JiHR4Tr8qk47fPo7Gg7Vt9Zzns";
rev = "0bea76aed39bb2a2669278b8403c4129aa47be0f";
sha256 = "sha256-OXmz6uHXh1zl93sgv5WEwARkEUCr4PRh0/mJyMLXpnk=";
name = "Nordic-Polar";
})
(fetchFromGitHub {
owner = "EliverLara";
repo = "${pname}-polar";
rev = "988cb8a16ece3901b8b0e7a5b86503400491cb1e";
sha256 = "sha256-Zx1mrzJm5o4wQwOR8ZU2OEcjD3/6UXwLrBYpMtCkQbg";
rev = "8fe52b6c276a7e548e87a558db6734cf9f003b06";
sha256 = "sha256-/IxlBvMLAK+mGRyaa7bTv/oZS24nSNeE5GsyJIeN6UU=";
name = "Nordic-Polar-standard-buttons";
})
];
sourceRoot = ".";
nativeBuildInputs = [ jdupes ];
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
installPhase = ''
@ -101,6 +108,10 @@ stdenv.mkDerivation rec {
mv -v $out/share/themes/Nordic/kde/sddm/* $out/share/sddm/themes/Nordic/
rm -rf $out/share/themes/Nordic/kde
# Replace duplicate files with hardlinks to the first file in each
# set of duplicates, reducing the installed size in about 65%
jdupes -L -r $out/share
runHook postInstall
'';

View File

@ -0,0 +1,24 @@
{ lib, rustPlatform, fetchFromGitHub }:
rustPlatform.buildRustPackage rec {
pname = "yex-lang";
version = "unstable-2021-12-25";
src = fetchFromGitHub {
owner = "nonamesc";
repo = "yex-lang";
rev = "a97def1431b73b8693700f530ec023f1776eaf83";
sha256 = "074x9j0ihjpaghnwywq5zyxfad2h6m57c2i58wkz6chma6vcjk08";
fetchSubmodules = true;
};
cargoSha256 = "017nszw07gzd2awadasxqyzx4zpb3y6db1zykcixddqxlyg1wwwq";
meta = with lib; {
description = "A cool functional scripting language written in rust";
homepage = "https://github.com/yex-lang/yex-lang";
license = licenses.mit;
maintainers = with maintainers; [ ];
platforms = platforms.all;
};
}

View File

@ -0,0 +1,43 @@
{ lib
, aiohttp
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pytest-aiohttp
, pythonOlder
}:
buildPythonPackage rec {
pname = "aiohttp-retry";
version = "2.5.6";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "inyutin";
repo = "aiohttp_retry";
rev = "v${version}";
hash = "sha256-jyt4YPn3gSgR1YfHYLs+5VCsjAk9Ij+2m5Kzy51CnLk=";
};
propagatedBuildInputs = [
aiohttp
];
checkInputs = [
pytest-aiohttp
pytestCheckHook
];
pythonImportsCheck = [
"aiohttp_retry"
];
meta = with lib; {
description = "Retry client for aiohttp";
homepage = "https://github.com/inyutin/aiohttp_retry";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -0,0 +1,50 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
, setuptools-scm
}:
buildPythonPackage rec {
pname = "dictdiffer";
version = "0.9.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "inveniosoftware";
repo = pname;
rev = "v${version}";
hash = "sha256-lQyPs3lQWtsvNPuvvwJUTDzrFaOX5uwGuRHe3yWUheU=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
nativeBuildInputs = [
setuptools-scm
];
checkInputs = [
pytestCheckHook
];
postPatch = ''
substituteInPlace setup.py \
--replace "'pytest-runner>=2.7'," ""
substituteInPlace pytest.ini \
--replace ' --isort --pydocstyle --pycodestyle --doctest-glob="*.rst" --doctest-modules --cov=dictdiffer --cov-report=term-missing' ""
'';
pythonImportsCheck = [
"dictdiffer"
];
meta = with lib; {
description = "Module to diff and patch dictionaries";
homepage = "https://github.com/inveniosoftware/dictdiffer";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -0,0 +1,46 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, poetry-core
, pytestCheckHook
, pythonOlder
, six
}:
buildPythonPackage rec {
pname = "flatten-dict";
version = "0.4.2";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "ianlini";
repo = pname;
rev = version;
hash = "sha256-uHenKoD4eLm9sMREVuV0BB/oUgh4NMiuj+IWd0hlxNQ=";
};
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [
six
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"flatten_dict"
];
meta = with lib; {
description = "Module for flattening and unflattening dict-like objects";
homepage = "https://github.com/ianlini/flatten-dict";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -3,20 +3,22 @@
, fetchFromGitHub
, pyparsing
, future
, pytest
, pytest-runner
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "grandalf";
version = "0.6";
version = "0.7";
format = "setuptools";
disabled = pythonOlder "3.7";
# fetch from github to acquire tests
src = fetchFromGitHub {
owner = "bdcht";
repo = "grandalf";
repo = pname;
rev = "v${version}";
sha256 = "1f1l288sqna0bca7dwwvyw7wzg9b2613g6vc0g0vfngm7k75b2jg";
hash = "sha256-j2SvpQvDMfwoj2PAQSxzEIyIzzJ61Eb9wgetKyni6A4=";
};
propagatedBuildInputs = [
@ -24,18 +26,22 @@ buildPythonPackage rec {
future
];
checkInputs = [ pytest pytest-runner ];
checkInputs = [
pytestCheckHook
];
patches = [ ./no-setup-requires-pytestrunner.patch ];
patches = [
./no-setup-requires-pytestrunner.patch
];
checkPhase = ''
pytest tests
'';
pythonImportsCheck = [
"grandalf"
];
meta = with lib; {
description = "A python package made for experimentations with graphs and drawing algorithms";
description = "Module for experimentations with graphs and drawing algorithms";
homepage = "https://github.com/bdcht/grandalf";
license = licenses.gpl2;
license = licenses.gpl2Only;
maintainers = with maintainers; [ cmcdragonkai ];
};
}

View File

@ -18,7 +18,7 @@
buildPythonPackage rec {
pname = "hangups";
version = "0.4.15";
version = "0.4.17";
disabled = pythonOlder "3.6";
@ -26,13 +26,12 @@ buildPythonPackage rec {
owner = "tdryer";
repo = "hangups";
rev = "v${version}";
sha256 = "sha256-47OvfFK92AtX6KiYnvro2B17RfQWyzgsgvOfl5T3Kag=";
hash = "sha256-8kNWcRAip9LkmazDUVeDjGWhy/TWzT01c959LA5hb1Q=";
};
postPatch = ''
substituteInPlace setup.py \
--replace "protobuf>=3.1.0,<3.17" "protobuf" \
--replace "async-timeout>=2,<4" "async-timeout" \
--replace "protobuf>=3.1.0,<3.20" "protobuf" \
--replace "MechanicalSoup>=0.6.0,<0.13" "MechanicalSoup"
'';

View File

@ -0,0 +1,32 @@
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
}:
buildPythonPackage rec {
pname = "mailchecker";
version = "4.1.8";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-RLZunjRX7lljKQl+sJ/py8bTR/YZsDewTJao9IBuLbE=";
};
# Module has no tests
doCheck = false;
pythonImportsCheck = [
"MailChecker"
];
meta = with lib; {
description = "Module for temporary (disposable/throwaway) email detection";
homepage = "https://github.com/FGRibreau/mailchecker";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -0,0 +1,75 @@
{ lib
, aiohttp
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
, mailchecker
, phonenumbers
, python-dateutil
, python-fsutil
, python-slugify
, pyyaml
, ftfy
, requests
, six
, toml
, xmltodict
}:
buildPythonPackage rec {
pname = "python-benedict";
version = "0.24.3";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "fabiocaccamo";
repo = pname;
rev = version;
hash = "sha256-06n8MNoGQRSrBK2XeEBBoQ2NIXWf0qXPVBeP9ERMEj0=";
};
propagatedBuildInputs = [
mailchecker
phonenumbers
python-dateutil
python-fsutil
python-slugify
pyyaml
ftfy
requests
six
toml
xmltodict
];
checkInputs = [
pytestCheckHook
];
disabledTests = [
# Tests require network access
"test_from_base64_with_valid_url_valid_content"
"test_from_json_with_valid_url_valid_content"
"test_from_pickle_with_valid_url_valid_content"
"test_from_plist_with_valid_url_valid_content"
"test_from_query_string_with_valid_url_valid_content"
"test_from_toml_with_valid_url_valid_content"
"test_from_xml_with_valid_url_valid_content"
"test_from_yaml_with_valid_url_valid_content"
];
pythonImportsCheck = [
"benedict"
];
meta = with lib; {
description = "Module with keylist/keypath support";
homepage = "https://github.com/fabiocaccamo/python-benedict";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -0,0 +1,51 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
, requests
}:
buildPythonPackage rec {
pname = "python-fsutil";
version = "0.5.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "fabiocaccamo";
repo = pname;
rev = version;
hash = "sha256-zWthL7iwdVzdihX2YA4G//B18iwe1gRT0GM2KNP01kQ=";
};
propagatedBuildInputs = [
requests
];
checkInputs = [
pytestCheckHook
];
pytestFlagsArray = [
"tests/test.py"
];
disabledTests = [
# Tests require network access
"test_download_file"
"test_read_file_from_url"
];
pythonImportsCheck = [
"fsutil"
];
meta = with lib; {
description = "Module with file-system utilities";
homepage = "https://github.com/fabiocaccamo/python-fsutil";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -2,7 +2,6 @@
, asyncclick
, buildPythonPackage
, fetchFromGitHub
, fetchpatch
, importlib-metadata
, poetry-core
, pytest-asyncio
@ -14,7 +13,7 @@
buildPythonPackage rec {
pname = "python-kasa";
version = "0.4.0";
version = "0.4.1";
format = "pyproject";
disabled = pythonOlder "3.7";
@ -23,7 +22,7 @@ buildPythonPackage rec {
owner = pname;
repo = pname;
rev = version;
sha256 = "08blmz5kg826l08pf6yrvl8gc8iz3hfb6wsfqih606dal08kdhdi";
sha256 = "sha256-4e9jpUDorZlKCYwWtqrba61zbkJl57oWUhEpFcaS9ak=";
};
nativeBuildInputs = [
@ -42,26 +41,14 @@ buildPythonPackage rec {
voluptuous
];
patches = [
# Switch to poetry-core, https://github.com/python-kasa/python-kasa/pull/226
(fetchpatch {
name = "switch-to-poetry-core.patch";
url = "https://github.com/python-kasa/python-kasa/commit/05c2a4a7dedbd60038e177b4d3f5ac5798544d11.patch";
sha256 = "0cla11yqx88wj2s50s3xxxhv4nz4h3wd9pi12v79778hzdlg58rr";
})
];
postPatch = ''
substituteInPlace pyproject.toml \
--replace 'asyncclick = "^7"' 'asyncclick = "*"'
'';
disabledTestPaths = [
# Skip the examples tests
"kasa/tests/test_readme_examples.py"
];
pythonImportsCheck = [ "kasa" ];
pythonImportsCheck = [
"kasa"
];
meta = with lib; {
description = "Python API for TP-Link Kasa Smarthome products";

View File

@ -0,0 +1,53 @@
{ lib
, asyncssh
, buildPythonPackage
, dulwich
, fetchFromGitHub
, fsspec
, funcy
, GitPython
, pathspec
, pygit2
, pygtrie
, pythonOlder
}:
buildPythonPackage rec {
pname = "scmrepo";
version = "0.0.7";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "iterative";
repo = pname;
rev = version;
hash = "sha256-tZsogqcfAqpSo9yOz4z0mgY9SVU1epPmcBuyLJsHLfY=";
};
propagatedBuildInputs = [
asyncssh
dulwich
fsspec
funcy
GitPython
pathspec
pygit2
pygtrie
];
# Requires a running Docker instance
doCheck = false;
pythonImportsCheck = [
"scmrepo"
];
meta = with lib; {
description = "SCM wrapper and fsspec filesystem";
homepage = "https://github.com/iterative/scmrepo";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -0,0 +1,55 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytest-timeout
, pytestCheckHook
, pythonOlder
, setuptools-scm
}:
buildPythonPackage rec {
pname = "shtab";
version = "1.5.3";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "iterative";
repo = pname;
rev = "v${version}";
hash = "sha256-Wuc4m3VdOGEcevYXUpbL4gTvyW9t13pj57zPYdqx0UY=";
};
SETUPTOOLS_SCM_PRETEND_VERSION = version;
nativeBuildInputs = [
setuptools-scm
];
checkInputs = [
pytest-timeout
pytestCheckHook
];
postPatch = ''
substituteInPlace setup.cfg \
--replace " --cov=shtab --cov-report=term-missing --cov-report=xml" ""
'';
disabledTests = [
# bash tests are failing
"bash"
];
pythonImportsCheck = [
"shtab"
];
meta = with lib; {
description = "Module for shell tab completion of Python CLI applications";
homepage = "https://docs.iterative.ai/shtab/";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -0,0 +1,34 @@
{ lib
, callPackage
, fetchPypi
, buildPythonPackage
, wandb
, wasabi
}:
buildPythonPackage rec {
pname = "spacy-loggers";
version = "1.0.1";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-F9DiSbLmxlRsSfxlYaCmhfkajtvySlsrd1nq1EPHRlQ=";
};
propagatedBuildInputs = [
wandb
wasabi
];
pythonImportsCheck = [ "spacy_loggers" ];
# skipping the checks, becaus it requires a cycle dependency to spacy as well.
doCheck = false;
meta = with lib; {
description = "Logging utilities for spaCy";
homepage = "https://github.com/explosion/spacy-loggers";
license = licenses.mit;
maintainers = with maintainers; [ stunkymonkey ];
};
}

View File

@ -25,17 +25,19 @@
, python
, tqdm
, typing-extensions
, spacy-loggers
, langcodes
}:
buildPythonPackage rec {
pname = "spacy";
version = "3.2.0";
version = "3.2.1";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "68e54b2a14ce74eeecea9bfb0b9bdadf8a4a8157765dbefa7e50d25a1bf0f2f3";
sha256 = "sha256-9uusURYndAqMorEXuR71UVyPCy+xF6aevgHQEN1PxTw=";
};
propagatedBuildInputs = [
@ -58,6 +60,8 @@ buildPythonPackage rec {
tqdm
typer
wasabi
spacy-loggers
langcodes
] ++ lib.optional (pythonOlder "3.8") typing-extensions;
checkInputs = [

View File

@ -23,6 +23,7 @@ stdenv.mkDerivation rec {
buildInputs = [ zlib openssl ];
nativeBuildInputs = [ autoPatchelfHook cmake xxHash ];
enableParallelBuilding = true;
dontUseCmakeConfigure = true;
EXTRA_LDFLAGS = "-fuse-ld=${llvmPackages_latest.lld}/bin/ld.lld";
LTO = 1;

View File

@ -1,7 +1,7 @@
{ lib, buildDotnetModule, fetchFromGitHub, makeDesktopItem, copyDesktopItems
, libX11, libgdiplus, ffmpeg
, SDL2_mixer, openal, libsoundio, sndio, pulseaudio
, gtk3, gobject-introspection, gdk-pixbuf, wrapGAppsHook
, gtk3, gdk-pixbuf, wrapGAppsHook
}:
buildDotnetModule rec {
@ -27,7 +27,10 @@ buildDotnetModule rec {
nativeBuildInputs = [
copyDesktopItems
wrapGAppsHook
gobject-introspection
];
buildInputs = [
gtk3
gdk-pixbuf
];
@ -78,6 +81,7 @@ buildDotnetModule rec {
changelog = "https://github.com/Ryujinx/Ryujinx/wiki/Changelog";
maintainers = [ maintainers.ivar ];
platforms = [ "x86_64-linux" ];
mainProgram = "Ryujinx";
};
passthru.updateScript = ./updater.sh;
}

View File

@ -1,36 +1,29 @@
{lib, stdenv, fetchgit, rcinit ? null, rcshutdown ? null, rcreboot ? null}:
let
s = # Generated upstream information
rec {
baseName="sinit";
version="1.1";
name="${baseName}-${version}";
url="https://git.suckless.org/sinit/";
sha256="sha256-VtXkgixgElKKOT26uKN9feXDVjjtSgTWvcgk5o5MLmw=";
{ lib, stdenv, fetchgit, rcinit ? null, rcshutdown ? null, rcreboot ? null }:
stdenv.mkDerivation rec {
pname = "sinit";
version = "1.1";
src = fetchgit {
url = "https://git.suckless.org/sinit/";
sha256 = "sha256-VtXkgixgElKKOT26uKN9feXDVjjtSgTWvcgk5o5MLmw=";
rev = "refs/tags/v${version}";
};
buildInputs = [
(lib.getOutput "static" stdenv.cc.libc)
];
in
stdenv.mkDerivation {
inherit (s) name version;
inherit buildInputs;
src = fetchgit {
inherit (s) url sha256 rev;
};
makeFlags = ["PREFIX=$(out)"];
makeFlags = [ "PREFIX=$(out)" ];
preConfigure = ""
+ (lib.optionalString (rcinit != null) ''sed -re 's@(rcinitcmd[^"]*")[^"]*"@\1${rcinit}"@' -i config.def.h; '')
+ (lib.optionalString (rcshutdown != null) ''sed -re 's@(rc(reboot|poweroff)cmd[^"]*")[^"]*"@\1${rcshutdown}"@' -i config.def.h; '')
+ (lib.optionalString (rcreboot != null) ''sed -re 's@(rc(reboot)cmd[^"]*")[^"]*"@\1${rcreboot}"@' -i config.def.h; '')
;
meta = {
inherit (s) version;
;
meta = with lib; {
description = "A very minimal Linux init implementation from suckless.org";
license = lib.licenses.mit ;
maintainers = [lib.maintainers.raskin];
platforms = lib.platforms.linux;
license = licenses.mit;
maintainers = with maintainers; [ raskin ];
platforms = platforms.linux;
homepage = "https://tools.suckless.org/sinit";
downloadPage = "https://git.suckless.org/sinit";
};

View File

@ -1,27 +1,32 @@
{ lib, stdenv, fetchFromGitHub, file, openssl, makeWrapper, which, curl, fetchpatch }:
{ lib
, stdenv
, fetchFromGitHub
, file
, openssl
, makeWrapper
, which
, curl
}:
stdenv.mkDerivation rec {
pname = "check_ssl_cert";
version = "1.80.0";
version = "2.19.0";
src = fetchFromGitHub {
owner = "matteocorti";
repo = "check_ssl_cert";
rev = "v${version}";
sha256 = "1jkwii45hynil1jail9gmz4bak066rdi8zfcczicjsa6npbz50w4";
sha256 = "sha256-HNvchmP975k971EYpDFCqxx8w1Oq/IIEy+r1il0PjmQ=";
};
patches = [
# https://github.com/matteocorti/check_ssl_cert/pull/114
(fetchpatch {
url = "https://github.com/matteocorti/check_ssl_cert/commit/2b7aad583d507a70605dd44d918739a65b267bfd.patch";
sha256 = "1jk872jgm6k3qc1ks1h3v6p804spjlnxcj2wc8v0hkmwfwiwd2k4";
})
nativeBuildInputs = [
makeWrapper
];
nativeBuildInputs = [ makeWrapper ];
makeFlags = [ "DESTDIR=$(out)/bin" "MANDIR=$(out)/share/man" ];
makeFlags = [
"DESTDIR=$(out)/bin"
"MANDIR=$(out)/share/man"
];
postInstall = ''
wrapProgram $out/bin/check_ssl_cert \
@ -29,8 +34,10 @@ stdenv.mkDerivation rec {
'';
meta = with lib; {
description = "A Nagios plugin to check the CA and validity of an X.509 certificate";
license = licenses.gpl3;
description = "Nagios plugin to check the CA and validity of an X.509 certificate";
homepage = "https://github.com/matteocorti/check_ssl_cert";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ ];
platforms = platforms.all;
};
}

View File

@ -68,7 +68,7 @@ buildDotnetModule rec {
"OpenTabletDriver.Tests.PluginRepositoryTest.ExpandRepositoryTarball"
];
postInstall = ''
postFixup = ''
# Give a more "*nix" name to the binaries
mv $out/bin/OpenTabletDriver.Console $out/bin/otd
mv $out/bin/OpenTabletDriver.Daemon $out/bin/otd-daemon

View File

@ -4,7 +4,7 @@
let
major = "3.12";
minor = "2";
minor = "3";
binpath = lib.makeBinPath [ dvdauthor vcdimager ];
in stdenv.mkDerivation rec {
@ -13,7 +13,7 @@ in stdenv.mkDerivation rec {
src = fetchurl {
url = "mirror://gnome/sources/brasero/${major}/${pname}-${version}.tar.xz";
sha256 = "0h90y674j26rvjahb8cc0w79zx477rb6zaqcj26wzvq8kmpic8k8";
hash = "sha256-h3SerjOhQSB9GwC+IzttgEWYLtMkntS5ja4fOpdf6hU=";
};
nativeBuildInputs = [ pkg-config itstool intltool wrapGAppsHook ];

View File

@ -41,6 +41,7 @@ buildDotnetModule rec {
buildInputs = [
stdenv.cc.cc.lib
fontconfig
gtk3
];
runtimeDeps = [
@ -58,5 +59,7 @@ buildDotnetModule rec {
homepage = "https://github.com/trippsc2/OpenTracker";
license = licenses.mit;
maintainers = [ maintainers.ivar ];
mainProgram = "OpenTracker";
platforms = platforms.linux;
};
}

View File

@ -4,16 +4,18 @@
, gzip, hdf5, imagemagick, jdk, libarchive, libcaca, llvm, lz4, mono, ocaml, oggvideotools, openssh, openssl, pdftk, pgpdump, poppler_utils, procyon, qemu, R
, radare2, sng, sqlite, squashfsTools, tcpdump, ubootTools, odt2txt, unzip, wabt, xmlbeans, xxd, xz, zip, zstd
, enableBloat ? false
# updater only
, writeScript
}:
# Note: when upgrading this package, please run the list-missing-tools.sh script as described below!
python3Packages.buildPythonApplication rec {
pname = "diffoscope";
version = "197";
version = "200";
src = fetchurl {
url = "https://diffoscope.org/archive/diffoscope-${version}.tar.bz2";
sha256 = "sha256-EKTknFa6gGqd1kpy/k1Vh1Zya+XvBMlU5G6Rg2p66es=";
sha256 = "sha256-x6qAVEtvGmW0L4L/K+YKAp9jc9zz0Orrsl3qBkPYnW0=";
};
outputs = [ "out" "man" ];
@ -91,6 +93,19 @@ python3Packages.buildPythonApplication rec {
"tests/comparators/test_macho.py"
];
passthru = {
updateScript = writeScript "update-diffoscope" ''
#!/usr/bin/env nix-shell
#!nix-shell -i bash -p curl pcre common-updater-scripts
set -eu -o pipefail
# Expect the text in format of "Latest release: 198 (31 Dec 2021)"'.
newVersion="$(curl -s https://diffoscope.org/ | pcregrep -o1 'Latest release: ([0-9]+)')"
update-source-version ${pname} "$newVersion"
'';
};
meta = with lib; {
description = "Perform in-depth comparison of files, archives, and directories";
longDescription = ''

View File

@ -1,4 +1,5 @@
{ lib, stdenv
{ lib
, stdenv
, fetchFromGitHub
, cmake
, gflags
@ -10,32 +11,46 @@
stdenv.mkDerivation rec {
pname = "eternal-terminal";
version = "6.1.9";
version = "6.1.11";
src = fetchFromGitHub {
owner = "MisterTea";
repo = "EternalTerminal";
rev = "et-v${version}";
sha256 = "0kpabxpy779ppkaqaigq0x34ymz1jcwpsa78rm6nr55mdap2xxv6";
hash = "sha256-cCZbG0CD5V/FTj1BuVr083EJ+BCgIcKHomNtpJb3lOo=";
};
cmakeFlags= [
nativeBuildInputs = [
cmake
];
buildInputs = [
gflags
libsodium
openssl
protobuf
zlib
];
cmakeFlags = [
"-DDISABLE_VCPKG=TRUE"
"-DDISABLE_SENTRY=TRUE"
"-DDISABLE_CRASH_LOG=TRUE"
];
CXXFLAGS = lib.optional stdenv.cc.isClang "-std=c++17";
LDFLAGS = lib.optional stdenv.cc.isClang "-lc++fs";
CXXFLAGS = lib.optional stdenv.cc.isClang [
"-std=c++17"
];
nativeBuildInputs = [ cmake ];
buildInputs = [ gflags openssl zlib libsodium protobuf ];
LDFLAGS = lib.optional stdenv.cc.isClang [
"-lc++fs"
];
meta = with lib; {
description = "Remote shell that automatically reconnects without interrupting the session";
license = licenses.asl20;
homepage = "https://eternalterminal.dev/";
platforms = platforms.linux ++ platforms.darwin;
license = licenses.asl20;
maintainers = with maintainers; [ dezgeg pingiun ];
platforms = platforms.linux ++ platforms.darwin;
};
}

View File

@ -0,0 +1,48 @@
{ lib
, stdenv
, rustPlatform
, fetchFromGitHub
, installShellFiles
, pkg-config
, pcsclite
, udev
, PCSC
, IOKit
, CoreFoundation
, AppKit
}:
rustPlatform.buildRustPackage rec {
pname = "solo2-cli";
version = "0.1.1";
src = fetchFromGitHub {
owner = "solokeys";
repo = pname;
rev = "v${version}";
sha256 = "sha256-3GIK0boxGD4Xa5OskP1535zCQyhMQ/oXbgThRivJzww=";
};
cargoSha256 = "sha256-MYxVegXUVeZ4AzDz+Si5TtTjUDEPTO0Nh008rgLtsLw=";
nativeBuildInputs = [ installShellFiles pkg-config ];
buildInputs = [ ]
++ lib.optionals stdenv.isLinux [ pcsclite udev ]
++ lib.optionals stdenv.isDarwin [ PCSC IOKit CoreFoundation AppKit ];
postInstall = ''
installShellCompletion target/*/release/solo2.{bash,fish,zsh}
'';
doCheck = true;
buildFeatures = [ "cli" ];
meta = with lib; {
description = "A CLI tool for managing SoloKeys' Solo2 USB security keys.";
homepage = "https://github.com/solokeys/solo2-cli";
license = with licenses; [ asl20 mit ]; # either at your option
maintainers = with maintainers; [ lukegb ];
};
}

View File

@ -4898,6 +4898,10 @@ with pkgs;
s-tar = callPackage ../tools/archivers/s-tar {};
solo2-cli = callPackage ../tools/security/solo2-cli {
inherit (darwin.apple_sdk.frameworks) PCSC IOKit CoreFoundation AppKit;
};
sonota = callPackage ../tools/misc/sonota { };
sonobuoy = callPackage ../applications/networking/cluster/sonobuoy { };
@ -8532,6 +8536,8 @@ with pkgs;
page = callPackage ../tools/misc/page { };
PageEdit = libsForQt5.callPackage ../applications/office/PageEdit { };
pagmo2 = callPackage ../development/libraries/pagmo2 { };
pakcs = callPackage ../development/compilers/pakcs { };
@ -13890,6 +13896,7 @@ with pkgs;
wasm3 = callPackage ../development/interpreters/wasm3 { };
yex-lang = callPackage ../development/interpreters/yex-lang { };
### DEVELOPMENT / MISC
@ -14447,6 +14454,8 @@ with pkgs;
ctodo = callPackage ../applications/misc/ctodo { };
cubiomes-viewer = libsForQt5.callPackage ../applications/misc/cubiomes-viewer { };
ctmg = callPackage ../tools/security/ctmg { };
cmake_2_8 = callPackage ../development/tools/build-managers/cmake/2.8.nix { };
@ -24024,6 +24033,8 @@ with pkgs;
theano = callPackage ../data/fonts/theano { };
tela-circle-icon-theme = callPackage ../data/icons/tela-circle-icon-theme { };
tela-icon-theme = callPackage ../data/icons/tela-icon-theme { };
template-glib = callPackage ../development/libraries/template-glib { };

View File

@ -164,4 +164,11 @@ let self = rec {
xbmcswift2 = callPackage ../applications/video/kodi/addons/xbmcswift2 { };
typing_extensions = callPackage ../applications/video/kodi/addons/typing_extensions { };
arrow = callPackage ../applications/video/kodi/addons/arrow { };
trakt-module = callPackage ../applications/video/kodi/addons/trakt-module { };
trakt = callPackage ../applications/video/kodi/addons/trakt { };
}; in self

View File

@ -310,6 +310,8 @@ in {
aiohttp-remotes = callPackage ../development/python-modules/aiohttp-remotes { };
aiohttp-retry = callPackage ../development/python-modules/aiohttp-retry { };
aiohttp-socks = callPackage ../development/python-modules/aiohttp-socks { };
aiohttp-swagger = callPackage ../development/python-modules/aiohttp-swagger { };
@ -2118,6 +2120,8 @@ in {
dict2xml = callPackage ../development/python-modules/dict2xml { };
dictdiffer = callPackage ../development/python-modules/dictdiffer { };
dictionaries = callPackage ../development/python-modules/dictionaries { };
dictpath = callPackage ../development/python-modules/dictpath { };
@ -2948,6 +2952,8 @@ in {
inherit (pkgs) flatbuffers;
};
flatten-dict = callPackage ../development/python-modules/flatten-dict { };
flax = callPackage ../development/python-modules/flax { };
flexmock = callPackage ../development/python-modules/flexmock { };
@ -4762,6 +4768,8 @@ in {
mailcap-fix = callPackage ../development/python-modules/mailcap-fix { };
mailchecker = callPackage ../development/python-modules/mailchecker { };
mailchimp = callPackage ../development/python-modules/mailchimp { };
mailman = callPackage ../servers/mail/mailman { };
@ -7786,6 +7794,8 @@ in {
python-baseconv = callPackage ../development/python-modules/python-baseconv { };
python-benedict = callPackage ../development/python-modules/python-benedict { };
python-bidi = callPackage ../development/python-modules/python-bidi { };
python-binance = callPackage ../development/python-modules/python-binance { };
@ -7820,6 +7830,8 @@ in {
python-editor = callPackage ../development/python-modules/python-editor { };
python-fsutil = callPackage ../development/python-modules/python-fsutil { };
pythonefl = callPackage ../development/python-modules/python-efl { };
pythonegardia = callPackage ../development/python-modules/pythonegardia { };
@ -8751,6 +8763,8 @@ in {
scipy = callPackage ../development/python-modules/scipy { };
scmrepo = callPackage ../development/python-modules/scmrepo { };
scour = callPackage ../development/python-modules/scour { };
scp = callPackage ../development/python-modules/scp { };
@ -8898,6 +8912,8 @@ in {
showit = callPackage ../development/python-modules/showit { };
shtab = callPackage ../development/python-modules/shtab { };
shutilwhich = callPackage ../development/python-modules/shutilwhich { };
sievelib = callPackage ../development/python-modules/sievelib { };
@ -9112,6 +9128,8 @@ in {
spacy-legacy = callPackage ../development/python-modules/spacy/legacy.nix { };
spacy-loggers = callPackage ../development/python-modules/spacy-loggers { };
spacy_models = callPackage ../development/python-modules/spacy/models.nix { };
spacy-pkuseg = callPackage ../development/python-modules/spacy-pkuseg { };