3
0
Fork 0
forked from mirrors/nixpkgs

Merge staging-next into staging

This commit is contained in:
github-actions[bot] 2021-03-05 06:17:28 +00:00 committed by GitHub
commit ed3d50b6ce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
30 changed files with 659 additions and 62 deletions

View file

@ -10066,6 +10066,12 @@
githubId = 7677567;
name = "Victor SENE";
};
vtuan10 = {
email = "mail@tuan-vo.de";
github = "vtuan10";
githubId = 16415673;
name = "Van Tuan Vo";
};
vyorkin = {
email = "vasiliy.yorkin@gmail.com";
github = "vyorkin";

View file

@ -14,7 +14,7 @@ in
stdenv.mkDerivation rec {
pname = "renoise";
version = "3.2.2";
version = "3.3.1";
src =
if stdenv.hostPlatform.system == "x86_64-linux" then
@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
"https://files.renoise.com/demo/Renoise_${urlVersion version}_Demo_Linux.tar.gz"
"https://web.archive.org/web/https://files.renoise.com/demo/Renoise_${urlVersion version}_Demo_Linux.tar.gz"
];
sha256 = "1v249kmyidx55kppk3sry7yg6hl1a91ixhnwz36h4y134fs7bkrl";
sha256 = "05baicks5dx278z2dx6h5n2vabsn64niwqssgys36xy469l9m1h0";
}
else
releasePath

View file

@ -9,7 +9,7 @@
eigen, zlib,
cfitsio, indilib, xplanet, libnova, libraw, gsl, wcslib, stellarsolver
cfitsio, indi-full, xplanet, libnova, libraw, gsl, wcslib, stellarsolver
}:
mkDerivation rec {
@ -37,11 +37,11 @@ mkDerivation rec {
eigen zlib
cfitsio indilib xplanet libnova libraw gsl wcslib stellarsolver
cfitsio indi-full xplanet libnova libraw gsl wcslib stellarsolver
];
cmakeFlags = [
"-DINDI_NIX_ROOT=${indilib}"
"-DINDI_NIX_ROOT=${indi-full}"
"-DXPLANET_NIX_ROOT=${xplanet}"
];
@ -53,7 +53,7 @@ mkDerivation rec {
The display includes up to 100 million stars, 13.000 deep-sky objects, all 8 planets, the Sun and Moon, and thousands of comets, asteroids, supernovae, and satellites.
For students and teachers, it supports adjustable simulation speeds in order to view phenomena that happen over long timescales, the KStars Astrocalculator to predict conjunctions, and many common astronomical calculations.
'';
license = licenses.gpl2;
license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ timput hjones2199 ];
};

View file

@ -1,5 +1,5 @@
{ lib, stdenv, fetchFromGitHub, pkg-config, cmake, gtk3, wxGTK30-gtk3,
curl, gettext, glib, indilib, libnova, wrapGAppsHook }:
curl, gettext, glib, indi-full, libnova, wrapGAppsHook }:
stdenv.mkDerivation rec {
pname = "phd2";
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [ cmake pkg-config wrapGAppsHook ];
buildInputs = [ gtk3 wxGTK30-gtk3 curl gettext glib indilib libnova ];
buildInputs = [ gtk3 wxGTK30-gtk3 curl gettext glib indi-full libnova ];
cmakeFlags = [
"-DOPENSOURCE_ONLY=1"

View file

@ -1,4 +1,5 @@
{ lib, stdenv
{ stdenv
, lib
, fetchFromGitHub
, cmake
, cfitsio
@ -23,10 +24,6 @@ stdenv.mkDerivation rec {
sha256 = "sha256-WTRfV6f764tDGKnQVd1jeYN/qXa/VRTFK0mMalc+9aU=";
};
patches = [
./udev-dir.patch
];
nativeBuildInputs = [
cmake
];
@ -43,6 +40,11 @@ stdenv.mkDerivation rec {
fftw
];
cmakeFlags = [
"-DCMAKE_INSTALL_LIBDIR=lib"
"-DUDEVRULES_INSTALL_DIR=lib/udev/rules.d"
];
meta = with lib; {
homepage = "https://www.indilib.org/";
description = "Implementation of the INDI protocol for POSIX operating systems";

View file

@ -0,0 +1,63 @@
{ stdenv
, lib
, fetchFromGitHub
, cmake
, cfitsio
, libusb1
, zlib
, boost
, libnova
, curl
, libjpeg
, gsl
, fftw
, indilib
, libgphoto2
, libraw
, libftdi1
, libdc1394
, gpsd
, ffmpeg
}:
stdenv.mkDerivation rec {
pname = "indi-3rdparty";
version = "1.8.8";
src = fetchFromGitHub {
owner = "indilib";
repo = pname;
rev = "v${version}";
sha256 = "18ii9qsghrvj8y4y6c7bx6kjradybnmyq8i5phj7pv4r8w91rq7g";
};
cmakeFlags = [
"-DINDI_DATA_DIR=\${CMAKE_INSTALL_PREFIX}/share/indi"
"-DCMAKE_INSTALL_LIBDIR=lib"
"-DUDEVRULES_INSTALL_DIR=lib/udev/rules.d"
"-DRULES_INSTALL_DIR=lib/udev/rules.d"
"-DWITH_SX=off"
"-DWITH_SBIG=off"
"-DWITH_APOGEE=off"
"-DWITH_FISHCAMP=off"
"-DWITH_DSI=off"
"-DWITH_QHY=off"
"-DWITH_ARMADILLO=off"
"-DWITH_PENTAX=off"
];
nativeBuildInputs = [ cmake ];
buildInputs = [
indilib libnova curl cfitsio libusb1 zlib boost gsl gpsd
libjpeg libgphoto2 libraw libftdi1 libdc1394 ffmpeg fftw
];
meta = with lib; {
homepage = "https://www.indilib.org/";
description = "Third party drivers for the INDI astronomical software suite";
license = licenses.lgpl2Plus;
maintainers = with maintainers; [ hjones2199 ];
platforms = [ "x86_64-linux" ];
};
}

View file

@ -0,0 +1,11 @@
{ callPackage, indilib, indi-3rdparty }:
let
indi-with-drivers = ./indi-with-drivers.nix;
in
callPackage indi-with-drivers {
pkgName = "indi-full";
extraDrivers = [
indi-3rdparty
];
}

View file

@ -0,0 +1,9 @@
{ buildEnv, indilib ? indilib, extraDrivers ? null , pkgName ? "indi-with-drivers" }:
buildEnv {
name = pkgName;
paths = [
indilib
]
++ extraDrivers;
}

View file

@ -1,11 +0,0 @@
--- indi-1.8.6/CMakeLists.txt 2020-08-21 05:56:59.000000000 -0500
+++ CMakeLists.txt 2020-11-01 12:50:57.621293870 -0600
@@ -77,7 +77,7 @@
## the following are directories where stuff will be installed to
set(INCLUDE_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/include/")
set(PKGCONFIG_INSTALL_PREFIX "${CMAKE_INSTALL_LIBDIR}/pkgconfig/")
-set(UDEVRULES_INSTALL_DIR "/lib/udev/rules.d" CACHE STRING "Base directory for udev rules")
+set(UDEVRULES_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/lib/udev/rules.d" CACHE STRING "Base directory for udev rules")
set(PKG_CONFIG_LIBDIR ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR})

View file

@ -0,0 +1,34 @@
{ lib, jdk11, fetchFromGitHub, buildPythonPackage, docopt, psutil, pythonOlder }:
buildPythonPackage rec {
pname = "adb-enhanced";
version = "2.5.9";
disabled = pythonOlder "3.4";
src = fetchFromGitHub {
owner = "ashishb";
repo = pname;
rev = version;
sha256 = "08fmb55p80fbx2cix6qv2gpw3fi5ic3q17vzvza9brfwx6z1g6dv";
};
postPatch = ''
substituteInPlace adbe/adb_enhanced.py \
--replace "cmd = 'java" "cmd = '${jdk11}/bin/java"
'';
propagatedBuildInputs = [ psutil docopt ];
# Disable tests because they require a dedicated android emulator
doCheck = false;
pythonImportsCheck = [ "adbe" ];
meta = with lib; {
description = "Tool for Android testing and development";
homepage = "https://github.com/ashishb/adb-enhanced";
license = licenses.asl20;
maintainers = with maintainers; [ vtuan10 ];
};
}

View file

@ -0,0 +1,37 @@
{ lib
, aiohttp
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "aiolyric";
version = "1.0.5";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "timmo001";
repo = pname;
rev = "v${version}";
sha256 = "00kq3dsjcfhjzn585phb3g168dbg53wrqq7g8a4gljs49c2mf5qx";
};
propagatedBuildInputs = [ aiohttp ];
checkInputs = [ pytestCheckHook ];
disabledTests = [
# AssertionError, https://github.com/timmo001/aiolyric/issues/5
"test_location"
];
pythonImportsCheck = [ "aiolyric" ];
meta = with lib; {
description = "Python module for the Honeywell Lyric Platform";
homepage = "https://github.com/timmo001/aiolyric";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -0,0 +1,29 @@
{ lib
, buildPythonPackage
, fetchPypi
, requests
}:
buildPythonPackage rec {
pname = "mullvad-api";
version = "1.0.0";
src = fetchPypi {
pname = "mullvad_api";
inherit version;
sha256 = "0r0hc2d6vky52hxdqxn37w0y42ddh1zal6zz2cvqlxamc53wbiv1";
};
propagatedBuildInputs = [ requests ];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "mullvad_api" ];
meta = with lib; {
description = "Python client for the Mullvad API";
homepage = "https://github.com/meichthys/mullvad-api";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View file

@ -1,22 +1,15 @@
{ lib, stdenv, fetchFromGitHub, buildPythonPackage, typed-ast, psutil, isPy3k
{ lib, stdenv, fetchPypi, buildPythonPackage, typed-ast, psutil, isPy3k
, mypy-extensions
, typing-extensions
, fetchpatch
}:
buildPythonPackage rec {
pname = "mypy";
version = "0.790";
version = "0.812";
disabled = !isPy3k;
# Fetch 0.790 from GitHub temporarily because mypyc.analysis is missing from
# the Pip package (see also https://github.com/python/mypy/issues/9584). It
# should be possible to move back to Pypi for the next release.
src = fetchFromGitHub {
owner = "python";
repo = pname;
rev = "v${version}";
sha256 = "0zq3lpdf9hphcklk40wz444h8w3dkhwa12mqba5j9lmg11klnhz7";
fetchSubmodules = true;
src = fetchPypi {
inherit pname version;
sha256 = "069i9qnfanp7dn8df1vspnqb0flvsszzn22v00vj08nzlnd061yd";
};
propagatedBuildInputs = [ typed-ast psutil mypy-extensions typing-extensions ];
@ -34,23 +27,6 @@ buildPythonPackage rec {
"mypyc.analysis"
];
# These three patches are required to make compilation with mypyc work for
# 0.790, see also https://github.com/python/mypy/issues/9584.
patches = [
(fetchpatch {
url = "https://github.com/python/mypy/commit/f6522ae646a8d87ce10549f29fcf961dc014f154.patch";
sha256 = "0d3jp4d0b7vdc0prk07grhajsy7x3wcynn2xysnszawiww93bfrh";
})
(fetchpatch {
url = "https://github.com/python/mypy/commit/acd603496237a78b109ca9d89991539633cbbb99.patch";
sha256 = "0ry1rxpz2ws7zzrmq09pra9dlzxb84zhs8kxwf5xii1k1bgmrljr";
})
(fetchpatch {
url = "https://github.com/python/mypy/commit/81818b23b5d53f31caf3515d6f0b54e3c018d790.patch";
sha256 = "002y24kfscywkw4mz9lndsps543j4xhr2kcnfbrqr4i0yxlvdbca";
})
];
# Compile mypy with mypyc, which makes mypy about 4 times faster. The compiled
# version is also the default in the wheels on Pypi that include binaries.
# is64bit: unfortunately the build would exhaust all possible memory on i686-linux.

View file

@ -0,0 +1,34 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, requests
, urllib3
}:
buildPythonPackage rec {
pname = "openwrt-ubus-rpc";
version = "0.0.3";
src = fetchFromGitHub {
owner = "Noltari";
repo = "python-ubus-rpc";
rev = version;
sha256 = "19scncc1w9ar3pw4yrw24akjgm74n2m7y308hzl1i360daf5p21k";
};
propagatedBuildInputs = [
requests
urllib3
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "openwrt.ubus" ];
meta = with lib; {
description = "Python API for OpenWrt ubus RPC";
homepage = "https://github.com/Noltari/python-ubus-rpc";
license = with licenses; [ gpl2Only ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -0,0 +1,29 @@
{ lib
, aiohttp
, buildPythonPackage
, fetchPypi
, lxml
}:
buildPythonPackage rec {
pname = "pykmtronic";
version = "0.0.2";
src = fetchPypi {
inherit pname version;
sha256 = "1p0i7g4k8ggmzargdi3ch55id04j5qjlhv8hap2162gc77b16d59";
};
propagatedBuildInputs = [ aiohttp lxml ];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "pykmtronic" ];
meta = with lib; {
description = "Python client to interface with KM-Tronic web relays";
homepage = "https://github.com/dgomes/pykmtronic";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View file

@ -0,0 +1,45 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, httpretty
, poetry-core
, pytestCheckHook
, pythonOlder
, requests
, requests_oauthlib
}:
buildPythonPackage rec {
pname = "pymfy";
version = "0.9.4";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "tetienne";
repo = "somfy-open-api";
rev = "v${version}";
sha256 = "1ml536dvva2xd52jfgrd557h2sr5w6567sxnyq0blhkgpyz4m2av";
};
nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [
requests
requests_oauthlib
];
checkInputs = [
httpretty
pytestCheckHook
];
pythonImportsCheck = [ "pymfy" ];
meta = with lib; {
description = "Python client for the Somfy Open API";
homepage = "https://github.com/tetienne/somfy-open-api";
license = with licenses; [ gpl3Only ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -0,0 +1,29 @@
{ lib
, buildPythonPackage
, fetchPypi
, aiohttp
, python-dateutil
}:
buildPythonPackage rec {
pname = "pyplaato";
version = "0.0.15";
src = fetchPypi {
inherit pname version;
sha256 = "1nykbkv2fg1x5min07cbi44x6am48f5gw3mnyj7x2kpmj6sqfpqp";
};
propagatedBuildInputs = [ aiohttp python-dateutil ];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "pyplaato" ];
meta = with lib; {
description = "Python API client for fetching Plaato data";
homepage = "https://github.com/JohNan/pyplaato";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View file

@ -0,0 +1,33 @@
{ lib
, aiohttp
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
}:
buildPythonPackage rec {
pname = "pyrituals";
version = "0.0.2";
format = "pyproject";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "milanmeu";
repo = pname;
rev = version;
sha256 = "0hrwhk3kpvdg78fgnvhmnnh3wprdv10j8jqjm4ly64chr8cdi6f2";
};
propagatedBuildInputs = [ aiohttp ];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "pyrituals" ];
meta = with lib; {
description = "Python wrapper for the Rituals Perfume Genie API";
homepage = "https://github.com/milanmeu/pyrituals";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -0,0 +1,31 @@
{ buildPythonPackage
, fetchFromGitHub
, isPy27
, lib
, pytestCheckHook
, tokenize-rt
}:
buildPythonPackage rec {
pname = "pyupgrade";
version = "2.10.0";
disabled = isPy27;
src = fetchFromGitHub {
owner = "asottile";
repo = pname;
rev = "v${version}";
sha256 = "sha256-XYeqyyfwtS7dHLxeVvmcifW6UCOlnSMxqF1vxezBjT8=";
};
checkInputs = [ pytestCheckHook ];
propagatedBuildInputs = [ tokenize-rt ];
meta = with lib; {
description = "A tool to automatically upgrade syntax for newer versions of the language";
homepage = "https://github.com/asottile/pyupgrade";
license = licenses.mit;
maintainers = with maintainers; [ lovesegfault ];
};
}

View file

@ -0,0 +1,28 @@
{ buildPythonPackage
, lib
, fetchFromGitHub
, isPy27
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "tokenize-rt";
version = "4.1.0";
disabled = isPy27;
src = fetchFromGitHub {
owner = "asottile";
repo = pname;
rev = "v${version}";
sha256 = "sha256-9qamHk2IZRmgGNFlYkSRks6mRVNlYfetpK/7rsfK9tc=";
};
checkInputs = [ pytestCheckHook ];
meta = with lib; {
description = "A wrapper around the stdlib `tokenize` which roundtrips";
homepage = "https://github.com/asottile/tokenize-rt";
license = licenses.mit;
maintainers = with maintainers; [ lovesegfault ];
};
}

View file

@ -77,13 +77,14 @@ in with builtins; {
# ------------------------------------------------------
foundationdb61 = cmakeBuild {
version = "6.1.12";
version = "6.1.13";
branch = "release-6.1";
sha256 = "1yh5hx6rim41m0dwhnb2pcwz67wlnk0zwvyw845d36b29gwy58ab";
sha256 = "10vd694dcnh2pp91mri1m80kfbwjanhiy50c53c5ncqfa6pwvk00";
patches = [
./patches/clang-libcxx.patch
./patches/suppress-clang-warnings.patch
./patches/stdexcept-6.1.patch
glibc230-fix
];
};

View file

@ -0,0 +1,24 @@
diff --git a/FDBLibTLS/FDBLibTLSPolicy.cpp b/FDBLibTLS/FDBLibTLSPolicy.cpp
index 728ff871d..46e1dd289 100644
--- a/FDBLibTLS/FDBLibTLSPolicy.cpp
+++ b/FDBLibTLS/FDBLibTLSPolicy.cpp
@@ -31,6 +31,7 @@
#include <algorithm>
#include <exception>
#include <map>
+#include <stdexcept>
#include <string>
#include <vector>
diff --git a/FDBLibTLS/FDBLibTLSVerify.cpp b/FDBLibTLS/FDBLibTLSVerify.cpp
index 594389916..1c8b9b50d 100644
--- a/FDBLibTLS/FDBLibTLSVerify.cpp
+++ b/FDBLibTLS/FDBLibTLSVerify.cpp
@@ -25,6 +25,7 @@
#include <algorithm>
#include <exception>
#include <cstring>
+#include <stdexcept>
static int hexValue(char c) {
static char const digits[] = "0123456789ABCDEF";

View file

@ -763,7 +763,7 @@
"solarlog" = ps: with ps; [ ]; # missing inputs: sunwatcher
"solax" = ps: with ps; [ solax ];
"soma" = ps: with ps; [ pysoma ];
"somfy" = ps: with ps; [ aiohttp-cors ]; # missing inputs: pymfy
"somfy" = ps: with ps; [ aiohttp-cors pymfy ];
"somfy_mylink" = ps: with ps; [ ]; # missing inputs: somfy-mylink-synergy
"sonarr" = ps: with ps; [ ]; # missing inputs: sonarr
"songpal" = ps: with ps; [ ]; # missing inputs: python-songpal

View file

@ -1,9 +1,19 @@
{ lib, stdenv, rustPlatform, fetchFromGitLab, python3
, xlibsWrapper, xorg, libpulseaudio, pkg-config, patchelf, Security }:
{ lib
, stdenv
, rustPlatform
, fetchFromGitLab
, python3
, xlibsWrapper
, xorg
, libpulseaudio
, pkg-config
, patchelf
, Security
}:
rustPlatform.buildRustPackage rec {
pname = "xidlehook";
version = "0.9.1";
version = "0.10.0";
doCheck = false;
@ -12,11 +22,11 @@ rustPlatform.buildRustPackage rec {
repo = "xidlehook";
rev = version;
sha256 = "00j2iwp25hz9jlr45qszyipljqdnh7h3ni9bkd2lmk58kkvmhf1s";
sha256 = "1pl7f8fhxfcy0c6c08vkagp0x1ak96vc5wgamigrk1nkd6l371lb";
};
cargoBuildFlags = lib.optionals (!stdenv.isLinux) ["--no-default-features" "--features" "pulse"];
cargoSha256 = "050ihjhg33223x6pgvhqrjprx1clkj2x3jr6acf716vbwm3m0bmz";
cargoBuildFlags = lib.optionals (!stdenv.isLinux) [ "--no-default-features" "--features" "pulse" ];
cargoSha256 = "1r2xir0x04056kq7j13cpk8984kjrgxbixlacp6vz79yq9c8pv7k";
buildInputs = [ xlibsWrapper xorg.libXScrnSaver libpulseaudio ] ++ lib.optional stdenv.isDarwin Security;
nativeBuildInputs = [ pkg-config patchelf python3 ];

View file

@ -0,0 +1,55 @@
# -*- coding: utf-8 -*-
import re
from xkeysnail.transform import *
aa = False
def a_setvar(v):
def _setvar():
transform._mark_set = False
global aa; aa = v
return _setvar
def a_ifvar():
def _ifvar():
transform._mark_set = False
global aa
if aa:
aa = False
return K("esc")
return K("enter")
return _ifvar
def a_flipmark():
def _flipmark():
transform._mark_set = not transform._mark_set;
return _flipmark
define_keymap(re.compile("Google-chrome|Chromium-browser|Firefox"), {
K("C-b"): with_mark(K("left")),
K("C-f"): with_mark(K("right")),
K("C-p"): with_mark(K("up")),
K("C-n"): with_mark(K("down")),
K("M-b"): with_mark(K("C-left")),
K("M-f"): with_mark(K("C-right")),
K("C-a"): with_mark(K("home")),
K("C-e"): with_mark(K("end")),
K("C-w"): [K("C-x"), set_mark(False)],
K("M-w"): [K("C-c"), K("right"), set_mark(False)],
K("C-y"): [K("C-v"), set_mark(False)],
K("C-k"): [K("Shift-end"), K("C-x"), set_mark(False)],
K("C-d"): [K("delete"), set_mark(False)],
K("M-d"): [K("C-delete"), set_mark(False)],
K("M-backspace"): [K("C-backspace"), set_mark(False)],
K("C-slash"): [K("C-z"), set_mark(False)],
K("C-space"): a_flipmark(),
K("C-M-space"): with_or_set_mark(K("C-right")),
# K("C-s"): K("F3"),
# K("C-r"): K("Shift-F3"),
# K("C-g"): [K("esc"), set_mark(False)]
K("C-s"): [K("F3"), a_setvar(True)],
K("C-r"): [K("Shift-F3"), a_setvar(True)],
K("C-g"): [K("esc"), a_setvar(False)],
K("enter"): a_ifvar()
})

View file

@ -0,0 +1,42 @@
{ stdenv, lib, fetchFromGitHub, makeWrapper, python3Packages }:
python3Packages.buildPythonApplication rec {
pname = "xkeysnail";
version = "0.4.0";
src = fetchFromGitHub {
owner = "mooz";
repo = pname;
rev = "bf3c93b4fe6efd42893db4e6588e5ef1c4909cfb";
sha256 = "0plcpb4ndzfsd5hj32m0g32swnhyph9sd759cdhhzmjvlq3j8q6p";
};
nativeBuildInputs = [ makeWrapper ];
propagatedBuildInputs = with python3Packages; [
evdev
xlib
inotify-simple
appdirs
];
doCheck = false;
postInstall = ''
mkdir -p $out/share
cp ./example/config.py $out/share/example.py
cp ${./browser-emacs-bindings.py} $out/share/browser.py
makeWrapper $out/bin/xkeysnail $out/bin/xkeysnail-example \
--add-flags "-q" --add-flags "$out/share/example.py"
makeWrapper $out/bin/xkeysnail $out/bin/xkeysnail-browser \
--add-flags "-q" --add-flags "$out/share/browser.py"
'';
meta = with lib; {
description = "Yet another keyboard remapping tool for X environment";
homepage = "https://github.com/mooz/xkeysnail";
platforms = platforms.linux;
license = licenses.gpl1Only;
maintainers = with maintainers; [ bb2020 ];
};
}

View file

@ -0,0 +1,25 @@
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "galer";
version = "0.0.2";
src = fetchFromGitHub {
owner = "dwisiswant0";
repo = pname;
rev = "v${version}";
sha256 = "1923071rk078mqk5mig45kcrr58ni02rby3r298myld7j9gfnylb";
};
vendorSha256 = "0p5b6cp4ccvcjiy3g9brcwb08wxjbrpsza525fmx38wyyi0n0wns";
meta = with lib; {
description = "Tool to fetch URLs from HTML attributes";
homepage = "https://github.com/dwisiswant0/galer";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -0,0 +1,25 @@
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "ssb";
version = "0.1.1";
src = fetchFromGitHub {
owner = "kitabisa";
repo = pname;
rev = "v${version}";
sha256 = "0dkd02l30461cwn5hsssnjyb9s8ww179wll3l7z5hy1hv3x6h9g1";
};
vendorSha256 = "1q3dxizyz9bcdfs5j2bzhl2aadhd00cvzhj202wlls0zrlb9pp4f";
meta = with lib; {
description = "Tool to bruteforce SSH server";
homepage = "https://github.com/kitabisa/ssb";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -8195,6 +8195,8 @@ in
svgcleaner = callPackage ../tools/graphics/svgcleaner { };
ssb = callPackage ../tools/security/ssb { };
ssb-patchwork = callPackage ../applications/networking/ssb-patchwork { };
ssdeep = callPackage ../tools/security/ssdeep { };
@ -9060,6 +9062,8 @@ in
xkbvalidate = callPackage ../tools/X11/xkbvalidate { };
xkeysnail = callPackage ../tools/X11/xkeysnail { };
xfstests = callPackage ../tools/misc/xfstests { };
xprintidle-ng = callPackage ../tools/X11/xprintidle-ng {};
@ -13891,6 +13895,8 @@ in
funambol = callPackage ../development/libraries/funambol { };
galer = callPackage ../tools/security/galer { };
gamenetworkingsockets = callPackage ../development/libraries/gamenetworkingsockets { };
gamin = callPackage ../development/libraries/gamin { };
@ -14554,6 +14560,8 @@ in
indicator-application-gtk3 = callPackage ../development/libraries/indicator-application/gtk3.nix { };
indilib = callPackage ../development/libraries/indilib { };
indi-3rdparty = callPackage ../development/libraries/indilib/indi-3rdparty.nix { };
indi-full = callPackage ../development/libraries/indilib/indi-full.nix { };
inih = callPackage ../development/libraries/inih { };
@ -29429,6 +29437,8 @@ in
pyload = callPackage ../applications/networking/pyload {};
pyupgrade = with python3Packages; toPythonApplication pyupgrade;
pwntools = with python3Packages; toPythonApplication pwntools;
uae = callPackage ../misc/emulators/uae { };

View file

@ -174,6 +174,8 @@ in {
adal = callPackage ../development/python-modules/adal { };
adb-enhanced = callPackage ../development/python-modules/adb-enhanced { };
adb-homeassistant = callPackage ../development/python-modules/adb-homeassistant { };
adb-shell = callPackage ../development/python-modules/adb-shell { };
@ -280,6 +282,8 @@ in {
aiolifx-effects = callPackage ../development/python-modules/aiolifx-effects { };
aiolyric = callPackage ../development/python-modules/aiolyric { };
aiomultiprocess = callPackage ../development/python-modules/aiomultiprocess { };
aiomysql = callPackage ../development/python-modules/aiomysql { };
@ -4261,6 +4265,8 @@ in {
mt-940 = callPackage ../development/python-modules/mt-940 { };
mullvad-api = callPackage ../development/python-modules/mullvad-api { };
mulpyplexer = callPackage ../development/python-modules/mulpyplexer { };
multidict = callPackage ../development/python-modules/multidict { };
@ -4641,6 +4647,8 @@ in {
openwrt-luci-rpc = disabledIf (!isPy3k) (callPackage ../development/python-modules/openwrt-luci-rpc { });
openwrt-ubus-rpc = callPackage ../development/python-modules/openwrt-ubus-rpc { };
opt-einsum = if isPy27 then
callPackage ../development/python-modules/opt-einsum/2.nix { }
else
@ -5648,6 +5656,8 @@ in {
pykka = callPackage ../development/python-modules/pykka { };
pykmtronic = callPackage ../development/python-modules/pykmtronic { };
pykwalify = callPackage ../development/python-modules/pykwalify { };
pylacrosse = callPackage ../development/python-modules/pylacrosse { };
@ -5746,6 +5756,8 @@ in {
pymitv = callPackage ../development/python-modules/pymitv { };
pymfy = callPackage ../development/python-modules/pymfy { };
pymodbus = callPackage ../development/python-modules/pymodbus { };
pymongo = callPackage ../development/python-modules/pymongo { };
@ -5884,6 +5896,8 @@ in {
pypillowfight = callPackage ../development/python-modules/pypillowfight { };
pyplaato = callPackage ../development/python-modules/pyplaato { };
pyplatec = callPackage ../development/python-modules/pyplatec { };
pypoppler = callPackage ../development/python-modules/pypoppler { };
@ -5974,6 +5988,8 @@ in {
pyrisco = callPackage ../development/python-modules/pyrisco { };
pyrituals = callPackage ../development/python-modules/pyrituals { };
pyRFC3339 = callPackage ../development/python-modules/pyrfc3339 { };
PyRMVtransport = callPackage ../development/python-modules/PyRMVtransport { };
@ -6636,6 +6652,8 @@ in {
pyupdate = callPackage ../development/python-modules/pyupdate { };
pyupgrade = callPackage ../development/python-modules/pyupgrade { };
pyusb = callPackage ../development/python-modules/pyusb { libusb1 = pkgs.libusb1; };
pyutil = callPackage ../development/python-modules/pyutil { };
@ -7972,6 +7990,8 @@ in {
tokenizers = disabledIf (!isPy3k) (toPythonModule (callPackage ../development/python-modules/tokenizers { }));
tokenize-rt = disabledIf (!isPy3k) (toPythonModule (callPackage ../development/python-modules/tokenize-rt { }));
tokenlib = callPackage ../development/python-modules/tokenlib { };
tokenserver = callPackage ../development/python-modules/tokenserver { };