Merge master into haskell-updates
This commit is contained in:
commit
61d6c3bc7c
100 changed files with 1059 additions and 388 deletions
|
@ -7264,6 +7264,17 @@
|
|||
githubId = 1267527;
|
||||
name = "Daniel Firth";
|
||||
};
|
||||
lockejan = {
|
||||
email = "git@smittie.de";
|
||||
matrix = "@jan:smittie.de";
|
||||
github = "lockejan";
|
||||
githubId = 25434434;
|
||||
name = "Jan Schmitt";
|
||||
keys = [{
|
||||
longkeyid = "dsa2048/0xA2BC3C6F14351991";
|
||||
fingerprint = "1763 9903 2D7C 5B82 5D5A 0EAD A2BC 3C6F 1435 1991";
|
||||
}];
|
||||
};
|
||||
lodi = {
|
||||
email = "anthony.lodi@gmail.com";
|
||||
github = "lodi";
|
||||
|
|
|
@ -110,6 +110,11 @@ in {
|
|||
source = json.generate "v4l2-monitor.conf" configs.v4l2-monitor;
|
||||
};
|
||||
|
||||
environment.etc."pipewire/media-session.d/with-audio" =
|
||||
mkIf config.services.pipewire.audio.enable {
|
||||
text = "";
|
||||
};
|
||||
|
||||
environment.etc."pipewire/media-session.d/with-alsa" =
|
||||
mkIf config.services.pipewire.alsa.enable {
|
||||
text = "";
|
||||
|
|
|
@ -116,6 +116,16 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
audio = {
|
||||
enable = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
# this is for backwards compatibility
|
||||
default = cfg.alsa.enable || cfg.jack.enable || cfg.pulse.enable;
|
||||
defaultText = lib.literalExpression "config.services.pipewire.alsa.enable || config.services.pipewire.jack.enable || config.services.pipewire.pulse.enable";
|
||||
description = "Whether to use PipeWire as the primary sound server";
|
||||
};
|
||||
};
|
||||
|
||||
alsa = {
|
||||
enable = mkEnableOption "ALSA support";
|
||||
support32Bit = mkEnableOption "32-bit ALSA support on 64-bit systems";
|
||||
|
@ -152,13 +162,18 @@ in {
|
|||
config = mkIf cfg.enable {
|
||||
assertions = [
|
||||
{
|
||||
assertion = cfg.pulse.enable -> !config.hardware.pulseaudio.enable;
|
||||
message = "PipeWire based PulseAudio server emulation replaces PulseAudio. This option requires `hardware.pulseaudio.enable` to be set to false";
|
||||
assertion = cfg.audio.enable -> !config.hardware.pulseaudio.enable;
|
||||
message = "Using PipeWire as the sound server conflicts with PulseAudio. This option requires `hardware.pulseaudio.enable` to be set to false";
|
||||
}
|
||||
{
|
||||
assertion = cfg.jack.enable -> !config.services.jack.jackd.enable;
|
||||
message = "PipeWire based JACK emulation doesn't use the JACK service. This option requires `services.jack.jackd.enable` to be set to false";
|
||||
}
|
||||
{
|
||||
# JACK intentionally not checked, as PW-on-JACK setups are a thing that some people may want
|
||||
assertion = (cfg.alsa.enable || cfg.pulse.enable) -> cfg.audio.enable;
|
||||
message = "Using PipeWire's ALSA/PulseAudio compatibility layers requires running PipeWire as the sound server. Set `services.pipewire.audio.enable` to true.";
|
||||
}
|
||||
];
|
||||
|
||||
environment.systemPackages = [ cfg.package ]
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let
|
||||
cfg = config.services.pipewire.wireplumber;
|
||||
pwCfg = config.services.pipewire;
|
||||
cfg = pwCfg.wireplumber;
|
||||
pwUsedForAudio = pwCfg.audio.enable;
|
||||
in
|
||||
{
|
||||
meta.maintainers = [ lib.maintainers.k900 ];
|
||||
|
@ -33,6 +35,14 @@ in
|
|||
];
|
||||
|
||||
environment.systemPackages = [ cfg.package ];
|
||||
|
||||
environment.etc."wireplumber/main.lua.d/80-nixos.lua" = lib.mkIf (!pwUsedForAudio) {
|
||||
text = ''
|
||||
# Pipewire is not used for audio, so prevent it from grabbing audio devices
|
||||
alsa_monitor.enable = function() end
|
||||
'';
|
||||
};
|
||||
|
||||
systemd.packages = [ cfg.package ];
|
||||
|
||||
systemd.services.wireplumber.enable = config.services.pipewire.systemWide;
|
||||
|
|
|
@ -248,14 +248,11 @@ in
|
|||
RuntimeDirectory = "dendrite";
|
||||
RuntimeDirectoryMode = "0700";
|
||||
EnvironmentFile = lib.mkIf (cfg.environmentFile != null) cfg.environmentFile;
|
||||
ExecStartPre =
|
||||
if (cfg.environmentFile != null) then ''
|
||||
${pkgs.envsubst}/bin/envsubst \
|
||||
-i ${configurationYaml} \
|
||||
-o /run/dendrite/dendrite.yaml
|
||||
'' else ''
|
||||
${pkgs.coreutils}/bin/cp ${configurationYaml} /run/dendrite/dendrite.yaml
|
||||
'';
|
||||
ExecStartPre = ''
|
||||
${pkgs.envsubst}/bin/envsubst \
|
||||
-i ${configurationYaml} \
|
||||
-o /run/dendrite/dendrite.yaml
|
||||
'';
|
||||
ExecStart = lib.strings.concatStringsSep " " ([
|
||||
"${pkgs.dendrite}/bin/dendrite-monolith-server"
|
||||
"--config /run/dendrite/dendrite.yaml"
|
||||
|
|
|
@ -45,7 +45,8 @@ in
|
|||
};
|
||||
instance = mkOption {
|
||||
type = types.nullOr types.str;
|
||||
default = null;
|
||||
default = config.services.varnish.stateDir;
|
||||
defaultText = lib.literalExpression "config.services.varnish.stateDir";
|
||||
description = ''
|
||||
varnishstat -n value.
|
||||
'';
|
||||
|
@ -66,7 +67,7 @@ in
|
|||
};
|
||||
};
|
||||
serviceOpts = {
|
||||
path = [ pkgs.varnish ];
|
||||
path = [ config.services.varnish.package ];
|
||||
serviceConfig = {
|
||||
RestartSec = mkDefault 1;
|
||||
DynamicUser = false;
|
||||
|
|
|
@ -568,7 +568,7 @@ in {
|
|||
"pvcreate /dev/vda1 /dev/vda2",
|
||||
"vgcreate MyVolGroup /dev/vda1 /dev/vda2",
|
||||
"lvcreate --size 1G --name swap MyVolGroup",
|
||||
"lvcreate --size 3G --name nixos MyVolGroup",
|
||||
"lvcreate --size 6G --name nixos MyVolGroup",
|
||||
"mkswap -f /dev/MyVolGroup/swap -L swap",
|
||||
"swapon -L swap",
|
||||
"mkfs.xfs -L nixos /dev/MyVolGroup/nixos",
|
||||
|
|
|
@ -112,7 +112,7 @@ let tests = {
|
|||
in mapAttrs (name: { pkg, executable ? name, cmd ? "SHELL=$command ${executable}", colourTest ? true, pinkValue ? "#FF0087", kill ? false }: makeTest
|
||||
{
|
||||
name = "terminal-emulator-${name}";
|
||||
meta = with pkgs.stdenv.lib.maintainers; {
|
||||
meta = with pkgs.lib.maintainers; {
|
||||
maintainers = [ jjjollyjim ];
|
||||
};
|
||||
|
||||
|
|
|
@ -10,14 +10,14 @@
|
|||
|
||||
python3Packages.buildPythonPackage rec {
|
||||
pname = "hydrus";
|
||||
version = "477";
|
||||
version = "478";
|
||||
format = "other";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "hydrusnetwork";
|
||||
repo = "hydrus";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-/Gehlk+eMBPA+OT7xsTri6PDi2PBmzjckMVbqPGXT64=";
|
||||
sha256 = "sha256-ZsQzKc2fOFTzI/kBS8ws2+XT9kRAn4L55n1EZgVy4Kk=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -27,6 +27,7 @@ python3Packages.buildPythonPackage rec {
|
|||
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
beautifulsoup4
|
||||
cbor2
|
||||
chardet
|
||||
cloudscraper
|
||||
html5lib
|
||||
|
|
146
pkgs/applications/graphics/unigine-superposition/default.nix
Normal file
146
pkgs/applications/graphics/unigine-superposition/default.nix
Normal file
|
@ -0,0 +1,146 @@
|
|||
{ lib
|
||||
, glib
|
||||
, stdenv
|
||||
, dbus
|
||||
, freetype
|
||||
, fontconfig
|
||||
, zlib
|
||||
, qtquickcontrols2
|
||||
, libXinerama
|
||||
, libxcb
|
||||
, libSM
|
||||
, libXi
|
||||
, libglvnd
|
||||
, libXext
|
||||
, libXrandr
|
||||
, mailspring
|
||||
, libX11
|
||||
, libICE
|
||||
, libXrender
|
||||
, autoPatchelfHook
|
||||
, makeWrapper
|
||||
, mkDerivation
|
||||
, xkeyboard_config
|
||||
, fetchurl
|
||||
, buildFHSUserEnv
|
||||
, openal
|
||||
, makeDesktopItem
|
||||
}:
|
||||
|
||||
let
|
||||
|
||||
superposition = stdenv.mkDerivation rec{
|
||||
pname = "unigine-superposition";
|
||||
version = "1.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://assets.unigine.com/d/Unigine_Superposition-${version}.run";
|
||||
sha256 = "12hzlz792pf8pvxf13fww3qhahqzwzkxq9q3mq20hbhvaphbg7nd";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoPatchelfHook
|
||||
makeWrapper
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
glib
|
||||
stdenv.cc.cc
|
||||
dbus
|
||||
freetype
|
||||
fontconfig
|
||||
zlib
|
||||
qtquickcontrols2
|
||||
libXinerama
|
||||
libxcb
|
||||
libSM
|
||||
libXi
|
||||
libglvnd
|
||||
libXext
|
||||
libXrandr
|
||||
mailspring
|
||||
libX11
|
||||
libICE
|
||||
libXrender
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
bash $src --target $name --noexec
|
||||
mkdir -p $out/bin $out/lib/unigine/superposition/
|
||||
cp -r $name/* $out/lib/unigine/superposition/
|
||||
echo "exec $out/lib/unigine/superposition/Superposition" >> $out/bin/superposition
|
||||
chmod +x $out/bin/superposition
|
||||
wrapProgram $out/lib/unigine/superposition/Superposition \
|
||||
--set QT_XKB_CONFIG_ROOT ${xkeyboard_config} \
|
||||
--run "cd $out/lib/unigine/superposition/"
|
||||
'';
|
||||
|
||||
dontUnpack = true;
|
||||
dontWrapQtApps = true;
|
||||
|
||||
postPatchMkspecs = ''
|
||||
cp -f $name/bin/superposition $out/lib/unigine/superposition/bin/superposition
|
||||
'';
|
||||
};
|
||||
|
||||
desktopItem = makeDesktopItem {
|
||||
name = "Superposition";
|
||||
exec = "Superposition";
|
||||
genericName = "A GPU Stress test tool from the UNIGINE";
|
||||
icon = "Superposition";
|
||||
desktopName = "Superposition Benchmark";
|
||||
};
|
||||
|
||||
in
|
||||
|
||||
# We can patch the "/bin/superposition", but "/bin/launcher" checks it for changes.
|
||||
# For that we need use a buildFHSUserEnv.
|
||||
|
||||
buildFHSUserEnv {
|
||||
name = "Superposition";
|
||||
|
||||
targetPkgs = pkgs: [
|
||||
superposition
|
||||
glib
|
||||
stdenv.cc.cc
|
||||
dbus
|
||||
freetype
|
||||
fontconfig
|
||||
zlib
|
||||
qtquickcontrols2
|
||||
libXinerama
|
||||
libxcb
|
||||
libSM
|
||||
libXi
|
||||
libglvnd
|
||||
libXext
|
||||
libXrandr
|
||||
mailspring
|
||||
libX11
|
||||
libICE
|
||||
libXrender
|
||||
openal
|
||||
];
|
||||
runScript = "superposition";
|
||||
|
||||
extraInstallCommands = ''
|
||||
# create directories
|
||||
mkdir -p $out/share/icons/hicolor $out/share/applications
|
||||
# create .desktop file
|
||||
ln -s ${desktopItem}/share/applications/* $out/share/applications
|
||||
# install Superposition.desktop and icon
|
||||
cp ${superposition}/lib/unigine/superposition/Superposition.png $out/share/icons/
|
||||
for RES in 16 24 32 48 64 128 256; do
|
||||
mkdir -p $out/share/icons/hicolor/"$RES"x"$RES"/apps
|
||||
cp ${superposition}/lib/unigine/superposition/icons/superposition_icon_$RES.png $out/share/icons/hicolor/"$RES"x"$RES"/apps/Superposition.png
|
||||
done
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "The Unigine Superposition GPU benchmarking tool";
|
||||
homepage = "https://benchmark.unigine.com/superposition";
|
||||
license = lib.licenses.unfree;
|
||||
maintainers = [ lib.maintainers.BarinovMaxim ];
|
||||
platforms = [ "x86_64-linux" ];
|
||||
};
|
||||
}
|
|
@ -3,6 +3,7 @@
|
|||
, fetchurl
|
||||
, xlibsWrapper
|
||||
, makeWrapper
|
||||
, imagemagick
|
||||
, libXpm
|
||||
, libXmu
|
||||
, libXi
|
||||
|
@ -21,7 +22,7 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "0fndgbm1mkqb1sn2v2kj3nx9mxj70jbp31y2bjvzcmmkry0q3k5j";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
nativeBuildInputs = [ imagemagick makeWrapper ];
|
||||
|
||||
buildInputs = [
|
||||
xlibsWrapper
|
||||
|
@ -34,7 +35,8 @@ stdenv.mkDerivation rec {
|
|||
];
|
||||
|
||||
postPatch = ''
|
||||
sed -i 's:"fig2dev":"${fig2dev}/bin/fig2dev":' src/main.c
|
||||
substituteInPlace src/main.c --replace '"fig2dev"' '"${fig2dev}/bin/fig2dev"'
|
||||
substituteInPlace xfig.desktop --replace "/usr/bin/" "$out/bin/"
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
|
@ -43,6 +45,15 @@ stdenv.mkDerivation rec {
|
|||
|
||||
wrapProgram $out/bin/xfig \
|
||||
--set XAPPLRESDIR $out/share/X11/app-defaults
|
||||
|
||||
mkdir -p $out/share/icons/hicolor/{16x16,22x22,48x48,64x64}/apps
|
||||
|
||||
for dimension in 16x16 22x22 48x48; do
|
||||
convert doc/html/images/xfig-logo.png -geometry $dimension\
|
||||
$out/share/icons/hicolor/16x16/apps/xfig.png
|
||||
done
|
||||
install doc/html/images/xfig-logo.png \
|
||||
$out/share/icons/hicolor/64x64/apps/xfig.png
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
|
|
@ -1,24 +1,31 @@
|
|||
{ stdenv, lib, fetchpatch, fetchFromGitHub, makeWrapper, writeText, runtimeShell, jdk11, perl, gradle_5, which }:
|
||||
{ stdenv, lib, fetchpatch, fetchFromGitHub, makeWrapper, writeText, runtimeShell, jdk11, perl, gradle_6, which }:
|
||||
|
||||
let
|
||||
pname = "freeplane";
|
||||
version = "1.9.5";
|
||||
version = "1.9.14";
|
||||
|
||||
src_sha256 = "UiXtGJs+hibB63BaDDLXgjt3INBs+NfMsKcX2Q/kxKw=";
|
||||
deps_outputHash = "tHhRaMIQK8ERuzm+qB9tRe2XSesL0bN3rComB9/qWgg=";
|
||||
emoji_outputHash = "w96or4lpKCRK8A5HaB4Eakr7oVSiQALJ9tCJvKZaM34=";
|
||||
|
||||
jdk = jdk11;
|
||||
gradle = gradle_6;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = pname;
|
||||
repo = pname;
|
||||
rev = "release-${version}";
|
||||
sha256 = "qfhhmF3mePxcL4U8izkEmWaiaOLi4slsaymVnDoO3sY=";
|
||||
sha256 = src_sha256;
|
||||
};
|
||||
|
||||
deps = stdenv.mkDerivation {
|
||||
name = "${pname}-deps";
|
||||
inherit src;
|
||||
|
||||
nativeBuildInputs = [ jdk11 perl gradle_5 ];
|
||||
nativeBuildInputs = [ jdk perl gradle ];
|
||||
|
||||
buildPhase = ''
|
||||
GRADLE_USER_HOME=$PWD gradle -Dorg.gradle.java.home=${jdk11} --no-daemon jar
|
||||
GRADLE_USER_HOME=$PWD gradle -Dorg.gradle.java.home=${jdk} --no-daemon jar
|
||||
'';
|
||||
|
||||
# Mavenize dependency paths
|
||||
|
@ -31,7 +38,7 @@ let
|
|||
|
||||
outputHashAlgo = "sha256";
|
||||
outputHashMode = "recursive";
|
||||
outputHash = "xphTzaSXTGpP7vI/t4oIiv1ZpbekG2dFRzyl3ub6qnA=";
|
||||
outputHash = deps_outputHash;
|
||||
};
|
||||
|
||||
# Point to our local deps repo
|
||||
|
@ -60,16 +67,14 @@ let
|
|||
}
|
||||
'';
|
||||
|
||||
# downloaded from unicode.org and twemoji.maxcdn.com by code in freeplane/emoji.gradle
|
||||
# the below hash is for versions of freeplane that use twemoji 12.1.4, and emoji 12.1
|
||||
emoji = stdenv.mkDerivation rec {
|
||||
name = "${pname}-emoji";
|
||||
inherit src;
|
||||
|
||||
nativeBuildInputs = [ jdk11 gradle_5 ];
|
||||
nativeBuildInputs = [ jdk gradle ];
|
||||
|
||||
buildPhase = ''
|
||||
GRADLE_USER_HOME=$PWD gradle -Dorg.gradle.java.home=${jdk11} --no-daemon --offline --init-script ${gradleInit} emojiGraphicsClasses emojiListClasses
|
||||
GRADLE_USER_HOME=$PWD gradle -Dorg.gradle.java.home=${jdk} --no-daemon --offline --init-script ${gradleInit} :freeplane:downloadEmoji
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
|
@ -80,19 +85,19 @@ let
|
|||
|
||||
outputHashAlgo = "sha256";
|
||||
outputHashMode = "recursive";
|
||||
outputHash = "0zikbakbr2fhyv4h4h52ajhznjka0hg6hiqfy1528a39i6psipn3";
|
||||
outputHash = emoji_outputHash;
|
||||
};
|
||||
|
||||
in stdenv.mkDerivation rec {
|
||||
inherit pname version src;
|
||||
|
||||
nativeBuildInputs = [ makeWrapper jdk11 gradle_5 ];
|
||||
nativeBuildInputs = [ makeWrapper jdk gradle ];
|
||||
|
||||
buildPhase = ''
|
||||
mkdir -p -- ./freeplane/build/emoji/{txt,resources/images}
|
||||
cp ${emoji}/emoji/txt/emojilist.txt ./freeplane/build/emoji/txt/emojilist.txt
|
||||
cp -r ${emoji}/resources/images/emoji ./freeplane/build/emoji/resources/images/emoji
|
||||
GRADLE_USER_HOME=$PWD gradle -Dorg.gradle.java.home=${jdk11} --no-daemon --offline --init-script ${gradleInit} -x test -x :freeplane:downloadEmoji build
|
||||
GRADLE_USER_HOME=$PWD gradle -Dorg.gradle.java.home=${jdk} --no-daemon --offline --init-script ${gradleInit} -x test -x :freeplane:downloadEmoji build
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
|
@ -102,8 +107,8 @@ in stdenv.mkDerivation rec {
|
|||
cp -a ./BIN/. $out/share/${pname}
|
||||
makeWrapper $out/share/${pname}/${pname}.sh $out/bin/${pname} \
|
||||
--set FREEPLANE_BASE_DIR $out/share/${pname} \
|
||||
--set JAVA_HOME ${jdk11} \
|
||||
--prefix PATH : ${lib.makeBinPath [ jdk11 which ]}
|
||||
--set JAVA_HOME ${jdk} \
|
||||
--prefix PATH : ${lib.makeBinPath [ jdk which ]}
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
|
|
70
pkgs/applications/misc/gnome-solanum/default.nix
Normal file
70
pkgs/applications/misc/gnome-solanum/default.nix
Normal file
|
@ -0,0 +1,70 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitLab
|
||||
, rustPlatform
|
||||
, desktop-file-utils
|
||||
, meson
|
||||
, ninja
|
||||
, pkg-config
|
||||
, wrapGAppsHook
|
||||
, python3
|
||||
, git
|
||||
, glib
|
||||
, gtk4
|
||||
, gst_all_1
|
||||
, libadwaita
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "solanum";
|
||||
version = "3.0.1";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
domain = "gitlab.gnome.org";
|
||||
owner = "World";
|
||||
repo = "Solanum";
|
||||
rev = "v${version}";
|
||||
sha256 = "0cga6cz6jfbipzp008rjznkz7844licdc34lk133fcyqil0cg0ap";
|
||||
};
|
||||
|
||||
cargoDeps = rustPlatform.fetchCargoTarball {
|
||||
inherit src;
|
||||
name = "${pname}-${version}";
|
||||
sha256 = "10kzv98b2fiql9f6n2fv6lrgq4fdzxq0h4nzcq9jrw3fsggzl0wb";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
patchShebangs build-aux
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
meson
|
||||
ninja
|
||||
pkg-config
|
||||
wrapGAppsHook
|
||||
python3
|
||||
git
|
||||
desktop-file-utils
|
||||
] ++ (with rustPlatform; [
|
||||
cargoSetupHook
|
||||
rust.cargo
|
||||
rust.rustc
|
||||
]);
|
||||
|
||||
buildInputs = [
|
||||
glib
|
||||
gtk4
|
||||
libadwaita
|
||||
gst_all_1.gstreamer
|
||||
gst_all_1.gst-plugins-base
|
||||
gst_all_1.gst-plugins-bad
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://gitlab.gnome.org/World/Solanum";
|
||||
description = "A pomodoro timer for the GNOME desktop";
|
||||
maintainers = with maintainers; [ linsui ];
|
||||
license = licenses.gpl3Plus;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
|
@ -2,6 +2,8 @@
|
|||
, lib
|
||||
, fetchurl
|
||||
, fetchpatch
|
||||
, copyDesktopItems
|
||||
, makeDesktopItem
|
||||
, desktopToDarwinBundle
|
||||
, pkg-config
|
||||
, freetype
|
||||
|
@ -56,8 +58,9 @@ stdenv.mkDerivation rec {
|
|||
++ lib.optionals (!enableX11) [ "HAVE_X11=no" ]
|
||||
++ lib.optionals (!enableGL) [ "HAVE_GLUT=no" ];
|
||||
|
||||
nativeBuildInputs =
|
||||
[ pkg-config ] ++ lib.optional stdenv.isDarwin desktopToDarwinBundle;
|
||||
nativeBuildInputs = [ pkg-config ]
|
||||
++ lib.optional (enableGL || enableX11) copyDesktopItems
|
||||
++ lib.optional stdenv.isDarwin desktopToDarwinBundle;
|
||||
|
||||
buildInputs = [ freetype harfbuzz openjpeg jbig2dec libjpeg gumbo ]
|
||||
++ lib.optional stdenv.isDarwin xcbuild
|
||||
|
@ -77,6 +80,30 @@ stdenv.mkDerivation rec {
|
|||
rm -rf thirdparty/{curl,freetype,glfw,harfbuzz,jbig2dec,libjpeg,openjpeg,zlib}
|
||||
'';
|
||||
|
||||
desktopItems = [
|
||||
(makeDesktopItem {
|
||||
name = pname;
|
||||
desktopName = pname;
|
||||
comment = meta.description;
|
||||
icon = "mupdf";
|
||||
exec = "${pname} %f";
|
||||
terminal = false;
|
||||
mimeTypes = [
|
||||
"application/epub+zip"
|
||||
"application/oxps"
|
||||
"application/pdf"
|
||||
"application/vnd.ms-xpsdocument"
|
||||
"application/x-cbz"
|
||||
"application/x-pdf"
|
||||
];
|
||||
categories = [ "Graphics" "Viewer" ];
|
||||
keywords = [
|
||||
"mupdf" "comic" "document" "ebook" "viewer"
|
||||
"cbz" "epub" "fb2" "pdf" "xps"
|
||||
];
|
||||
})
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p "$out/lib/pkgconfig"
|
||||
cat >"$out/lib/pkgconfig/mupdf.pc" <<EOF
|
||||
|
@ -92,20 +119,14 @@ stdenv.mkDerivation rec {
|
|||
EOF
|
||||
|
||||
moveToOutput "bin" "$bin"
|
||||
'' + lib.optionalString enableX11 ''
|
||||
'' + lib.optionalString (enableX11 || enableGL) ''
|
||||
mkdir -p $bin/share/icons/hicolor/48x48/apps
|
||||
cp docs/logo/mupdf.png $bin/share/icons/hicolor/48x48/apps
|
||||
'' + (if enableGL then ''
|
||||
ln -s "$bin/bin/mupdf-gl" "$bin/bin/mupdf"
|
||||
'' else lib.optionalString (enableX11) ''
|
||||
ln -s "$bin/bin/mupdf-x11" "$bin/bin/mupdf"
|
||||
mkdir -p $bin/share/applications
|
||||
cat > $bin/share/applications/mupdf.desktop <<EOF
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Version=1.0
|
||||
Name=mupdf
|
||||
Comment=PDF viewer
|
||||
Exec=$bin/bin/mupdf-x11 %f
|
||||
Terminal=false
|
||||
MimeType=application/pdf;application/x-pdf;application/x-cbz;application/oxps;application/vnd.ms-xpsdocument;application/epub+zip
|
||||
EOF
|
||||
'';
|
||||
'');
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
|
|
|
@ -1,35 +1,50 @@
|
|||
{ lib, stdenv, fetchFromGitHub, electron, runtimeShell } :
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, electron
|
||||
, runtimeShell
|
||||
, makeWrapper
|
||||
, copyDesktopItems
|
||||
, makeDesktopItem
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "nix-tour";
|
||||
version = "0.0.1";
|
||||
|
||||
buildInputs = [ electron ];
|
||||
version = "unstable-2022-01-03";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nixcloud";
|
||||
repo = "tour_of_nix";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-a/P2ZMc9OpM4PxRFklSO6oVCc96AGWkxtGF/EmnfYSU=";
|
||||
rev = "6a6784983e6dc121574b97eb9b1d03592c8cb9a7";
|
||||
sha256 = "sha256-BhQz59wkwwY0ShXzqUD6MQl4NE/jUik5RbLzseEc5Bc=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper copyDesktopItems ];
|
||||
buildInputs = [ electron ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
mkdir -p $out/share
|
||||
cp -R * $out/share
|
||||
chmod 0755 $out/share/ -R
|
||||
echo "#!${runtimeShell}" > $out/bin/nix-tour
|
||||
echo "cd $out/share/" >> $out/bin/nix-tour
|
||||
echo "${electron}/bin/electron $out/share/electron-main.js" >> $out/bin/nix-tour
|
||||
chmod 0755 $out/bin/nix-tour
|
||||
install -d $out/bin $out/share/nix-tour
|
||||
cp -R * $out/share/nix-tour
|
||||
makeWrapper ${electron}/bin/electron $out/bin/nix-tour \
|
||||
--add-flags $out/share/nix-tour/electron-main.js
|
||||
'';
|
||||
|
||||
desktopItems = [
|
||||
(makeDesktopItem {
|
||||
name = pname;
|
||||
desktopName = "Tour of Nix";
|
||||
genericName = "Tour of Nix";
|
||||
comment =
|
||||
"Interactive programming guide dedicated to the nix programming language";
|
||||
categories = [ "Development" "Documentation" ];
|
||||
exec = "nix-tour";
|
||||
})
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "'the tour of nix' from nixcloud.io/tour as offline version";
|
||||
homepage = "https://nixcloud.io/tour";
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ qknight ];
|
||||
maintainers = with maintainers; [ qknight yuu ];
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
{
|
||||
"stable": {
|
||||
"version": "99.0.4844.82",
|
||||
"sha256": "0p6jqwal0yrvn8iylm2f3n07hkkaf8899iw9i3cvks0d870hpfxq",
|
||||
"sha256bin64": "0zhhibz727qx2wg2pcazha3q9xwf1bcm1f9hgid7jq2pq7fq3hdr",
|
||||
"version": "99.0.4844.84",
|
||||
"sha256": "05bma8lsm5lad58mlfiv8bg0fw5k5mxh0v6g1ik7xp2bsd71iv10",
|
||||
"sha256bin64": "0sdnsnp7hnpip91hwbz3hiw2727g0a3ydf55ldqv9bgik3vn1wln",
|
||||
"deps": {
|
||||
"gn": {
|
||||
"version": "2022-01-10",
|
||||
|
|
|
@ -44,12 +44,12 @@ assert with lib.strings; (
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "palemoon";
|
||||
version = "29.4.4";
|
||||
version = "29.4.5";
|
||||
|
||||
src = fetchzip {
|
||||
name = "${pname}-${version}";
|
||||
url = "http://archive.palemoon.org/source/${pname}-${version}.source.tar.xz";
|
||||
sha256 = "sha256-0R0IJd4rd7NqnxQxkHSx10cNlwECqpKgJnlfYAMx4wc=";
|
||||
sha256 = "sha256-ls4uhfFaiFHkmAVbwwBenm71sNm6Tql2tMpzk9D2b5Y=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
{ lib, buildGoModule, fetchFromGitHub, fetchzip, installShellFiles }:
|
||||
|
||||
let
|
||||
version = "0.27.4";
|
||||
sha256 = "06951i332gr17nsbns8mh4kcjilqfw5w95shaznpaksx93f554g0";
|
||||
manifestsSha256 = "0fvzh7j3vi5hw8jbw2gisjnn53bffwnp7zm3dwcbv3svwpw7823d";
|
||||
version = "0.28.3";
|
||||
sha256 = "1agzj8fgv6jp1i15asjvhnsxw4fj7i6g00ajjl4ihd9p166r83qy";
|
||||
manifestsSha256 = "036d1y5dkb9mir9iy76zwdydlqxpbhz7j25fy1faznmicm2qxiqi";
|
||||
|
||||
manifests = fetchzip {
|
||||
url =
|
||||
|
@ -23,7 +23,7 @@ in buildGoModule rec {
|
|||
inherit sha256;
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-7sHLXjyYMWSFckDPeVGJYK+nwhbRpD76tV334PCVYwA=";
|
||||
vendorSha256 = "sha256-8TIeVcPW55vJn49y2xLfOOrefmqNAhDMmTWS/c8HuA8=";
|
||||
|
||||
postUnpack = ''
|
||||
cp -r ${manifests} source/cmd/flux/manifests
|
||||
|
|
|
@ -43,7 +43,7 @@ let
|
|||
homepage = "https://github.com/kubernetes/kops";
|
||||
changelog = "https://github.com/kubernetes/kops/tree/master/docs/releases";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ offline zimbatm diegolelis ];
|
||||
maintainers = with maintainers; [ offline zimbatm diegolelis yurrriq ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
} // attrs';
|
||||
|
@ -52,12 +52,6 @@ rec {
|
|||
|
||||
mkKops = generic;
|
||||
|
||||
kops_1_20 = mkKops rec {
|
||||
version = "1.20.3";
|
||||
sha256 = "sha256-Yrh0wFz7MQgTDwENqQouYh3pr1gOq64Rqft5yxIiCAo=";
|
||||
rev = "v${version}";
|
||||
};
|
||||
|
||||
kops_1_21 = mkKops rec {
|
||||
version = "1.21.4";
|
||||
sha256 = "sha256-f2xOVa3N/GH5IoI6H/QwDdKTeQoF/kEHX6lNytCZ9cs=";
|
||||
|
@ -69,4 +63,10 @@ rec {
|
|||
sha256 = "sha256-osU7yI77ZALGrAGuP8qAgv+ogDRn+BSVmcjPbi/WEKE=";
|
||||
rev = "v${version}";
|
||||
};
|
||||
|
||||
kops_1_23 = mkKops rec {
|
||||
version = "1.23.0";
|
||||
sha256 = "sha256-tiVNUaW0an6C8M9bxEX5pvB/W5IjZ/S24RdPikzm3bc=";
|
||||
rev = "v${version}";
|
||||
};
|
||||
}
|
||||
|
|
|
@ -2,13 +2,13 @@
|
|||
|
||||
buildGoModule rec {
|
||||
pname = "tektoncd-cli";
|
||||
version = "0.23.0";
|
||||
version = "0.23.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "tektoncd";
|
||||
repo = "cli";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-rzKEjLjX2bPqgNGJYdyTuu15+9bq9WnsrJtsBzL/oOo=";
|
||||
sha256 = "sha256-fOq67Cxtb2A9Obh2o5/aFy5bYBnyFKYQDPcpxOXMy1s=";
|
||||
};
|
||||
|
||||
vendorSha256 = null;
|
||||
|
|
|
@ -27,11 +27,11 @@ with lib;
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mutt";
|
||||
version = "2.2.1";
|
||||
version = "2.2.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://ftp.mutt.org/pub/mutt/${pname}-${version}.tar.gz";
|
||||
sha256 = "1ddbhwsycfpf430k52l5gggywd09h10hwcwzpydam43c5ga30vdp";
|
||||
sha256 = "1k0ghbpc4gn3sydbw10xv9djin9grk1pkxdwynrw0iknyc68gphh";
|
||||
};
|
||||
|
||||
patches = optional smimeSupport (fetchpatch {
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
{ callPackage }:
|
||||
|
||||
{
|
||||
isabelle-linter = callPackage ./isabelle-linter.nix {};
|
||||
}
|
|
@ -0,0 +1,22 @@
|
|||
{ stdenv, lib, fetchFromGitHub, isabelle }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "isabelle-linter";
|
||||
version = "Isabelle2021-1-v1.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "isabelle-prover";
|
||||
repo = "isabelle-linter";
|
||||
rev = version;
|
||||
sha256 = "0v6scc2rhj6bjv530gzz6i57czzcgpkw7a9iqnfdnm5gvs5qjk7a";
|
||||
};
|
||||
|
||||
installPhase = import ./mkBuild.nix { inherit isabelle; path = "${pname}-${version}"; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "Linter component for Isabelle.";
|
||||
homepage = "https://github.com/isabelle-prover/isabelle-linter";
|
||||
maintainers = with maintainers; [ jvanbruegge ];
|
||||
license = licenses.mit;
|
||||
};
|
||||
}
|
|
@ -0,0 +1,36 @@
|
|||
{ isabelle, path }:
|
||||
|
||||
let
|
||||
dir = "$out/isabelle/${isabelle.dirname}";
|
||||
iDir = "${isabelle}/${isabelle.dirname}";
|
||||
in ''
|
||||
shopt -s extglob
|
||||
mkdir -p ${dir}/lib/classes
|
||||
|
||||
cDir=$out/${isabelle.dirname}/contrib/${path}
|
||||
mkdir -p $cDir
|
||||
cp -r !(isabelle) $cDir
|
||||
|
||||
cd ${dir}
|
||||
ln -s ${iDir}/!(lib|bin) ./
|
||||
ln -s ${iDir}/lib/!(classes) lib/
|
||||
ln -s ${iDir}/lib/classes/* lib/classes/
|
||||
|
||||
mkdir bin/
|
||||
cp ${iDir}/bin/* bin/
|
||||
|
||||
export HOME=$TMP
|
||||
bin/isabelle components -u $cDir
|
||||
bin/isabelle scala_build
|
||||
|
||||
cd lib/classes
|
||||
for f in ${iDir}/lib/classes/*; do
|
||||
rm $(basename $f)
|
||||
done
|
||||
|
||||
lDir=$out/${isabelle.dirname}/lib/classes/
|
||||
mkdir -p $lDir
|
||||
cp -r * $lDir
|
||||
cd $out
|
||||
rm -rf isabelle
|
||||
''
|
|
@ -1,4 +1,4 @@
|
|||
{ lib, stdenv, fetchurl, coreutils, nettools, java, scala, polyml, z3, veriT, vampire, eprover-ho, naproche, rlwrap, perl, makeDesktopItem }:
|
||||
{ lib, stdenv, fetchurl, coreutils, nettools, java, scala, polyml, z3, veriT, vampire, eprover-ho, naproche, rlwrap, perl, makeDesktopItem, isabelle-components, isabelle, symlinkJoin }:
|
||||
# nettools needed for hostname
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
@ -153,4 +153,29 @@ stdenv.mkDerivation rec {
|
|||
maintainers = [ maintainers.jwiegley maintainers.jvanbruegge ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
} // {
|
||||
withComponents = f:
|
||||
let
|
||||
base = "$out/${isabelle.dirname}";
|
||||
components = f isabelle-components;
|
||||
in symlinkJoin {
|
||||
name = "isabelle-with-components-${isabelle.version}";
|
||||
paths = [ isabelle ] ++ components;
|
||||
|
||||
postBuild = ''
|
||||
rm $out/bin/*
|
||||
|
||||
cd ${base}
|
||||
rm bin/*
|
||||
cp ${isabelle}/${isabelle.dirname}/bin/* bin/
|
||||
rm etc/components
|
||||
cat ${isabelle}/${isabelle.dirname}/etc/components > etc/components
|
||||
|
||||
export HOME=$TMP
|
||||
bin/isabelle install $out/bin
|
||||
patchShebangs $out/bin
|
||||
'' + lib.concatMapStringsSep "\n" (c: ''
|
||||
echo contrib/${c.pname}-${c.version} >> ${base}/etc/components
|
||||
'') components;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -0,0 +1,31 @@
|
|||
{ lib, buildGoModule, fetchFromGitHub, installShellFiles }:
|
||||
buildGoModule rec {
|
||||
pname = "git-team";
|
||||
version = "1.7.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "hekmekk";
|
||||
repo = "git-team";
|
||||
rev = "v${version}";
|
||||
sha256 = "0nl5j64b61jw4bkf29y51svjbndmqqrqx96yaip4vjzj2dx9ywm4";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-xJMWPDuqoNtCCUnKuUvwlYztyrej1uZttC0NsDvYnXI=";
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
postInstall = ''
|
||||
go run main.go --generate-man-page > ${pname}.1
|
||||
installManPage ${pname}.1
|
||||
|
||||
# Currently only bash completions are provided
|
||||
installShellCompletion --cmd git-team --bash <($out/bin/git-team completion bash)
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Command line interface for managing and enhancing git commit messages with co-authors";
|
||||
homepage = "https://github.com/hekmekk/git-team";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ lockejan ];
|
||||
};
|
||||
}
|
|
@ -2,16 +2,16 @@
|
|||
|
||||
buildGoModule rec {
|
||||
pname = "docker-compose";
|
||||
version = "2.3.3";
|
||||
version = "2.3.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "docker";
|
||||
repo = "compose";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-PFR7EcRkqn/d6gYlMNN36nRIslYEN0JFSbFU9niGc+Y=";
|
||||
sha256 = "sha256-ZFnrfGM2LUZZC8IPPCh3GS95jz7NGraOlr3wQaw5K0k=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-L6PNKK1ID7ZVX/4sG72wn9ZjWlx0lsNuiBc/EtCN03E=";
|
||||
vendorSha256 = "sha256-Y2rE5/XLmQLqBA8xiCd9v30gTaO9qbiBFa4jKucKU6M=";
|
||||
|
||||
ldflags = [ "-X github.com/docker/compose/v2/internal.Version=${version}" "-s" "-w" ];
|
||||
|
||||
|
|
|
@ -14,14 +14,14 @@
|
|||
}:
|
||||
|
||||
let
|
||||
version = "13.0.2";
|
||||
version = "14.0.0";
|
||||
|
||||
twemojiSrc = fetchFromGitHub {
|
||||
name = "twemoji";
|
||||
owner = "twitter";
|
||||
repo = "twemoji";
|
||||
rev = "v${version}";
|
||||
sha256 = "069pyq09jfzwp3xla8vmhbyyam32x2iyp0s29xcxlkj22p99bg6d";
|
||||
sha256 = "sha256-ar6rBYudMIMngMVe/IowDV3X8wA77JBA6g0x/M7YLMg=";
|
||||
};
|
||||
|
||||
pythonEnv =
|
||||
|
|
|
@ -19,7 +19,6 @@
|
|||
, libnotify
|
||||
, libexif
|
||||
, libseccomp
|
||||
, exempi
|
||||
, librsvg
|
||||
, tracker
|
||||
, tracker-miners
|
||||
|
@ -68,7 +67,6 @@ stdenv.mkDerivation rec {
|
|||
];
|
||||
|
||||
buildInputs = [
|
||||
exempi
|
||||
gexiv2
|
||||
glib-networking
|
||||
gnome-desktop
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -14,7 +14,7 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "gnome-shell-extension-freon";
|
||||
version = "45";
|
||||
version = "unstable-2022-02-05";
|
||||
|
||||
passthru = {
|
||||
extensionUuid = "freon@UshakovVasilii_Github.yahoo.com";
|
||||
|
@ -24,8 +24,8 @@ stdenv.mkDerivation rec {
|
|||
src = fetchFromGitHub {
|
||||
owner = "UshakovVasilii";
|
||||
repo = "gnome-shell-extension-freon";
|
||||
rev = "EGO-${version}";
|
||||
sha256 = "sha256-tPb7SzHSwvz7VV+kZTmcw1eAdtL1J7FJ3BOtg4Us8jc=";
|
||||
rev = "010c363d9bff8ed28000cbf8df2226dad65078fb";
|
||||
hash = "sha256-Fb8y+HoWq+205gqwAD2DVYym1eThGZqDML5HlyhS+4M=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ glib ];
|
||||
|
|
|
@ -80,6 +80,6 @@ index 03d469b..6057a3b 100644
|
|||
function getSmartData (argv){
|
||||
- const smartctl = GLib.find_program_in_path('smartctl')
|
||||
+ const smartctl = GLib.find_program_in_path('@smartmontools@/bin/smartctl')
|
||||
return JSON.parse(ByteArray.toString( GLib.spawn_command_line_sync(`${smartctl} ${argv} -j`)[1] ))
|
||||
return JSON.parse(ByteArray.toString( GLib.spawn_command_line_sync(`'${smartctl}' ${argv} -j`)[1] ))
|
||||
}
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "gnome-shell-extension-gsconnect";
|
||||
version = "53";
|
||||
version = "50";
|
||||
|
||||
outputs = [ "out" "installedTests" ];
|
||||
|
||||
|
@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
|
|||
owner = "GSConnect";
|
||||
repo = "gnome-shell-extension-gsconnect";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-u14OVv3iyQbLEmqLgMdEUD2iC4nsYVCOr4ua66T3TBk=";
|
||||
hash = "sha256-uUpdjBsVeS99AYDpGlXP9fMqGxWj+XfVubNoGJs76G0=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
|
|
@ -20,14 +20,14 @@
|
|||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "42.0";
|
||||
version = "42.1";
|
||||
pname = "gpaste";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Keruspe";
|
||||
repo = "GPaste";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-dwL06BL6P8fqvAfrYpifqMAh6d+3Er6RhUeP6nfCr1M=";
|
||||
sha256 = "sha256-A5NZ4NiPVZUr7vPdDuNywLsLrejZ4SCg7+3//ZNRmLY=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
|
|
@ -1,17 +1,19 @@
|
|||
{ lib
|
||||
, fetchFromGitLab
|
||||
, git
|
||||
, coq
|
||||
, cacert
|
||||
}:
|
||||
|
||||
coq.ocamlPackages.buildDunePackage rec {
|
||||
pname = "ligo";
|
||||
version = "0.34.0";
|
||||
version = "0.36.0";
|
||||
src = fetchFromGitLab {
|
||||
owner = "ligolang";
|
||||
repo = "ligo";
|
||||
rev = version;
|
||||
sha256 = "sha256-MHkIr+XkW/zrRt+Cg48q4fOWTkNGH0hbf+oU7cAivNE=";
|
||||
sha256 = "0zx8ai79ha3npm3aybzgisil27v9i052cqdllfri0fsc67dig78b";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
# The build picks this up for ligo --version
|
||||
|
@ -19,32 +21,59 @@ coq.ocamlPackages.buildDunePackage rec {
|
|||
|
||||
useDune2 = true;
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
nativeBuildInputs = [
|
||||
git
|
||||
coq
|
||||
coq.ocamlPackages.menhir
|
||||
coq.ocamlPackages.ocaml-recovery-parser
|
||||
];
|
||||
|
||||
buildInputs = with coq.ocamlPackages; [
|
||||
coq
|
||||
menhir
|
||||
menhirLib
|
||||
qcheck
|
||||
ocamlgraph
|
||||
bisect_ppx
|
||||
ppx_deriving
|
||||
ppx_deriving_yojson
|
||||
ppx_expect
|
||||
tezos-base
|
||||
tezos-shell-services
|
||||
tezos-010-PtGRANAD-test-helpers
|
||||
tezos-011-PtHangz2-test-helpers
|
||||
tezos-protocol-010-PtGRANAD-parameters
|
||||
tezos-protocol-010-PtGRANAD
|
||||
tezos-protocol-environment
|
||||
ppx_import
|
||||
terminal_size
|
||||
ocaml-recovery-parser
|
||||
yojson
|
||||
getopt
|
||||
terminal_size
|
||||
core
|
||||
pprint
|
||||
linenoise
|
||||
|
||||
# Test helpers deps
|
||||
qcheck
|
||||
qcheck-alcotest
|
||||
alcotest-lwt
|
||||
|
||||
# vendored tezos' deps
|
||||
ctypes
|
||||
hacl-star
|
||||
hacl-star-raw
|
||||
lwt-canceler
|
||||
ipaddr
|
||||
bls12-381-unix
|
||||
bls12-381-legacy
|
||||
ptime
|
||||
mtime
|
||||
lwt_log
|
||||
ringo
|
||||
ringo-lwt
|
||||
secp256k1-internal
|
||||
resto
|
||||
resto-directory
|
||||
resto-cohttp-self-serving-client
|
||||
irmin-pack
|
||||
ezjsonm
|
||||
data-encoding
|
||||
bisect_ppx
|
||||
cmdliner
|
||||
core
|
||||
ocaml-recovery-parser
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
|
|
|
@ -34,14 +34,21 @@ let
|
|||
sha256 = "18230bg4rq9pmm5f8f65j444jpq56rld4fhmpham8q3vr1c1bdjh";
|
||||
};
|
||||
|
||||
fmtlibVersion = "8.0.1";
|
||||
fmtlibUrl = "https://github.com/fmtlib/fmt/archive/${fmtlibVersion}.tar.gz";
|
||||
fmtlib = fetchzip {
|
||||
url = fmtlibUrl;
|
||||
sha256 = "1mnvxqsan034d2jiqnw2yvkljl7lwvhakmj5bscwp1fpkn655bbw";
|
||||
};
|
||||
|
||||
solc = gccStdenv.mkDerivation rec {
|
||||
pname = "solc";
|
||||
version = "0.8.2";
|
||||
version = "0.8.13";
|
||||
|
||||
# upstream suggests avoid using archive generated by github
|
||||
src = fetchzip {
|
||||
url = "https://github.com/ethereum/solidity/releases/download/v${version}/solidity_${version}.tar.gz";
|
||||
sha256 = "11w7sa1y2dirzh84k04fkwbfc6xpjp5jr65w1pmb2pnkjvvf46xq";
|
||||
hash = "sha256-cFC9M65kSYgYq9rhBXZKEdfvIMbMaDiDwdPmU8v9s7k=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
@ -49,6 +56,8 @@ let
|
|||
--replace "${jsoncppUrl}" ${jsoncpp}
|
||||
substituteInPlace cmake/range-v3.cmake \
|
||||
--replace "${range3Url}" ${range3}
|
||||
substituteInPlace cmake/fmtlib.cmake \
|
||||
--replace "${fmtlibUrl}" ${fmtlib}
|
||||
'';
|
||||
|
||||
cmakeFlags = [
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "clojure";
|
||||
version = "1.10.3.1093";
|
||||
version = "1.11.0.1097";
|
||||
|
||||
src = fetchurl {
|
||||
# https://clojure.org/releases/tools
|
||||
url = "https://download.clojure.org/install/clojure-tools-${version}.tar.gz";
|
||||
sha256 = "sha256-H6cMwsgWAjsg1YRtm0X/FA3Gjy1yEidsgkFE32Xgdso=";
|
||||
sha256 = "sha256-8n/XOguemlqzVq9Vihd3QT5PsHSKcW3tTlOJtClrzKs=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
|
|
@ -53,14 +53,14 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "flatpak";
|
||||
version = "1.12.6";
|
||||
version = "1.12.7";
|
||||
|
||||
# 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 = "7wLLUFuRzOUXMJm1SFdo7vGJnrzznt+CfEJUFjqBFic="; # Taken from https://github.com/flatpak/flatpak/releases/
|
||||
sha256 = "sha256-bbUqUxzieCgqx+v7mfZqC7PsyvROhkhEwslcHuW6kxY="; # Taken from https://github.com/flatpak/flatpak/releases/
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
|
|
@ -6,13 +6,13 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "intel-gmmlib";
|
||||
version = "22.1.0";
|
||||
version = "22.1.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "intel";
|
||||
repo = "gmmlib";
|
||||
rev = "intel-gmmlib-${version}";
|
||||
sha256 = "sha256-4LFBokMEhhobKIMzZYlt3Nn88lX60l+IZZ0gi+o7Tds=";
|
||||
sha256 = "sha256-eU6ztYYcFPeADFBqmDFqyqVGlxdTV1N5pnIg6rjoALg=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
|
47
pkgs/development/libraries/java/jffi/default.nix
Normal file
47
pkgs/development/libraries/java/jffi/default.nix
Normal file
|
@ -0,0 +1,47 @@
|
|||
{ lib, stdenv, fetchFromGitHub, jdk, jre, ant, libffi, texinfo, pkg-config }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "jffi";
|
||||
version = "1.3.9";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jnr";
|
||||
repo = "jffi";
|
||||
rev = "jffi-${version}";
|
||||
sha256 = "sha256-VjZYhMbad+AesANG06umRzqMWj+Ebzu59TYK7Tm/bFo=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ jdk ant texinfo pkg-config ];
|
||||
buildInputs = [ libffi ] ;
|
||||
|
||||
buildPhase = ''
|
||||
# The pkg-config script in the build.xml doesn't work propery
|
||||
# set the lib path manually to work around this.
|
||||
export LIBFFI_LIBS="${libffi}/lib/libffi.so"
|
||||
|
||||
ant -Duse.system.libffi=1 jar
|
||||
ant -Duse.system.libffi=1 archive-platform-jar
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/java
|
||||
cp -r dist/* $out/share/java
|
||||
'';
|
||||
|
||||
doCheck = true;
|
||||
checkPhase = ''
|
||||
# The pkg-config script in the build.xml doesn't work propery
|
||||
# set the lib path manually to work around this.
|
||||
export LIBFFI_LIBS="${libffi}/lib/libffi.so"
|
||||
|
||||
ant -Duse.system.libffi=1 test
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Java Foreign Function Interface ";
|
||||
homepage = "https://github.com/jnr/jffi";
|
||||
platforms = platforms.unix;
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ bachp ];
|
||||
};
|
||||
}
|
|
@ -19,11 +19,11 @@ assert withFonts -> freetype != null;
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libbluray";
|
||||
version = "1.3.0";
|
||||
version = "1.3.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://get.videolan.org/libbluray/${version}/${pname}-${version}.tar.bz2";
|
||||
sha256 = "sha256-4tuvmehOCpcl9Jhby4XUHlLCJhzGUdiISxt5C17wFvk=";
|
||||
sha256 = "sha256-wksPQcW3N7u2XFRP5jSVY3p3HBClGd/IAudp8RK0O3U=";
|
||||
};
|
||||
|
||||
patches = optional withJava ./BDJ-JARFILE-path.patch;
|
||||
|
|
|
@ -17,13 +17,13 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libgphoto2";
|
||||
version = "2.5.28";
|
||||
version = "2.5.29";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "gphoto";
|
||||
repo = "libgphoto2";
|
||||
rev = "libgphoto2-${builtins.replaceStrings [ "." ] [ "_" ] version}-release";
|
||||
sha256 = "sha256-e3zMinUUBKzZlQQzkS0oPWAzIVlmQoLj73Spj0XiTIE=";
|
||||
sha256 = "sha256-Js5gbD57lhtqBX6joGMiLKUwkPDaSclnTrwBR87AliQ=";
|
||||
};
|
||||
|
||||
depsBuildBuild = [ pkg-config ];
|
||||
|
|
|
@ -18,7 +18,7 @@ assert variant == null || variant == "gtk3" || variant == "gtk4" || variant == "
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libportal" + lib.optionalString (variant != null) "-${variant}";
|
||||
version = "0.5";
|
||||
version = "0.6";
|
||||
|
||||
outputs = [ "out" "dev" "devdoc" ];
|
||||
|
||||
|
@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
|
|||
owner = "flatpak";
|
||||
repo = "libportal";
|
||||
rev = version;
|
||||
sha256 = "oPPO2f6NNeok0SGh4jELkkOP6VUxXZiwPM/n6CUHm0Q=";
|
||||
sha256 = "sha256-wDDE43UC6FBgPYLS+WWExeheURCH/3fCKu5oJg7GM+A=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
{ lib, stdenv, fetchFromGitHub, cmake, ninja, zlib, expat, rpm, db }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "0.7.20";
|
||||
version = "0.7.21";
|
||||
pname = "libsolv";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "openSUSE";
|
||||
repo = "libsolv";
|
||||
rev = version;
|
||||
sha256 = "sha256-NVyLa/fPGnO5jAz9rePFXg/z6RZeFCrkJBCG3gGh+YM=";
|
||||
sha256 = "sha256-ka1HXVo0CFr0eqGTkatYq1jXE+9UgM0YTZNW1WtMLF0=";
|
||||
};
|
||||
|
||||
cmakeFlags = [
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "suitesparse";
|
||||
version = "5.10.1";
|
||||
version = "5.11.0";
|
||||
|
||||
outputs = [ "out" "dev" "doc" ];
|
||||
|
||||
|
@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
|
|||
owner = "DrTimothyAldenDavis";
|
||||
repo = "SuiteSparse";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-ifuoXgVQp2vHR/reC/Hjbt3vqaKpql3Nfxdb/Cgv/aU=";
|
||||
sha256 = "sha256-AM16ngJ/CoSV6BOb80Pi9EqWoRILryOO4Rk+S5DffLU=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -53,7 +53,7 @@ stdenv.mkDerivation rec {
|
|||
"CUBLAS_LIB=${cudatoolkit}/lib/libcublas.so"
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
# Unless these are set, the build will attempt to use `Accelerate` on darwin, see:
|
||||
# https://github.com/DrTimothyAldenDavis/SuiteSparse/blob/v5.10.1/SuiteSparse_config/SuiteSparse_config.mk#L368
|
||||
# https://github.com/DrTimothyAldenDavis/SuiteSparse/blob/v5.11.0/SuiteSparse_config/SuiteSparse_config.mk#L368
|
||||
"BLAS=-lblas"
|
||||
"LAPACK=-llapack"
|
||||
]
|
||||
|
|
|
@ -6,12 +6,12 @@
|
|||
|
||||
buildDunePackage rec {
|
||||
pname = "lwt-watcher";
|
||||
version = "0.1";
|
||||
version = "0.2";
|
||||
src = fetchFromGitLab {
|
||||
owner = "nomadic-labs";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "0kaf7py02i0dn9rvrbzxh4ljfg059wc8xvm093m9wy7lsa68rax9";
|
||||
sha256 = "sha256-35Z73bSzEEgTabNH2cD9lRdDczsyIMZR2ktyKx4aN9k=";
|
||||
};
|
||||
|
||||
useDune2 = true;
|
||||
|
|
|
@ -1,37 +0,0 @@
|
|||
{ lib, stdenv, fetchurl, ocaml, findlib, ocamlbuild, type_conv, ounit, camlp4 }:
|
||||
|
||||
if lib.versionAtLeast ocaml.version "4.06"
|
||||
then throw "ocaml-data-notation is not available for OCaml ${ocaml.version}"
|
||||
else
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ocaml-data-notation";
|
||||
version = "0.0.11";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://forge.ocamlcore.org/frs/download.php/1310/ocaml-data-notation-${version}.tar.gz";
|
||||
sha256 = "09a8zdyifpc2nl4hdvg9206142y31cq95ajgij011s1qcg3z93lj";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ ocaml findlib ocamlbuild ];
|
||||
buildInputs = [ type_conv ounit camlp4 ];
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
createFindlibDestdir = true;
|
||||
|
||||
configurePhase = "ocaml setup.ml -configure";
|
||||
buildPhase = "ocaml setup.ml -build";
|
||||
installPhase = "ocaml setup.ml -install";
|
||||
|
||||
meta = with lib; {
|
||||
description = "Store data using OCaml notation";
|
||||
homepage = "https://forge.ocamlcore.org/projects/odn/";
|
||||
license = licenses.lgpl21;
|
||||
platforms = ocaml.meta.platforms or [ ];
|
||||
maintainers = with maintainers; [
|
||||
vbgl
|
||||
maggesi
|
||||
];
|
||||
};
|
||||
}
|
|
@ -1,35 +1,46 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, aiohttp
|
||||
, asyncio-throttle
|
||||
, awesomeversion
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiohue";
|
||||
version = "4.3.0";
|
||||
version = "4.4.1";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-PslmDeG/o9WAOc0FhidUNaISrlXa3rba3UEuvPVN/+A=";
|
||||
src = fetchFromGitHub {
|
||||
owner = "home-assistant-libs";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-zXjfPd40yYyAuuW4CmaGRvJuORyQJa+6CFQaO6RQPZo=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
awesomeversion
|
||||
aiohttp
|
||||
asyncio-throttle
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"aiohue"
|
||||
"aiohue.discovery"
|
||||
];
|
||||
|
||||
# Project has no tests
|
||||
doCheck = false;
|
||||
disabledTestPaths = [
|
||||
# File are prefixed with test_
|
||||
"examples/"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python package to talk to Philips Hue";
|
||||
|
|
48
pkgs/development/python-modules/anyconfig/default.nix
Normal file
48
pkgs/development/python-modules/anyconfig/default.nix
Normal file
|
@ -0,0 +1,48 @@
|
|||
{ buildPythonPackage
|
||||
, fetchPypi
|
||||
, lib
|
||||
, pytestCheckHook
|
||||
, setuptools
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "anyconfig";
|
||||
version = "0.12.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-MJHXZ1dAaG+t6FdVU38qfGzO+oZZxbtWF04C3tdLltU=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.cfg \
|
||||
--replace "--cov=src -vv" ""
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# OSError: /build/anyconfig-0.12.0/tests/res/cli/no_template/10/e/10.* should exists but not
|
||||
"test_runs_for_datasets"
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
# NameError: name 'TT' is not defined
|
||||
"tests/schema/test_jsonschema.py"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "anyconfig" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python library provides common APIs to load and dump configuration files in various formats";
|
||||
homepage = "https://github.com/ssato/python-anyconfig";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ tboerger ];
|
||||
};
|
||||
}
|
|
@ -16,7 +16,7 @@
|
|||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.20.32";
|
||||
version = "0.20.35";
|
||||
pname = "dulwich";
|
||||
format = "setuptools";
|
||||
|
||||
|
@ -24,7 +24,7 @@ buildPythonPackage rec {
|
|||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-3FSYsHK9wSwe/+9LYgLNKkVCuxxtu03c/IxtU+CLSIw=";
|
||||
hash = "sha256-lT9jAanfigkfqI1V7tOUqIv5mIzei+NBd1NUkQkYwZY=";
|
||||
};
|
||||
|
||||
LC_ALL = "en_US.UTF-8";
|
||||
|
|
|
@ -1,33 +1,34 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, setuptools-scm
|
||||
# build inputs
|
||||
, appdirs
|
||||
, buildPythonPackage
|
||||
, click
|
||||
, diskcache
|
||||
, fetchPypi
|
||||
, jinja2
|
||||
, jsonschema
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, pyyaml
|
||||
, setuptools-scm
|
||||
, yamllint
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "glean_parser";
|
||||
pname = "glean-parser";
|
||||
version = "5.1.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-8oMbaGsW5Lkw9OluNsXXe2IBNbjeoIb9vDjVOt+uHR0=";
|
||||
pname = "glean_parser";
|
||||
inherit version;
|
||||
hash = "sha256-8oMbaGsW5Lkw9OluNsXXe2IBNbjeoIb9vDjVOt+uHR0=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py --replace "pytest-runner" ""
|
||||
'';
|
||||
nativeBuildInputs = [
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
appdirs
|
||||
|
@ -38,24 +39,29 @@ buildPythonPackage rec {
|
|||
pyyaml
|
||||
yamllint
|
||||
];
|
||||
nativeBuildInputs = [
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace "pytest-runner" ""
|
||||
'';
|
||||
|
||||
disabledTests = [
|
||||
# https://bugzilla.mozilla.org/show_bug.cgi?id=1741668
|
||||
"test_validate_ping"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "glean_parser" ];
|
||||
pythonImportsCheck = [
|
||||
"glean_parser"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Tools for parsing the metadata for Mozilla's glean telemetry SDK";
|
||||
homepage = "https://github.com/mozilla/glean_parser";
|
||||
license = licenses.mpl20;
|
||||
maintainers = [ maintainers.kvark ];
|
||||
maintainers = with maintainers; [ kvark ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,22 +1,27 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, rustPlatform
|
||||
, rustc
|
||||
, cargo
|
||||
, setuptools-rust
|
||||
# build inputs
|
||||
, cffi
|
||||
, fetchPypi
|
||||
, glean-parser
|
||||
, iso8601
|
||||
, pytest-localserver
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, rustc
|
||||
, rustPlatform
|
||||
, setuptools-rust
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "glean-sdk";
|
||||
version = "44.0.0";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-gzLsBwq3wrFde5cEb5+oFLW4KrwoiZpr22JbJhNr1yk=";
|
||||
hash = "sha256-gzLsBwq3wrFde5cEb5+oFLW4KrwoiZpr22JbJhNr1yk=";
|
||||
};
|
||||
|
||||
cargoDeps = rustPlatform.fetchCargoTarball {
|
||||
|
@ -26,22 +31,36 @@ buildPythonPackage rec {
|
|||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
rustc
|
||||
cargo
|
||||
setuptools-rust
|
||||
rustc
|
||||
rustPlatform.cargoSetupHook
|
||||
setuptools-rust
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
cffi
|
||||
glean-parser
|
||||
iso8601
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "glean" ];
|
||||
checkInputs = [
|
||||
pytest-localserver
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace glean-core/python/setup.py \
|
||||
--replace "glean_parser==5.0.1" "glean_parser>=5.0.1"
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
"glean"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Modern cross-platform telemetry client libraries and are a part of the Glean project";
|
||||
description = "Telemetry client libraries and are a part of the Glean project";
|
||||
homepage = "https://mozilla.github.io/glean/book/index.html";
|
||||
license = licenses.mpl20;
|
||||
maintainers = [ maintainers.kvark ];
|
||||
maintainers = with maintainers; [ kvark ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
, pytestCheckHook
|
||||
, pytest-asyncio
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -26,6 +27,7 @@ buildPythonPackage rec {
|
|||
libcst
|
||||
google-api-core
|
||||
proto-plus
|
||||
setuptools
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "luxtronik";
|
||||
version = "0.3.10";
|
||||
version = "0.3.11";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
@ -17,7 +17,7 @@ buildPythonPackage rec {
|
|||
owner = "Bouni";
|
||||
repo = "python-luxtronik";
|
||||
rev = version;
|
||||
sha256 = "sha256-JPY1HbNZanEsUpQ5W2kAwEFvwNGQI2hoogTZUGIg3YY=";
|
||||
sha256 = "sha256-pngtkEuWmOD1MG7/Bh+8iqCxU0l/fGHA8uZxYoxOE5Y=";
|
||||
};
|
||||
|
||||
# Project has no tests
|
||||
|
|
|
@ -74,7 +74,6 @@ buildPythonPackage rec {
|
|||
passlib
|
||||
protobuf
|
||||
publicsuffix2
|
||||
pyasn1
|
||||
pyopenssl
|
||||
pyparsing
|
||||
pyperclip
|
||||
|
@ -87,8 +86,6 @@ buildPythonPackage rec {
|
|||
];
|
||||
|
||||
checkInputs = [
|
||||
beautifulsoup4
|
||||
glibcLocales
|
||||
hypothesis
|
||||
parver
|
||||
pytest-asyncio
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
{ buildPythonPackage
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pytest
|
||||
, lib
|
||||
, pytestCheckHook
|
||||
, setuptools
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -13,17 +14,17 @@ buildPythonPackage rec {
|
|||
sha256 = "51fdc7fb93615286428ee7758cecc2f374d5ff363bdd884c7ea622a7a327a81e";
|
||||
};
|
||||
|
||||
checkPhase = ''
|
||||
py.test
|
||||
'';
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
|
||||
meta = {
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/msgpack/msgpack-python";
|
||||
description = "MessagePack serializer implementation for Python";
|
||||
changelog = "https://github.com/msgpack/msgpack-python/blob/master/ChangeLog.rst";
|
||||
license = lib.licenses.asl20;
|
||||
# maintainers = ?? ;
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "nbxmpp";
|
||||
version = "2.0.4";
|
||||
version = "2.0.6";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
|
@ -22,7 +22,7 @@ buildPythonPackage rec {
|
|||
owner = "gajim";
|
||||
repo = "python-nbxmpp";
|
||||
rev = "nbxmpp-${version}";
|
||||
sha256 = "1c2ncx1k93gxndaw183x0vlqgjnippl3v6sknklj3z2yjcj0l1ks";
|
||||
sha256 = "sha256:03iydz0r9m8559srawwnhaqzqm9liwrnc8v6abj4w3m1lil32bid";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
|
|
36
pkgs/development/python-modules/nested-lookup/default.nix
Normal file
36
pkgs/development/python-modules/nested-lookup/default.nix
Normal file
|
@ -0,0 +1,36 @@
|
|||
{ buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, lib
|
||||
, pytestCheckHook
|
||||
, six
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "nested-lookup";
|
||||
version = "0.2.23";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "russellballestrini";
|
||||
repo = "nested-lookup";
|
||||
# https://github.com/russellballestrini/nested-lookup/issues/47
|
||||
rev = "c1b0421479efa378545bc71efa3b72882e8fec17";
|
||||
sha256 = "sha256-jgfYLSsFLQSsOH4NzbDPKFIG+tWWZ1zTWcZEaX2lthg=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
six
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "nested_lookup" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python functions for working with deeply nested documents (lists and dicts)";
|
||||
homepage = "https://github.com/russellballestrini/nested-lookup";
|
||||
license = licenses.publicDomain;
|
||||
maintainers = with maintainers; [ tboerger ];
|
||||
};
|
||||
}
|
|
@ -12,7 +12,8 @@ buildPythonPackage rec {
|
|||
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
disabledTests = [ "test_clean_confounds" ]; # https://github.com/nilearn/nilearn/issues/2608
|
||||
pytestFlagsArray = [ "nilearn" ];
|
||||
# do subset of tests which don't fetch resources
|
||||
pytestFlagsArray = [ "nilearn/connectome/tests" ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
joblib
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
{ buildPythonPackage
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, nose
|
||||
, bcrypt
|
||||
|
@ -18,8 +19,9 @@ buildPythonPackage rec {
|
|||
propagatedBuildInputs = [ bcrypt argon2_cffi ];
|
||||
propagatedNativeBuildInputs = [ argon2_cffi ];
|
||||
|
||||
meta = {
|
||||
meta = with lib; {
|
||||
description = "A password hashing library for Python";
|
||||
homepage = "https://code.google.com/p/passlib/";
|
||||
homepage = "https://foss.heptapod.net/python-libs/passlib";
|
||||
license = licenses.bsdOriginal;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -7,14 +7,14 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "pex";
|
||||
version = "2.1.73";
|
||||
version = "2.1.74";
|
||||
format = "flit";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-OxIm0vFH0JadaKMGrKNNj8mA7ue1kazjpauSK6XNGiU=";
|
||||
hash = "sha256-SyKOwESn+0pFtm2GBFcS+kzIuv5cNXcayTtI7OyFpQg=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
|
|
@ -1,26 +1,28 @@
|
|||
{ lib, buildPythonPackage, fetchFromGitHub, requests }:
|
||||
{ lib, buildPythonPackage, fetchFromGitHub }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "publicsuffix2";
|
||||
version = "2.20191221";
|
||||
version = "2.2019-12-21";
|
||||
|
||||
# Tests are missing in the sdist
|
||||
# See: https://github.com/nexB/python-publicsuffix2/issues/12
|
||||
src = fetchFromGitHub {
|
||||
owner = "nexB";
|
||||
repo = "python-publicsuffix2";
|
||||
rev = "release-2.2019-12-21";
|
||||
rev = "release-${version}";
|
||||
sha256 = "1dkvfvl0izq9hqzilnw8ipkbgjs9xyad9p21i3864hzinbh0wp9r";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ requests ];
|
||||
postPatch = ''
|
||||
# only used to update the interal publicsuffix list
|
||||
substituteInPlace setup.py \
|
||||
--replace "'requests >= 2.7.0'," ""
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "publicsuffix2" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = ''
|
||||
Get a public suffix for a domain name using the Public Suffix
|
||||
List. Forked from and using the same API as the publicsuffix package.
|
||||
'';
|
||||
homepage = "https://pypi.python.org/pypi/publicsuffix2/";
|
||||
description = "Get a public suffix for a domain name using the Public Suffix List";
|
||||
homepage = "https://github.com/nexB/python-publicsuffix2";
|
||||
license = licenses.mpl20;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -7,11 +7,11 @@
|
|||
}:
|
||||
buildPythonPackage rec {
|
||||
pname = "PyRect";
|
||||
version = "0.1.4";
|
||||
version = "0.2.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-Oy+nNTzjKhGqawoVSVlo0qdjQjyJR64ki5LAN9704gI=";
|
||||
sha256 = "sha256-9lFV9t+bkptnyv+9V8CUfFrlRJ07WA0XgHS/+0egm3g=";
|
||||
};
|
||||
|
||||
checkInputs = [ tox pytestCheckHook pygame ];
|
||||
|
|
|
@ -2,13 +2,13 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "robotframework";
|
||||
version = "4.1.3";
|
||||
version = "5.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = pname;
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "0j71awmfkwk7prz82kr1zbcl3nrih3396sshrygnqlrdjmgivd3p";
|
||||
sha256 = "sha256-AblBSkTCUrYlX4M35IHUIw7j2PGzALbGXpApiJgZlWE=";
|
||||
};
|
||||
|
||||
checkInputs = [ jsonschema ];
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "scmrepo";
|
||||
version = "0.0.7";
|
||||
version = "0.0.13";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
@ -23,7 +23,7 @@ buildPythonPackage rec {
|
|||
owner = "iterative";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-tZsogqcfAqpSo9yOz4z0mgY9SVU1epPmcBuyLJsHLfY=";
|
||||
hash = "sha256-VWdewy4sfnM5zwDmeL8PdNZINN07rBosg4+GOWkkhVE=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
|
|
@ -6,11 +6,11 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "trimesh";
|
||||
version = "3.10.6";
|
||||
version = "3.10.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-oFNJ2hynf4bUY6sIXx7y4jEkCATi5rZetiCvNpwNzio=";
|
||||
sha256 = "sha256-OYor+DQJkkQx8C5E0pmeGaymiYEyKkuKBLp12jkrhS8=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ numpy ];
|
||||
|
|
|
@ -3,27 +3,41 @@
|
|||
, fetchPypi
|
||||
, cffi
|
||||
, hypothesis
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "zstandard";
|
||||
version = "0.17.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "fa9194cb91441df7242aa3ddc4cb184be38876cb10dd973674887f334bafbfb6";
|
||||
};
|
||||
|
||||
propagatedNativeBuildInputs = [ cffi ];
|
||||
propagatedNativeBuildInputs = [
|
||||
cffi
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [ cffi ];
|
||||
propagatedBuildInputs = [
|
||||
cffi
|
||||
];
|
||||
|
||||
checkInputs = [ hypothesis ];
|
||||
checkInputs = [
|
||||
hypothesis
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"zstandard"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "zstandard bindings for Python";
|
||||
homepage = "https://github.com/indygreg/python-zstandard";
|
||||
license = licenses.bsdOriginal;
|
||||
maintainers = [ maintainers.arnoldfarkas ];
|
||||
maintainers = with maintainers; [ arnoldfarkas ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,15 +1,19 @@
|
|||
{ lib, stdenv, fetchurl, libxslt, docbook_xsl, docbook_xml_dtd_45, pcre, withZ3 ? true, z3 }:
|
||||
{ lib, stdenv, fetchFromGitHub, libxslt, docbook_xsl, docbook_xml_dtd_45, pcre, withZ3 ? true, z3, python3 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "cppcheck";
|
||||
version = "2.7";
|
||||
version = "2.7.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.bz2";
|
||||
sha256 = "sha256-rHTAlzxGoFJ2D0/3ymqEYWyleVUQVC0ZWm8SLFMHkpE=";
|
||||
src = fetchFromGitHub {
|
||||
owner = "danmar";
|
||||
repo = "cppcheck";
|
||||
rev = version;
|
||||
sha256 = "0bwk89nkq67nphplb24daxvg75pv9bgh0kcqr2samhpzmjpvzxm5";
|
||||
};
|
||||
|
||||
buildInputs = [ pcre ] ++ lib.optionals withZ3 [ z3 ];
|
||||
buildInputs = [ pcre
|
||||
(python3.withPackages (ps: [ps.pygments]))
|
||||
] ++ lib.optionals withZ3 [ z3 ];
|
||||
nativeBuildInputs = [ libxslt docbook_xsl docbook_xml_dtd_45 ];
|
||||
|
||||
makeFlags = [ "PREFIX=$(out)" "FILESDIR=$(out)/cfg" "HAVE_RULES=yes" ]
|
||||
|
@ -19,6 +23,8 @@ stdenv.mkDerivation rec {
|
|||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
doCheck = true;
|
||||
|
||||
postInstall = ''
|
||||
make DB2MAN=${docbook_xsl}/xml/xsl/docbook/manpages/docbook.xsl man
|
||||
mkdir -p $man/share/man/man1
|
||||
|
|
|
@ -3,13 +3,13 @@
|
|||
nixosTests }:
|
||||
buildGoModule rec {
|
||||
pname = "buildkite-agent";
|
||||
version = "3.33.3";
|
||||
version = "3.34.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "buildkite";
|
||||
repo = "agent";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-RCKHVFYYcWraUwsGuD/anmWpNwc7cHc9jm0LwR9WRzA=";
|
||||
sha256 = "sha256-OxZcMPJx83hBQOe4Pc8ERhO9QOc4euVVs+OMbPjA4U0=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-n3XRxpEKjHf7L7fcGscWTVKBtot9waZbLoS9cG0kHfI=";
|
||||
|
|
|
@ -56,6 +56,6 @@ rustPlatform.buildRustPackage rec {
|
|||
homepage = "https://www.prisma.io/";
|
||||
license = licenses.asl20;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ pamplemousse pimeys ];
|
||||
maintainers = with maintainers; [ pamplemousse pimeys superherointj ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
{ lib
|
||||
, pkg-config
|
||||
, fetchurl
|
||||
, fetchpatch
|
||||
, meson
|
||||
, ninja
|
||||
, glib
|
||||
|
@ -25,6 +26,17 @@ python3.pkgs.buildPythonApplication rec {
|
|||
sha256 = "hzPOS5qaVOwYWx2Fv02p2dEQUogqiAdg/2D5d5stHMs=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Fix build with meson 0.61
|
||||
# data/meson.build:15:0: ERROR: Function does not take positional arguments.
|
||||
# data/meson.build:27:0: ERROR: Function does not take positional arguments.
|
||||
# Patch taken from https://gitlab.gnome.org/GNOME/d-feet/-/merge_requests/32
|
||||
(fetchpatch {
|
||||
url = "https://gitlab.gnome.org/GNOME/d-feet/-/commit/05465d486afdba116dbc22fc22c1e6573aea4f22.patch";
|
||||
sha256 = "sFI3nd0YE/deGws/YcTpzC/em9QNgicyb4j7cTfOdhY=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
gettext
|
||||
gobject-introspection
|
||||
|
|
|
@ -68,5 +68,7 @@ buildPythonApplication rec {
|
|||
license = licenses.unfreeRedistributable;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ gebner ];
|
||||
# libusb1 1.9.3 uses setuptools' 2to3 translation feature, which has been removed in setuptools 58
|
||||
broken = true;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
{
|
||||
"url": "https://github.com/cstrahan/tree-sitter-nix",
|
||||
"rev": "470b15a60520ff7b86f51732b8d8f1118c86041e",
|
||||
"date": "2022-03-18T01:42:08-05:00",
|
||||
"path": "/nix/store/c5y76kz7wmfq05hfw4xpqz2ahcdy924f-tree-sitter-nix",
|
||||
"sha256": "1hl0mpy0i6r160v6v3nflrdi5fnmd8i5zbx963h5nj9fg4srkb5r",
|
||||
"rev": "6d6aaa50793b8265b6a8b6628577a0083d3b923d",
|
||||
"date": "2021-11-29T00:27:21-06:00",
|
||||
"path": "/nix/store/6cjadxvqbrh205lsqnk2rnzq3badxdxv-tree-sitter-nix",
|
||||
"sha256": "0cbk6dqppasrvnm87pwfgm718z6b0xmy9m7zj8ysil0h8bklz1w9",
|
||||
"fetchLFS": false,
|
||||
"fetchSubmodules": false,
|
||||
"deepClone": false,
|
||||
|
|
|
@ -12,6 +12,10 @@ stdenv.mkDerivation rec {
|
|||
nativeBuildInputs = lib.optional stdenv.hostPlatform.isDarwin fixDarwinDylibNames;
|
||||
buildInputs = lib.optional stdenv.hostPlatform.isLinux alsa-lib;
|
||||
|
||||
postInstall = ''
|
||||
install -Dm644 contrib/sndiod.service $out/lib/systemd/system/sndiod.service
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with lib; {
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
, ninja
|
||||
, python3
|
||||
, gtk-doc
|
||||
, docbook_xsl
|
||||
, docbook-xsl-nons
|
||||
, udev
|
||||
, libgudev
|
||||
, libusb1
|
||||
|
@ -22,7 +22,7 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "upower";
|
||||
version = "0.99.15";
|
||||
version = "0.99.17";
|
||||
|
||||
outputs = [ "out" "dev" "devdoc" ];
|
||||
|
||||
|
@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
|
|||
owner = "upower";
|
||||
repo = "upower";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-GlLy2MPip21KOabdW8Vw6NVe3xhzsd9htxQ2xO/hZ/4=";
|
||||
sha256 = "xvvqzGxgkuGcvnO12jnLURNJUoSlnMw2g/mnII+i6Bs=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -39,7 +39,7 @@ stdenv.mkDerivation rec {
|
|||
ninja
|
||||
python3
|
||||
gtk-doc
|
||||
docbook_xsl
|
||||
docbook-xsl-nons
|
||||
gettext
|
||||
gobject-introspection
|
||||
libxslt
|
||||
|
@ -99,7 +99,9 @@ stdenv.mkDerivation rec {
|
|||
|
||||
meta = with lib; {
|
||||
homepage = "https://upower.freedesktop.org/";
|
||||
changelog = "https://gitlab.freedesktop.org/upower/upower/-/blob/v${version}/NEWS";
|
||||
description = "A D-Bus service for power management";
|
||||
maintainers = teams.freedesktop.members;
|
||||
platforms = platforms.linux;
|
||||
license = licenses.gpl2Plus;
|
||||
};
|
||||
|
|
|
@ -27,12 +27,12 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "rabbitmq-server";
|
||||
version = "3.9.13";
|
||||
version = "3.9.14";
|
||||
|
||||
# when updating, consider bumping elixir version in all-packages.nix
|
||||
src = fetchurl {
|
||||
url = "https://github.com/rabbitmq/rabbitmq-server/releases/download/v${version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "sha256-DndZ74m+CFyrukxKyOpfoRCb86RID2XL7x0eUZifcno=";
|
||||
sha256 = "sha256-c6GpB6CSCHiU9hTC9FkxyTc1UpNWxx5iP3y2dbTUfS0=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ unzip xmlto docbook_xml_dtd_45 docbook_xsl zip rsync ];
|
||||
|
|
|
@ -3,34 +3,17 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "confluent-platform";
|
||||
version = "5.3.0";
|
||||
scalaVersion = "2.12";
|
||||
version = "7.0.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://packages.confluent.io/archive/${lib.versions.majorMinor version}/confluent-${version}-${scalaVersion}.tar.gz";
|
||||
sha256 = "14cilq63fib5yvj40504aj6wssi7xw4f7c2jadlzdmdxzh4ixqmp";
|
||||
};
|
||||
|
||||
confluentCli = fetchFromGitHub {
|
||||
owner = "confluentinc";
|
||||
repo = "confluent-cli";
|
||||
rev = "v${version}";
|
||||
sha256 = "18yvp56b8l074qfkgr4afirgd43g8b023n9ija6dnk6p6dib1f4j";
|
||||
url = "https://packages.confluent.io/archive/${lib.versions.majorMinor version}/confluent-${version}.tar.gz";
|
||||
sha256 = "Q0/A/3M2tn530/+o1RpcgNsPKFQq6YJQnhgysRlpVfU=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
buildInputs = [ jre bash ];
|
||||
|
||||
installPhase = ''
|
||||
cp -R $confluentCli confluent-cli
|
||||
chmod -R +w confluent-cli
|
||||
|
||||
(
|
||||
export CONFLUENT_HOME=$PWD
|
||||
cd confluent-cli
|
||||
make install
|
||||
)
|
||||
|
||||
mkdir -p $out
|
||||
cp -R bin etc share src $out
|
||||
rm -rf $out/bin/windows
|
||||
|
@ -56,7 +39,7 @@ stdenv.mkDerivation rec {
|
|||
homepage = "https://www.confluent.io/";
|
||||
description = "Confluent event streaming platform based on Apache Kafka";
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.offline ];
|
||||
maintainers = with maintainers; [ zoedsoupe ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -2,16 +2,16 @@
|
|||
|
||||
buildGoModule rec {
|
||||
pname = "matrix-dendrite";
|
||||
version = "0.6.5";
|
||||
version = "0.7.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "matrix-org";
|
||||
repo = "dendrite";
|
||||
rev = "v${version}";
|
||||
sha256 = "jSn2awZsfsniSOTNkaEdQw/sZm7nUfiMntsxigy/51Y=";
|
||||
sha256 = "sha256-R0xGsngNk8osBh3vRUeYxmEgbbNa+wKOihRjOU40D48=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-B4d3FGXy8TrED3oikTjETQso/AtEfIWWcdY6FykD/8A=";
|
||||
vendorSha256 = "sha256-0Y/RVRWZ0osU/kEcf+Y8TH8K2rmxFmQSqMMNHoRIugo=";
|
||||
|
||||
passthru.tests = {
|
||||
inherit (nixosTests) dendrite;
|
||||
|
|
|
@ -8,16 +8,16 @@
|
|||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "libreddit";
|
||||
version = "0.22.1";
|
||||
version = "0.22.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "spikecodes";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-k6GAxEGmDzC6nUCMYXahw/MTQanpZw8UMBVPCA4zSTs=";
|
||||
sha256 = "sha256-6aOUhw+eQJDU3sgd9ymQUYLBuCCJXIQHzr0+zT8yEtU=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-K31z5j/pBN84Egrfwe4/V3hpbIrlzn6ppFFNWFXFVcc=";
|
||||
cargoSha256 = "sha256-ZlLzTg+TCRHRnrXHhv4OuYpD3Fd6qRfzHvdwWrBYQdU=";
|
||||
|
||||
buildInputs = lib.optional stdenv.isDarwin Security;
|
||||
|
||||
|
|
|
@ -2,17 +2,17 @@
|
|||
|
||||
buildGoModule rec {
|
||||
pname = "alertmanager";
|
||||
version = "0.23.0";
|
||||
version = "0.24.0";
|
||||
rev = "v${version}";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
inherit rev;
|
||||
owner = "prometheus";
|
||||
repo = "alertmanager";
|
||||
sha256 = "sha256-06mKgWUyw5jsjKiRXQ9/oqHvFdkY2nS9Z3eW60lTNbU=";
|
||||
sha256 = "sha256-hoCE0wD9/Sh/oBce7kCg/wG44FmMs6dAKnEYP+2sH0w=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-zJvzCC7Vn5repWssyDuGtoUSZC2ojQhMqDX5Orr0ST0=";
|
||||
vendorSha256 = "sha256-ePb9qdCTEHHIV6JlbrBlaZjD5APwQuoGloO88W5S7Oc=";
|
||||
|
||||
subPackages = [ "cmd/alertmanager" "cmd/amtool" ];
|
||||
|
||||
|
|
|
@ -17,8 +17,8 @@ in lib.mapAttrs (n: make) (with lib.systems.examples; {
|
|||
armv6l-musl = muslpi;
|
||||
aarch64-musl = aarch64-multiplatform-musl;
|
||||
riscv64 = riscv64;
|
||||
mips64el-linux-gnuabin32 = lib.systems.platforms.mips64el-linux-gnuabin32;
|
||||
mips64el-linux-gnuabi64 = lib.systems.platforms.mips64el-linux-gnuabi64;
|
||||
mips64el-linux-gnuabin32 = mips64el-linux-gnuabin32;
|
||||
mips64el-linux-gnuabi64 = mips64el-linux-gnuabi64;
|
||||
powerpc64 = ppc64;
|
||||
powerpc64-musl = ppc64-musl;
|
||||
powerpc64le = powernv;
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
{ lib, stdenv, buildPackages, fetchurl, autoconf, automake, gettext, libtool, pkg-config
|
||||
, icu, libuuid, readline, inih
|
||||
, icu, libuuid, readline, inih, liburcu
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "xfsprogs";
|
||||
version = "5.13.0";
|
||||
version = "5.14.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://kernel/linux/utils/fs/xfs/xfsprogs/${pname}-${version}.tar.xz";
|
||||
sha256 = "sha256-ThQtS6vghq35AW2MYGyAWCnaCORjiaRDP0A0YgT5DNs=";
|
||||
sha256 = "sha256-AczT753yg3dTpdh2uNqE6pV9E9ekYbjEbor6TrCaq8g=";
|
||||
};
|
||||
|
||||
outputs = [ "bin" "dev" "out" "doc" ];
|
||||
|
@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
|
|||
autoconf automake libtool gettext pkg-config
|
||||
libuuid # codegen tool uses libuuid
|
||||
];
|
||||
buildInputs = [ readline icu inih ];
|
||||
buildInputs = [ readline icu inih liburcu ];
|
||||
propagatedBuildInputs = [ libuuid ]; # Dev headers include <uuid/uuid.h>
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
|
|
@ -48,10 +48,11 @@ stdenv.mkDerivation rec {
|
|||
|
||||
propagatedBuildInputs = [
|
||||
coreutils
|
||||
dosfstools
|
||||
mtools
|
||||
unzip
|
||||
zip
|
||||
] ++ lib.optionals doCheck [
|
||||
mtools
|
||||
dosfstools
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
|
|
|
@ -41,13 +41,13 @@ let
|
|||
]));
|
||||
in stdenv.mkDerivation rec {
|
||||
pname = "ostree";
|
||||
version = "2022.1";
|
||||
version = "2022.2";
|
||||
|
||||
outputs = [ "out" "dev" "man" "installedTests" ];
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/ostreedev/ostree/releases/download/v${version}/libostree-${version}.tar.xz";
|
||||
sha256 = "sha256-Q6AOeFaEK4o09mFvws4c4jjvQyEMykH3DmtLDSqfytU=";
|
||||
sha256 = "sha256-duL1tXhNjLaG6QvjL87LtWxsaoJOA3ShpoILV3EDZ2s=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
|
|
@ -40,13 +40,13 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "rpm-ostree";
|
||||
version = "2022.2";
|
||||
version = "2022.3";
|
||||
|
||||
outputs = [ "out" "dev" "man" "devdoc" ];
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/coreos/${pname}/releases/download/v${version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "sha256-wy6zmVy7+31+wadLldWdf/IyT0dyLArYLmGw/Kgd+sU=";
|
||||
sha256 = "sha256-ERDaCLj/qvyzAxmpUfFsCx9fsDjlhQ19PRyUTVZ2Z2w=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
|
|
@ -2,16 +2,16 @@
|
|||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "topgrade";
|
||||
version = "8.2.0";
|
||||
version = "8.3.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "r-darwish";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-WyiEKC5WUwIGCaxXqiqNyOcGVZgfd2lVFMxQxhgJhMc=";
|
||||
sha256 = "sha256-iFS8Bf2IF0GoW168DwfBbkiPd7IGJhGShofFnBESpUc=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-ZcOSHEZHGa1XhGQlW4pR5hBJ2SpSbkKuRS6OSHGg9Lo=";
|
||||
cargoSha256 = "sha256-8Ag4rDXnDZgxdwFpiWnYNjDeau9vr9EIfbJzeQlqSDM=";
|
||||
|
||||
buildInputs = lib.optional stdenv.isDarwin Foundation;
|
||||
|
||||
|
|
|
@ -5,13 +5,13 @@
|
|||
|
||||
buildGoModule rec {
|
||||
pname = "amass";
|
||||
version = "3.18.2";
|
||||
version = "3.18.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "OWASP";
|
||||
repo = "Amass";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-2HE+hzvEbM+68x3YJq8rIMCKAld9MLrCEuHBA4uuetI=";
|
||||
sha256 = "sha256-DsIqG+r2PrMKEypLuLky60U3nXNt0Ms9YrZetIQGnpE=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-hYrv5z+9JY7gXkC4xQvko7qhwBtzywUy0TMqrlgqXb0=";
|
||||
|
|
|
@ -2,16 +2,16 @@
|
|||
|
||||
buildGoModule rec {
|
||||
pname = "frp";
|
||||
version = "0.40.0";
|
||||
version = "0.41.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "fatedier";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-W+88Fq9oYDBLCNp+6rc9jACJzky7FCZg/xLDowGGdm0=";
|
||||
sha256 = "sha256-JutR1yrxbwhfcw6qTh493yVeo7KzLl83himPTX8FJlA=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-iBjMFOERWQ1aPn+2gEoI9og2ov2LlBVV1sLAZlvqZPM=";
|
||||
vendorSha256 = "sha256-HOfcVPrJ6TBrhToqYN2CJ0i3re95awrIxQk2Mm8x3DU=";
|
||||
|
||||
doCheck = false;
|
||||
|
||||
|
|
|
@ -54,11 +54,11 @@ let
|
|||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "networkmanager";
|
||||
version = "1.36.2";
|
||||
version = "1.36.4";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/NetworkManager/${lib.versions.majorMinor version}/NetworkManager-${version}.tar.xz";
|
||||
sha256 = "1aqc8z8zv1sds439ilihwqczwg9iqzki0f007fd2x0s17fz5r1db";
|
||||
sha256 = "YTBOk33ZJkcdVnFb3t57q3zKyCc1bmfycA00MxfNPFk=";
|
||||
};
|
||||
|
||||
outputs = [ "out" "dev" "devdoc" "man" "doc" ];
|
||||
|
|
|
@ -38,6 +38,11 @@ rustPlatform.buildRustPackage rec {
|
|||
--fish completions/xh.fish \
|
||||
--zsh completions/_xh
|
||||
|
||||
installManPage doc/xh.1
|
||||
ln -s $out/share/man/man1/xh.1 $out/share/man/man1/xhs.1
|
||||
|
||||
install -m444 -Dt $out/share/doc/xh README.md CHANGELOG.md
|
||||
|
||||
# https://github.com/ducaale/xh#xh-and-xhs
|
||||
ln -s $out/bin/xh $out/bin/xhs
|
||||
'';
|
||||
|
|
|
@ -9,11 +9,6 @@ let
|
|||
];
|
||||
|
||||
patches = [
|
||||
# Patch added by the mamba team
|
||||
(fetchpatch {
|
||||
url = "https://raw.githubusercontent.com/mamba-org/boa-forge/20530f80e2e15012078d058803b6e2c75ed54224/libsolv/add_strict_repo_prio_rule.patch";
|
||||
sha256 = "19c47i5cpyy88nxskf7k6q6r43i55w61jvnz7fc2r84hpjkcrv7r";
|
||||
})
|
||||
# Patch added by the mamba team
|
||||
(fetchpatch {
|
||||
url = "https://raw.githubusercontent.com/mamba-org/boa-forge/20530f80e2e15012078d058803b6e2c75ed54224/libsolv/conda_variant_priorization.patch";
|
||||
|
|
|
@ -1,25 +1,18 @@
|
|||
{ lib, stdenv, fetchFromGitHub
|
||||
, autoPatchelfHook
|
||||
, fuse, packer
|
||||
, fuse, jffi
|
||||
, maven, jdk, jre, makeWrapper, glib, wrapGAppsHook
|
||||
}:
|
||||
|
||||
let
|
||||
pname = "cryptomator";
|
||||
version = "1.5.15";
|
||||
version = "1.6.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "cryptomator";
|
||||
repo = "cryptomator";
|
||||
rev = version;
|
||||
sha256 = "06n7wda7gfalvsg1rlcm51ss73nlbhh95z6zq18yvn040clkzkij";
|
||||
};
|
||||
|
||||
icons = fetchFromGitHub {
|
||||
owner = "cryptomator";
|
||||
repo = "cryptomator-linux";
|
||||
rev = version;
|
||||
sha256 = "1sqbx858zglv0xkpjya0cpbkxf2hkj1xvxhnir3176y2xyjv6aib";
|
||||
sha256 = "sha256-hOILOdVYBnS9XuEXaIJcf2bPF72Lcr7IBX4CFCIsC8k=";
|
||||
};
|
||||
|
||||
# perform fake build to make a fixed-output derivation out of the files downloaded from maven central (120MB)
|
||||
|
@ -28,10 +21,10 @@ let
|
|||
inherit src;
|
||||
|
||||
nativeBuildInputs = [ jdk maven ];
|
||||
buildInputs = [ jre ];
|
||||
|
||||
buildPhase = ''
|
||||
cd main
|
||||
while mvn -Prelease package -Dmaven.repo.local=$out/.m2 -Dmaven.wagon.rto=5000; [ $? = 1 ]; do
|
||||
while mvn -Plinux package -Dmaven.test.skip=true -Dmaven.repo.local=$out/.m2 -Dmaven.wagon.rto=5000; [ $? = 1 ]; do
|
||||
echo "timeout, restart maven to continue downloading"
|
||||
done
|
||||
'';
|
||||
|
@ -44,42 +37,52 @@ let
|
|||
|
||||
outputHashAlgo = "sha256";
|
||||
outputHashMode = "recursive";
|
||||
outputHash = "195ysv9l861y9d1lvmvi7wmk172ynlba9n233blpaigq88cjn208";
|
||||
outputHash = "sha256-XFqXjNjPN2vwA3jay7TS79S4FHksjjrODdD/p4oTvpg=";
|
||||
|
||||
doCheck = false;
|
||||
};
|
||||
|
||||
in stdenv.mkDerivation rec {
|
||||
inherit pname version src;
|
||||
|
||||
buildPhase = ''
|
||||
cd main
|
||||
mvn -Prelease package --offline -Dmaven.repo.local=$(cp -dpR ${deps}/.m2 ./ && chmod +w -R .m2 && pwd)/.m2
|
||||
mvn -Plinux package --offline -Dmaven.test.skip=true -Dmaven.repo.local=$(cp -dpR ${deps}/.m2 ./ && chmod +w -R .m2 && pwd)/.m2
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin/ $out/usr/share/cryptomator/libs/
|
||||
mkdir -p $out/bin/ $out/share/cryptomator/libs/ $out/share/cryptomator/mods/
|
||||
|
||||
cp buildkit/target/libs/* buildkit/target/linux-libs/* $out/usr/share/cryptomator/libs/
|
||||
cp target/libs/* $out/share/cryptomator/libs/
|
||||
cp target/mods/* target/cryptomator-*.jar $out/share/cryptomator/mods/
|
||||
|
||||
# The bundeled jffi.so dosn't work on nixos and causes a segmentation fault
|
||||
# we thus replace it with a version build by nixos
|
||||
rm $out/share/cryptomator/libs/jff*.jar
|
||||
cp -f ${jffi}/share/java/jffi-complete.jar $out/share/cryptomator/libs/
|
||||
|
||||
makeWrapper ${jre}/bin/java $out/bin/cryptomator \
|
||||
--add-flags "-classpath '$out/usr/share/cryptomator/libs/*'" \
|
||||
--add-flags "--class-path '$out/share/cryptomator/libs/*'" \
|
||||
--add-flags "--module-path '$out/share/cryptomator/mods'" \
|
||||
--add-flags "-Dcryptomator.settingsPath='~/.config/Cryptomator/settings.json'" \
|
||||
--add-flags "-Dcryptomator.ipcPortPath='~/.config/Cryptomator/ipcPort.bin'" \
|
||||
--add-flags "-Dcryptomator.ipcSocketPath='~/.config/Cryptomator/ipc.socket'" \
|
||||
--add-flags "-Dcryptomator.logDir='~/.local/share/Cryptomator/logs'" \
|
||||
--add-flags "-Dcryptomator.mountPointsDir='~/.local/share/Cryptomator/mnt'" \
|
||||
--add-flags "-Djdk.gtk.version=3" \
|
||||
--add-flags "-Xss20m" \
|
||||
--add-flags "-Xmx512m" \
|
||||
--add-flags "org.cryptomator.launcher.Cryptomator" \
|
||||
--prefix PATH : "$out/usr/share/cryptomator/libs/:${lib.makeBinPath [ jre glib ]}" \
|
||||
--add-flags "-Djavafx.embed.singleThread=true " \
|
||||
--add-flags "-Dawt.useSystemAAFontSettings=on" \
|
||||
--add-flags "--module org.cryptomator.desktop/org.cryptomator.launcher.Cryptomator" \
|
||||
--prefix PATH : "$out/share/cryptomator/libs/:${lib.makeBinPath [ jre glib ]}" \
|
||||
--prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ fuse ]}" \
|
||||
--set JAVA_HOME "${jre.home}"
|
||||
|
||||
# install desktop entry and icons
|
||||
cp -r ${icons}/resources/appimage/AppDir/usr/* $out/
|
||||
cp -r ${src}/dist/linux/appimage/resources/AppDir/usr/* $out/
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ autoPatchelfHook maven makeWrapper wrapGAppsHook jdk ];
|
||||
buildInputs = [ fuse packer jre glib ];
|
||||
buildInputs = [ fuse jre glib jffi ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Free client-side encryption for your cloud files";
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# frozen_string_literal: true
|
||||
source "https://rubygems.org"
|
||||
|
||||
gem "metasploit-framework", git: "https://github.com/rapid7/metasploit-framework", ref: "refs/tags/6.1.34"
|
||||
gem "metasploit-framework", git: "https://github.com/rapid7/metasploit-framework", ref: "refs/tags/6.1.35"
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
GIT
|
||||
remote: https://github.com/rapid7/metasploit-framework
|
||||
revision: e1ab1599c07319d2732645b003c038ffa4dad7cd
|
||||
ref: refs/tags/6.1.34
|
||||
revision: c1efca37c6e967103978915618efa41515134ea1
|
||||
ref: refs/tags/6.1.35
|
||||
specs:
|
||||
metasploit-framework (6.1.34)
|
||||
metasploit-framework (6.1.35)
|
||||
actionpack (~> 6.0)
|
||||
activerecord (~> 6.0)
|
||||
activesupport (~> 6.0)
|
||||
|
@ -128,13 +128,13 @@ GEM
|
|||
arel-helpers (2.14.0)
|
||||
activerecord (>= 3.1.0, < 8)
|
||||
aws-eventstream (1.2.0)
|
||||
aws-partitions (1.568.0)
|
||||
aws-partitions (1.570.0)
|
||||
aws-sdk-core (3.130.0)
|
||||
aws-eventstream (~> 1, >= 1.0.2)
|
||||
aws-partitions (~> 1, >= 1.525.0)
|
||||
aws-sigv4 (~> 1.1)
|
||||
jmespath (~> 1.0)
|
||||
aws-sdk-ec2 (1.303.0)
|
||||
aws-sdk-ec2 (1.304.0)
|
||||
aws-sdk-core (~> 3, >= 3.127.0)
|
||||
aws-sigv4 (~> 1.1)
|
||||
aws-sdk-iam (1.68.0)
|
||||
|
@ -334,7 +334,7 @@ GEM
|
|||
rex-core
|
||||
rex-struct2
|
||||
rex-text
|
||||
rex-core (0.1.26)
|
||||
rex-core (0.1.27)
|
||||
rex-encoder (0.1.6)
|
||||
metasm
|
||||
rex-arch
|
||||
|
|
|
@ -15,13 +15,13 @@ let
|
|||
};
|
||||
in stdenv.mkDerivation rec {
|
||||
pname = "metasploit-framework";
|
||||
version = "6.1.34";
|
||||
version = "6.1.35";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rapid7";
|
||||
repo = "metasploit-framework";
|
||||
rev = version;
|
||||
sha256 = "sha256-6rGELJYmddWoR6qIuXKoCT5RpMASIzssWG9Y0Xtx+Z8=";
|
||||
sha256 = "sha256-1xEc+I2Pvs6GQuEGAHWWAum7ASESX5R5D1qN+wPtFgY=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
|
|
@ -104,10 +104,10 @@
|
|||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "1ap27g6hxcczpb5dj7v0wzxrvywfa2kf3zx69xnjz1qvxf3plw54";
|
||||
sha256 = "0w3y40l5xg0p5sha6w4wppwb6kil129nk760yblswqw7vz0s0mm0";
|
||||
type = "gem";
|
||||
};
|
||||
version = "1.568.0";
|
||||
version = "1.570.0";
|
||||
};
|
||||
aws-sdk-core = {
|
||||
groups = ["default"];
|
||||
|
@ -124,10 +124,10 @@
|
|||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "12k3gjsagdb11crg2gx7373qn1zhglkkija9d6558v0slcza8m3j";
|
||||
sha256 = "0vvplr6ml7acl047lynmsdl2bs2i992vx68dhzqmllppf8ggcjvs";
|
||||
type = "gem";
|
||||
};
|
||||
version = "1.303.0";
|
||||
version = "1.304.0";
|
||||
};
|
||||
aws-sdk-iam = {
|
||||
groups = ["default"];
|
||||
|
@ -684,12 +684,12 @@
|
|||
platforms = [];
|
||||
source = {
|
||||
fetchSubmodules = false;
|
||||
rev = "e1ab1599c07319d2732645b003c038ffa4dad7cd";
|
||||
sha256 = "17zrf5xx2n3gb0n3n8qjq2j52gh9m1rbk25a8yldax96jqn89cga";
|
||||
rev = "c1efca37c6e967103978915618efa41515134ea1";
|
||||
sha256 = "01hnxl1zp3as1xwr8pqj440vps82jrsh01p18a3cxglgipw1q4fp";
|
||||
type = "git";
|
||||
url = "https://github.com/rapid7/metasploit-framework";
|
||||
};
|
||||
version = "6.1.34";
|
||||
version = "6.1.35";
|
||||
};
|
||||
metasploit-model = {
|
||||
groups = ["default"];
|
||||
|
@ -1147,10 +1147,10 @@
|
|||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "1hjc70q6wb580k0jk4g4s9aqwd25l48kr0pcyjjs2ffax0zcm4d0";
|
||||
sha256 = "0a5fb8g6ksak1g1syhvh5rh87shnx617l7nl6afl80in0h4fd4xd";
|
||||
type = "gem";
|
||||
};
|
||||
version = "0.1.26";
|
||||
version = "0.1.27";
|
||||
};
|
||||
rex-encoder = {
|
||||
groups = ["default"];
|
||||
|
|
33
pkgs/tools/text/justify/default.nix
Normal file
33
pkgs/tools/text/justify/default.nix
Normal file
|
@ -0,0 +1,33 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitea
|
||||
, cmake
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "justify";
|
||||
version = "unstable-2022-03-19";
|
||||
|
||||
src = fetchFromGitea {
|
||||
domain = "tildegit.org";
|
||||
owner = "jns";
|
||||
repo = "justify";
|
||||
rev = "0d397c20ed921c8e091bf18e548d174e15810e62";
|
||||
sha256 = "sha256-406OhJt2Ila/LIhfqJXhbFqFxJJiRyMVI4/VK8Y43kc=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
installPhase = ''
|
||||
install -D justify $out/bin/justify
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://tildegit.org/jns/justify";
|
||||
description = "Simple text alignment tool that supports left/right/center/fill justify alignment";
|
||||
license = licenses.gpl3Only;
|
||||
platforms = platforms.unix;
|
||||
mainProgram = "justify";
|
||||
maintainers = with maintainers; [ xfnw ];
|
||||
};
|
||||
}
|
|
@ -6110,6 +6110,8 @@ with pkgs;
|
|||
|
||||
gnome-secrets = callPackage ../applications/misc/gnome-secrets { };
|
||||
|
||||
gnome-solanum = callPackage ../applications/misc/gnome-solanum { };
|
||||
|
||||
gnome-podcasts = callPackage ../applications/audio/gnome-podcasts { };
|
||||
|
||||
gnome-photos = callPackage ../applications/graphics/gnome-photos { };
|
||||
|
@ -7034,6 +7036,8 @@ with pkgs;
|
|||
|
||||
jupyter-kernel = callPackage ../applications/editors/jupyter/kernel.nix { };
|
||||
|
||||
justify = callPackage ../tools/text/justify { };
|
||||
|
||||
jwhois = callPackage ../tools/networking/jwhois { };
|
||||
|
||||
k2pdfopt = callPackage ../applications/misc/k2pdfopt { };
|
||||
|
@ -20966,6 +20970,8 @@ with pkgs;
|
|||
|
||||
jdom = callPackage ../development/libraries/java/jdom { };
|
||||
|
||||
jffi = callPackage ../development/libraries/java/jffi { };
|
||||
|
||||
jflex = callPackage ../development/libraries/java/jflex { };
|
||||
|
||||
lombok = callPackage ../development/libraries/java/lombok { };
|
||||
|
@ -26230,6 +26236,8 @@ with pkgs;
|
|||
|
||||
git-review = python3Packages.callPackage ../applications/version-management/git-review { };
|
||||
|
||||
git-team = callPackage ../applications/version-management/git-and-tools/git-team { };
|
||||
|
||||
github-cli = gh;
|
||||
|
||||
gitolite = callPackage ../applications/version-management/gitolite { };
|
||||
|
@ -29699,6 +29707,8 @@ with pkgs;
|
|||
|
||||
unigine-heaven = callPackage ../applications/graphics/unigine-heaven { };
|
||||
|
||||
unigine-superposition = libsForQt5.callPackage ../applications/graphics/unigine-superposition { };
|
||||
|
||||
unipicker = callPackage ../applications/misc/unipicker { };
|
||||
|
||||
unison = callPackage ../applications/networking/sync/unison {
|
||||
|
@ -32730,6 +32740,7 @@ with pkgs;
|
|||
java = openjdk17;
|
||||
z3 = z3_4_4_0;
|
||||
};
|
||||
isabelle-components = recurseIntoAttrs (callPackage ../applications/science/logic/isabelle/components { });
|
||||
|
||||
iprover = callPackage ../applications/science/logic/iprover { };
|
||||
|
||||
|
@ -33542,11 +33553,11 @@ with pkgs;
|
|||
# Exceptions are versions that we need to keep to allow upgrades from older NixOS releases
|
||||
inherit (callPackage ../applications/networking/cluster/kops {})
|
||||
mkKops
|
||||
kops_1_20
|
||||
kops_1_21
|
||||
kops_1_22
|
||||
kops_1_23
|
||||
;
|
||||
kops = kops_1_22;
|
||||
kops = kops_1_23;
|
||||
|
||||
lguf-brightness = callPackage ../misc/lguf-brightness { };
|
||||
|
||||
|
|
|
@ -886,8 +886,6 @@ let
|
|||
|
||||
ocaml_cryptgps = callPackage ../development/ocaml-modules/cryptgps { };
|
||||
|
||||
ocaml_data_notation = callPackage ../development/ocaml-modules/odn { };
|
||||
|
||||
ocaml_expat =
|
||||
if lib.versionAtLeast ocaml.version "4.02"
|
||||
then callPackage ../development/ocaml-modules/expat { }
|
||||
|
|
|
@ -546,6 +546,8 @@ in {
|
|||
|
||||
anybadge = callPackage ../development/python-modules/anybadge { };
|
||||
|
||||
anyconfig = callPackage ../development/python-modules/anyconfig { };
|
||||
|
||||
anyio = callPackage ../development/python-modules/anyio { };
|
||||
|
||||
anytree = callPackage ../development/python-modules/anytree {
|
||||
|
@ -5467,6 +5469,8 @@ in {
|
|||
|
||||
nest-asyncio = callPackage ../development/python-modules/nest-asyncio { };
|
||||
|
||||
nested-lookup = callPackage ../development/python-modules/nested-lookup { };
|
||||
|
||||
nestedtext = callPackage ../development/python-modules/nestedtext { };
|
||||
|
||||
net2grid = callPackage ../development/python-modules/net2grid { };
|
||||
|
|
Loading…
Reference in a new issue