Merge master into staging-next
This commit is contained in:
commit
0e679de5e7
@ -1,48 +0,0 @@
|
||||
<section xmlns="http://docbook.org/ns/docbook"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xml:id="sec-citrix">
|
||||
<title>Citrix Workspace</title>
|
||||
|
||||
<para>
|
||||
The <link xlink:href="https://www.citrix.com/products/workspace-app/">Citrix Workspace App</link> is a remote desktop viewer which provides access to <link xlink:href="https://www.citrix.com/products/xenapp-xendesktop/">XenDesktop</link> installations.
|
||||
</para>
|
||||
|
||||
<section xml:id="sec-citrix-base">
|
||||
<title>Basic usage</title>
|
||||
|
||||
<para>
|
||||
The tarball archive needs to be downloaded manually as the license agreements of the vendor for <link xlink:href="https://www.citrix.de/downloads/workspace-app/linux/workspace-app-for-linux-latest.html">Citrix Workspace</link> needs to be accepted first. Then run <command>nix-prefetch-url file://$PWD/linuxx64-$version.tar.gz</command>. With the archive available in the store the package can be built and installed with Nix.
|
||||
</para>
|
||||
</section>
|
||||
|
||||
<section xml:id="sec-citrix-selfservice">
|
||||
<title>Citrix Selfservice</title>
|
||||
|
||||
<para>
|
||||
The <link xlink:href="https://support.citrix.com/article/CTX200337">selfservice</link> is an application managing Citrix desktops and applications. Please note that this feature only works with at least <package>citrix_workspace_20_06_0</package> and later versions.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
In order to set this up, you first have to <link xlink:href="https://its.uiowa.edu/support/article/102186">download the <literal>.cr</literal> file from the Netscaler Gateway</link>. After that you can configure the <command>selfservice</command> like this:
|
||||
<screen>
|
||||
<prompt>$ </prompt>storebrowse -C ~/Downloads/receiverconfig.cr
|
||||
<prompt>$ </prompt>selfservice
|
||||
</screen>
|
||||
</para>
|
||||
</section>
|
||||
|
||||
<section xml:id="sec-citrix-custom-certs">
|
||||
<title>Custom certificates</title>
|
||||
|
||||
<para>
|
||||
The <literal>Citrix Workspace App</literal> in <literal>nixpkgs</literal> trusts several certificates <link xlink:href="https://curl.haxx.se/docs/caextract.html">from the Mozilla database</link> by default. However several companies using Citrix might require their own corporate certificate. On distros with imperative packaging these certs can be stored easily in <link xlink:href="https://developer-docs.citrix.com/projects/receiver-for-linux-command-reference/en/13.7/"><literal>$ICAROOT</literal></link>, however this directory is a store path in <literal>nixpkgs</literal>. In order to work around this issue the package provides a simple mechanism to add custom certificates without rebuilding the entire package using <literal>symlinkJoin</literal>:
|
||||
<programlisting>
|
||||
<![CDATA[with import <nixpkgs> { config.allowUnfree = true; };
|
||||
let extraCerts = [ ./custom-cert-1.pem ./custom-cert-2.pem /* ... */ ]; in
|
||||
citrix_workspace.override {
|
||||
inherit extraCerts;
|
||||
}]]>
|
||||
</programlisting>
|
||||
</para>
|
||||
</section>
|
||||
</section>
|
@ -307,4 +307,28 @@ rec {
|
||||
${expr "" v}
|
||||
</plist>'';
|
||||
|
||||
/* Translate a simple Nix expression to Dhall notation.
|
||||
* Note that integers are translated to Integer and never
|
||||
* the Natural type.
|
||||
*/
|
||||
toDhall = { }@args: v:
|
||||
with builtins;
|
||||
let concatItems = lib.strings.concatStringsSep ", ";
|
||||
in if isAttrs v then
|
||||
"{ ${
|
||||
concatItems (lib.attrsets.mapAttrsToList
|
||||
(key: value: "${key} = ${toDhall args value}") v)
|
||||
} }"
|
||||
else if isList v then
|
||||
"[ ${concatItems (map (toDhall args) v)} ]"
|
||||
else if isInt v then
|
||||
"${if v < 0 then "" else "+"}${toString v}"
|
||||
else if isBool v then
|
||||
(if v then "True" else "False")
|
||||
else if isFunction v then
|
||||
abort "generators.toDhall: cannot convert a function to Dhall"
|
||||
else if isNull v then
|
||||
abort "generators.toDhall: cannot convert a null to Dhall"
|
||||
else
|
||||
builtins.toJSON v;
|
||||
}
|
||||
|
@ -9211,6 +9211,12 @@
|
||||
githubId = 65870;
|
||||
name = "Сухарик";
|
||||
};
|
||||
sumnerevans = {
|
||||
email = "me@sumnerevans.com";
|
||||
github = "sumnerevans";
|
||||
githubId = 16734772;
|
||||
name = "Sumner Evans";
|
||||
};
|
||||
superbo = {
|
||||
email = "supernbo@gmail.com";
|
||||
github = "SuperBo";
|
||||
|
59
pkgs/applications/accessibility/svkbd/default.nix
Normal file
59
pkgs/applications/accessibility/svkbd/default.nix
Normal file
@ -0,0 +1,59 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, writeText
|
||||
, pkg-config
|
||||
, libX11
|
||||
, libXft
|
||||
, libXi
|
||||
, libXinerama
|
||||
, libXtst
|
||||
, layout ? null
|
||||
, conf ? null
|
||||
, patches ? [ ]
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "svkbd";
|
||||
version = "0.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://dl.suckless.org/tools/svkbd-${version}.tar.gz";
|
||||
sha256 = "108khx665d7dlzs04iy4g1nw3fyqpy6kd0afrwiapaibgv4xhfsk";
|
||||
};
|
||||
|
||||
inherit patches;
|
||||
|
||||
postPatch = let
|
||||
configFile = if lib.isDerivation conf || lib.isPath conf then
|
||||
conf
|
||||
else
|
||||
writeText "config.def.h" conf;
|
||||
in lib.optionalString (conf != null) ''
|
||||
cp ${configFile} config.def.h
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
libX11
|
||||
libXft
|
||||
libXi
|
||||
libXinerama
|
||||
libXtst
|
||||
];
|
||||
|
||||
makeFlags = [
|
||||
"PREFIX=${placeholder "out"}"
|
||||
] ++ lib.optional (layout != null) "LAYOUT=${layout}";
|
||||
|
||||
meta = with lib; {
|
||||
description = "Simple virtual keyboard";
|
||||
homepage = "https://tools.suckless.org/x/svkbd/";
|
||||
license = licenses.mit;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ dotlambda ];
|
||||
};
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
{ lib, python3Packages, gobject-introspection, gtk3, pango, wrapGAppsHook
|
||||
{ fetchFromGitLab, lib, python3Packages, gobject-introspection, gtk3, pango, wrapGAppsHook
|
||||
, chromecastSupport ? false
|
||||
, serverSupport ? false
|
||||
, keyringSupport ? true
|
||||
@ -8,11 +8,13 @@
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "sublime-music";
|
||||
version = "0.11.7";
|
||||
version = "0.11.10";
|
||||
|
||||
src = python3Packages.fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1x6b02gw46gp6qcgv67j7k3gr1dpfczbyma6dxanag8pnpqrj8qi";
|
||||
src = fetchFromGitLab {
|
||||
owner = "sublime-music";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1g78gmiywg07kaywfc9q0yab2bzxs936vb3157ni1z0flbmcwrry";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@ -30,6 +32,7 @@ python3Packages.buildPythonApplication rec {
|
||||
;
|
||||
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
bleach
|
||||
dataclasses-json
|
||||
deepdiff
|
||||
fuzzywuzzy
|
||||
@ -52,12 +55,22 @@ python3Packages.buildPythonApplication rec {
|
||||
|
||||
# no tests
|
||||
doCheck = false;
|
||||
pythonImportsCheck = [ "sublime" ];
|
||||
pythonImportsCheck = [ "sublime_music" ];
|
||||
|
||||
postInstall = ''
|
||||
install -Dm444 sublime-music.desktop -t $out/share/applications
|
||||
install -Dm444 sublime-music.metainfo.xml -t $out/share/metainfo
|
||||
|
||||
for size in 16 22 32 48 64 72 96 128 192 512 1024; do
|
||||
install -Dm444 logo/rendered/"$size".png \
|
||||
$out/share/icons/hicolor/"$size"x"$size"/apps/sublime-music.png
|
||||
done
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "GTK3 Subsonic/Airsonic client";
|
||||
homepage = "https://sublimemusic.app/";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ albakham ];
|
||||
maintainers = with maintainers; [ albakham sumnerevans ];
|
||||
};
|
||||
}
|
||||
|
@ -68,6 +68,7 @@ in stdenv.mkDerivation rec {
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ AndersonTorres metadark ];
|
||||
platforms = platforms.unix;
|
||||
changelog = "https://git.savannah.gnu.org/cgit/poke.git/plain/ChangeLog?h=releases/poke-${version}";
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -35,7 +35,7 @@
|
||||
, scipy
|
||||
, shiboken2
|
||||
, soqt
|
||||
, spaceNavSupport ? true
|
||||
, spaceNavSupport ? false
|
||||
, swig
|
||||
, vtk
|
||||
, wrapQtAppsHook
|
||||
|
@ -2,16 +2,16 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "flavours";
|
||||
version = "0.3.6";
|
||||
version = "0.4.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Misterio77";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "0nys1sh4qwda1ql6aq07bhyvhjp5zf0qm98kr4kf2fmr87ddc12q";
|
||||
sha256 = "sha256-rDy859jg+F8XC4sJogIgdn1FoT8cf7S+KORt+7kboAc=";
|
||||
};
|
||||
|
||||
cargoSha256 = "0bmmxiv8bd09kgxmhmynslfscsx2aml1m1glvid3inaipylcq45h";
|
||||
cargoSha256 = "sha256-cAXiAPhHdxdd8pFQ0Gq7eHO2p/Dam53gDbE583UYY/k=";
|
||||
|
||||
meta = with lib; {
|
||||
description = "An easy to use base16 scheme manager/builder that integrates with any workflow";
|
||||
|
@ -42,7 +42,7 @@ python3Packages.buildPythonApplication rec {
|
||||
|
||||
meta = with lib; {
|
||||
description = "File manager with minimalistic curses interface";
|
||||
homepage = "http://ranger.github.io/";
|
||||
homepage = "https://ranger.github.io/";
|
||||
license = licenses.gpl3Only;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ toonn magnetophon ];
|
||||
|
@ -40,5 +40,6 @@ in stdenv.mkDerivation rec {
|
||||
homepage = "https://vifm.info/";
|
||||
inherit version;
|
||||
updateWalker = true;
|
||||
changelog = "https://github.com/vifm/vifm/blob/v${version}/ChangeLog";
|
||||
};
|
||||
}
|
||||
|
@ -44,7 +44,7 @@ buildPythonApplication rec {
|
||||
description = "Interactive terminal multitool for tabular data";
|
||||
license = lib.licenses.gpl3;
|
||||
maintainers = [ lib.maintainers.raskin ];
|
||||
platforms = with lib.platforms; linux ++ darwin;
|
||||
homepage = "http://visidata.org/";
|
||||
changelog = "https://github.com/saulpw/visidata/blob/v${version}/CHANGELOG.md";
|
||||
};
|
||||
}
|
||||
|
@ -23,5 +23,6 @@ buildGoModule rec {
|
||||
homepage = "https://github.com/makeworld-the-better-one/amfora";
|
||||
license = with licenses; [ gpl3 ];
|
||||
maintainers = with maintainers; [ deifactor ];
|
||||
changelog = "https://github.com/makeworld-the-better-one/amfora/blob/v${version}/CHANGELOG.md";
|
||||
};
|
||||
}
|
||||
|
@ -2,12 +2,12 @@
|
||||
|
||||
let
|
||||
pname = "lens";
|
||||
version = "4.1.4";
|
||||
version = "4.2.0";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/lensapp/lens/releases/download/v${version}/Lens-${version}.x86_64.AppImage";
|
||||
sha256 = "0g7k3sld6m31qi0zc9z5gydi60waw7ykwz48qnyg77xz1cpm6z5x";
|
||||
sha256 = "0g60d1h2dn41qdzdnqavwknqynjqil7s8kcqy01h021r81rdpn2q";
|
||||
name="${pname}.AppImage";
|
||||
};
|
||||
|
||||
|
@ -131,5 +131,6 @@ rustPlatform.buildRustPackage rec {
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ Br1ght0ne mic92 cole-h ma27 ];
|
||||
platforms = platforms.unix;
|
||||
changelog = "https://github.com/alacritty/alacritty/blob/v${version}/CHANGELOG.md";
|
||||
};
|
||||
}
|
||||
|
@ -115,5 +115,6 @@ stdenv.mkDerivation rec {
|
||||
license = with lib.licenses; [ mit ];
|
||||
maintainers = with lib.maintainers; [ nequissimus vrthra ];
|
||||
platforms = with lib.platforms; linux ++ darwin;
|
||||
changelog = "https://invisible-island.net/xterm/xterm.log.html";
|
||||
};
|
||||
}
|
||||
|
@ -32,5 +32,6 @@ rustPlatform.buildRustPackage rec {
|
||||
license = licenses.mit;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ mschneider ];
|
||||
changelog = "https://github.com/leftwm/leftwm/blob/${version}/CHANGELOG";
|
||||
};
|
||||
}
|
||||
|
@ -70,5 +70,6 @@ stdenv.mkDerivation {
|
||||
license = lib.licenses.mit ;
|
||||
maintainers = [lib.maintainers.raskin];
|
||||
platforms = lib.platforms.unix;
|
||||
changelog = "https://gitlab.com/embeddable-common-lisp/ecl/-/raw/${s.version}/CHANGELOG";
|
||||
};
|
||||
}
|
||||
|
@ -15,14 +15,7 @@ stdenv.mkDerivation {
|
||||
mv llvm-* llvm
|
||||
'';
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
# Backported from LLVM 12, avoids clashes with commonly used "block.h" header.
|
||||
url = "https://github.com/llvm/llvm-project/commit/19bc9ea480b60b607a3e303f20c7a3a2ea553369.patch";
|
||||
sha256 = "sha256-aWa66ogmPkG0xHzSfcpD0qZyZQcNKwLV44js4eiun78=";
|
||||
stripLen = 1;
|
||||
})
|
||||
] ++ lib.optional stdenv.hostPlatform.isMusl ../../libcxx-0001-musl-hacks.patch;
|
||||
patches = lib.optional stdenv.hostPlatform.isMusl ../../libcxx-0001-musl-hacks.patch;
|
||||
|
||||
preConfigure = lib.optionalString stdenv.hostPlatform.isMusl ''
|
||||
patchShebangs utils/cat_files.py
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, cmake, fetch, libcxx, libunwind, llvm, version
|
||||
{ lib, stdenv, cmake, python3, fetch, libcxx, libunwind, llvm, version
|
||||
, enableShared ? !stdenv.hostPlatform.isStatic
|
||||
}:
|
||||
|
||||
@ -8,7 +8,7 @@ stdenv.mkDerivation {
|
||||
|
||||
src = fetch "libcxxabi" "1vdc6zld5rlbrbpxf0fxs0m6k1cabpi82ksiwgj1pmhx8l140n0q";
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
nativeBuildInputs = [ cmake python3 ];
|
||||
buildInputs = lib.optional (!stdenv.isDarwin && !stdenv.isFreeBSD && !stdenv.hostPlatform.isWasm) libunwind;
|
||||
|
||||
cmakeFlags = lib.optionals (stdenv.hostPlatform.useLLVM or false) [
|
||||
@ -21,8 +21,6 @@ stdenv.mkDerivation {
|
||||
"-DLIBCXXABI_ENABLE_SHARED=OFF"
|
||||
];
|
||||
|
||||
patches = [ ./libcxxabi-no-threads.patch ];
|
||||
|
||||
postUnpack = ''
|
||||
unpackFile ${libcxx.src}
|
||||
mv libcxx-* libcxx
|
||||
|
@ -1,12 +0,0 @@
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 4138acf..41b4763 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -362,6 +362,7 @@ if (NOT LIBCXXABI_ENABLE_THREADS)
|
||||
" is also set to ON.")
|
||||
endif()
|
||||
add_definitions(-D_LIBCXXABI_HAS_NO_THREADS)
|
||||
+ add_definitions(-D_LIBCPP_HAS_NO_THREADS)
|
||||
endif()
|
||||
|
||||
if (LIBCXXABI_HAS_EXTERNAL_THREAD_API)
|
@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, version, fetch, cmake, fetchpatch
|
||||
{ lib, stdenv, version, fetch, libcxx, llvm, cmake
|
||||
, enableShared ? !stdenv.hostPlatform.isStatic
|
||||
}:
|
||||
|
||||
@ -8,6 +8,13 @@ stdenv.mkDerivation rec {
|
||||
|
||||
src = fetch pname "18n3k2kf6pyvzspnz1i22czbgi14kmch76fxml8kvhky7mw7v1yz";
|
||||
|
||||
postUnpack = ''
|
||||
unpackFile ${libcxx.src}
|
||||
mv libcxx-* libcxx
|
||||
unpackFile ${llvm.src}
|
||||
mv llvm-* llvm
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
cmakeFlags = lib.optional (!enableShared) "-DLIBUNWIND_ENABLE_SHARED=OFF";
|
||||
|
@ -1,7 +1,6 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetch
|
||||
, fetchpatch
|
||||
, cmake
|
||||
, llvm
|
||||
, perl
|
||||
@ -14,15 +13,6 @@ stdenv.mkDerivation rec {
|
||||
|
||||
src = fetch pname "0kw1g7ndvwi0g7lx5d55mp81h9vffxz820l9r2wjdvvfs3dsyq05";
|
||||
|
||||
patches = [
|
||||
# Fix compilation on aarch64-darwin, remove after the next release.
|
||||
(fetchpatch {
|
||||
url = "https://github.com/llvm/llvm-project/commit/7b5254223acbf2ef9cd278070c5a84ab278d7e5f.patch";
|
||||
sha256 = "sha256-A+9/IVIoazu68FK5H5CiXcOEYe1Hpp4xTx2mIw7m8Es=";
|
||||
stripLen = 1;
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ cmake perl ];
|
||||
buildInputs = [ llvm ];
|
||||
|
||||
|
@ -4,13 +4,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "intel-gmmlib";
|
||||
version = "20.4.1";
|
||||
version = "21.1.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "intel";
|
||||
repo = "gmmlib";
|
||||
rev = "${pname}-${version}";
|
||||
sha256 = "0qb0wpinfv8lg1pq1pxkl6v0kd8ax86m8zxzm6zjx91alsch1mi6";
|
||||
sha256 = "0cdyrfyn05fadva8k02kp4nk14k274xfmhzwc0v7jijm1dw8v8rf";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
@ -6,13 +6,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "intel-media-driver";
|
||||
version = "21.1.2";
|
||||
version = "21.1.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "intel";
|
||||
repo = "media-driver";
|
||||
rev = "intel-media-${version}";
|
||||
sha256 = "17g9xilcrpmkn6higgpvd9bly1h61xxyp1kx9zwl6rgzs2pryby2";
|
||||
sha256 = "1y6y6dia2y3b798f668q26pzwb1xai5d5jpmllpcxs9qikhkkx8p";
|
||||
};
|
||||
|
||||
cmakeFlags = [
|
||||
|
@ -6,6 +6,8 @@ buildDunePackage rec {
|
||||
|
||||
useDune2 = true;
|
||||
|
||||
minimumOCamlVersion = "4.06";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/mirage/mirage-clock/releases/download/v${version}/mirage-clock-v${version}.tbz";
|
||||
sha256 = "0cqa07aqkamw0dvis1fl46brvk81zvb92iy5076ik62gv9n5a0mn";
|
||||
|
23
pkgs/development/ocaml-modules/mirage-clock/freestanding.nix
Normal file
23
pkgs/development/ocaml-modules/mirage-clock/freestanding.nix
Normal file
@ -0,0 +1,23 @@
|
||||
{ lib
|
||||
, buildDunePackage
|
||||
, mirage-clock
|
||||
}:
|
||||
|
||||
buildDunePackage {
|
||||
pname = "mirage-clock-freestanding";
|
||||
|
||||
inherit (mirage-clock)
|
||||
version
|
||||
src
|
||||
useDune2
|
||||
minimumOCamlVersion
|
||||
;
|
||||
|
||||
propagatedBuildInputs = [
|
||||
mirage-clock
|
||||
];
|
||||
|
||||
meta = mirage-clock.meta // {
|
||||
description = "Paravirtual implementation of the MirageOS Clock interface";
|
||||
};
|
||||
}
|
@ -1,47 +1,48 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
, pytestrunner
|
||||
, aiohttp
|
||||
, aioresponses
|
||||
, pytestCheckHook
|
||||
, pytestcov
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytest-asyncio
|
||||
, pytest-error-for-skips
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "accuweather";
|
||||
version = "0.1.0";
|
||||
|
||||
version = "0.1.1";
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bieniu";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "0jp2x7fgg1shgr1fx296rni00lmjjmjgg141giljzizgd04dwgy3";
|
||||
sha256 = "sha256-fjOwa13hxY8/gCM6TCAFWVmEY1oZyqKyc6o3OSsxHpY=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
# we don't have pytest-error-for-skips packaged
|
||||
substituteInPlace pytest.ini --replace "--error-for-skips" ""
|
||||
substituteInPlace setup.py \
|
||||
--replace "pytest-runner" ""
|
||||
substituteInPlace pytest.ini \
|
||||
--replace "--cov --cov-report term-missing" ""
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ pytestrunner ];
|
||||
|
||||
propagatedBuildInputs = [ aiohttp ];
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
aioresponses
|
||||
pytestCheckHook
|
||||
pytestcov
|
||||
pytest-asyncio
|
||||
pytest-error-for-skips
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "accuweather" ];
|
||||
|
||||
meta = with lib; {
|
||||
description =
|
||||
"Python wrapper for getting weather data from AccuWeather servers.";
|
||||
description = "Python wrapper for getting weather data from AccuWeather servers";
|
||||
homepage = "https://github.com/bieniu/accuweather";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ jamiemagee ];
|
||||
|
@ -14,13 +14,13 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "bellows";
|
||||
version = "0.22.0";
|
||||
version = "0.23.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "zigpy";
|
||||
repo = "bellows";
|
||||
rev = version;
|
||||
sha256 = "0il2cwnrcvgxx9jkj1xr2caqyza3kqjys3fpmcx7avy04xbf5dbv";
|
||||
sha256 = "sha256-c9rKRmGMlYrzVQmUuM9P3c/Jm4QVM2aBRSZ0OkyrPTY=";
|
||||
};
|
||||
|
||||
prePatch = ''
|
||||
|
@ -12,14 +12,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "devolo-home-control-api";
|
||||
version = "0.17.0";
|
||||
version = "0.17.1";
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "2Fake";
|
||||
repo = "devolo_home_control_api";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-g82YmlxlBdyNn7KPU+k+J3/P7ABWMMdLXUpXWnCkdpM=";
|
||||
sha256 = "sha256-5PaIZPwikDmT4kmh0Qfg65gBAUYralmO6a22GtzoB7A=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -2,11 +2,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pynanoleaf";
|
||||
version = "0.0.7";
|
||||
version = "0.1.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "7d212f35eac9d94248858ec63ca63545ea7fce1cdda11ae5878f4d4d74f055d0";
|
||||
sha256 = "sha256-BiLJgsey7kIIeN5+CKKnrTB2bSKMNEbeMLwGi2LRLcg=";
|
||||
};
|
||||
|
||||
disabled = !isPy3k;
|
||||
|
34
pkgs/development/python-modules/pytube/default.nix
Normal file
34
pkgs/development/python-modules/pytube/default.nix
Normal file
@ -0,0 +1,34 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchFromGitHub
|
||||
, typing-extensions
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pytube";
|
||||
version = "10.6.1";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pytube";
|
||||
repo = "pytube";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-b0tN4m3/+K243zQ7L4wW4crk9r69Tj64is6C4I5oFZU=";
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "pytube" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python 3 library for downloading YouTube Videos";
|
||||
homepage = "https://github.com/nficano/pytube";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ dotlambda ];
|
||||
};
|
||||
}
|
47
pkgs/development/python-modules/rapidfuzz/default.nix
Normal file
47
pkgs/development/python-modules/rapidfuzz/default.nix
Normal file
@ -0,0 +1,47 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
, hypothesis
|
||||
, pandas
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "rapidfuzz";
|
||||
version = "1.3.3";
|
||||
|
||||
disabled = pythonOlder "3.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "maxbachmann";
|
||||
repo = "RapidFuzz";
|
||||
rev = "v${version}";
|
||||
fetchSubmodules = true;
|
||||
sha256 = "1k28mycf945zp5kkdm4anjqac8ysmp0pabyjg96xww8hnlwmqcnf";
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
hypothesis
|
||||
pandas
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
"test_levenshtein_block" # hypothesis data generation too slow
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"rapidfuzz.fuzz"
|
||||
"rapidfuzz.string_metric"
|
||||
"rapidfuzz.process"
|
||||
"rapidfuzz.utils"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Rapid fuzzy string matching";
|
||||
homepage = "https://github.com/maxbachmann/rapidfuzz";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ dotlambda ];
|
||||
};
|
||||
}
|
@ -6,11 +6,11 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "spotipy";
|
||||
version = "2.16.1";
|
||||
version = "2.17.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1f50xczv8kgly6wz6zrvqzwdj6nvhdlgx8wnrhmbipjrb6qacr25";
|
||||
sha256 = "sha256-KcYMi5naHEufDXIhabwx5iS4wH1xhrjq3ZwC6NLULL8=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ requests six ];
|
||||
|
@ -1,25 +1,34 @@
|
||||
{ lib
|
||||
, aiohttp
|
||||
, asynctest
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, aiohttp
|
||||
, zigpy
|
||||
, asynctest
|
||||
, pytestCheckHook
|
||||
, zigpy
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "zha-quirks";
|
||||
version = "0.0.54";
|
||||
version = "0.0.55";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "zigpy";
|
||||
repo = "zha-device-handlers";
|
||||
rev = version;
|
||||
sha256 = "1xc4rky9x2n15rsb18vyg4lb2897k14gkz03khgf8gp37bg2dk5h";
|
||||
sha256 = "sha256-mc7mOaxn2FCvwYv9yE0mIOSQ1F+xJJ+1LynOdEV07I8=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ aiohttp zigpy ];
|
||||
checkInputs = [ pytestCheckHook asynctest ];
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
zigpy
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
asynctest
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "zhaquirks" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "ZHA Device Handlers are custom quirks implementations for Zigpy";
|
||||
|
@ -11,13 +11,13 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "zigpy-deconz";
|
||||
version = "0.11.1";
|
||||
version = "0.12.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "zigpy";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "1p9mdsfc200iyszppcflazzfwqg4v8nqqwqsx114nip5km7a5s37";
|
||||
sha256 = "sha256-d/yAk8owMu+J1BzlwR5mzF9HkXiE6Kc81AznvsAboy8=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ pyserial pyserial-asyncio zigpy ];
|
||||
|
@ -15,13 +15,13 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "zigpy";
|
||||
version = "0.32.0";
|
||||
version = "0.33.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "zigpy";
|
||||
repo = "zigpy";
|
||||
rev = version;
|
||||
sha256 = "18grqx1fzh539ccar0865shgd2mnfni65rjj787cq5j5p5rn0yc7";
|
||||
sha256 = "sha256-oEf4GnvbQ6LY4NaNFWRmnNz1TK2tMpIVUxskhU38g4w=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -8,16 +8,16 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "cargo-valgrind";
|
||||
version = "2.0.0";
|
||||
version = "2.0.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jfrimmel";
|
||||
repo = "cargo-valgrind";
|
||||
rev = version;
|
||||
sha256 = "0knsq6n3wrsd3ir2r1wpxm6ks7rgkw33bk008s8fq33m3bq2yvm7";
|
||||
sha256 = "sha256-PltYUU2O/D1PrU+K8JN4+aUVLzHCeNyIsXMU6HLodXE=";
|
||||
};
|
||||
|
||||
cargoSha256 = "09mhdi12wgg7s4wdnn0vfxhj7hwj5hjrq32mjgjr2hwm6yzhkzr2";
|
||||
cargoSha256 = "sha256-zR826fFSCSsJxGKSc7ugrLwMDvsjRBjs4eotKTfhGqI=";
|
||||
|
||||
passthru = {
|
||||
updateScript = nix-update-script {
|
||||
|
@ -8,6 +8,6 @@ let
|
||||
in
|
||||
buildNodejs {
|
||||
inherit enableNpm;
|
||||
version = "15.12.0";
|
||||
sha256 = "0c8smzc7gbr7yg4y4z68976wk5741bspggag9h9laykq4i8bxfsy";
|
||||
version = "15.13.0";
|
||||
sha256 = "1wd859bxd8j97xl98k61g0vwcmy83wvjj04fgway38aapk9abp4h";
|
||||
}
|
||||
|
@ -128,5 +128,6 @@ stdenv.mkDerivation rec {
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = with maintainers; [ pyrolagus peterhoeg ];
|
||||
platforms = with platforms; linux;
|
||||
changelog = "https://github.com/supertuxkart/stk-code/blob/${version}/CHANGELOG.md";
|
||||
};
|
||||
}
|
||||
|
@ -24,10 +24,11 @@ let
|
||||
preInstall ? "",
|
||||
postInstall ? "",
|
||||
path ? lib.getName pluginName,
|
||||
dependencies ? [],
|
||||
...
|
||||
}:
|
||||
addRtp "${rtpPath}/${path}" rtpFilePath a (stdenv.mkDerivation (a // {
|
||||
if lib.hasAttr "dependencies" a then
|
||||
throw "dependencies attribute is obselete. see NixOS/nixpkgs#118034" # added 2021-04-01
|
||||
else addRtp "${rtpPath}/${path}" rtpFilePath a (stdenv.mkDerivation (a // {
|
||||
pname = namePrefix + pluginName;
|
||||
|
||||
inherit pluginName unpackPhase configurePhase buildPhase addonInfo preInstall postInstall;
|
||||
@ -44,8 +45,6 @@ let
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
dependencies = [ pkgs.bash ] ++ dependencies;
|
||||
}));
|
||||
|
||||
in rec {
|
||||
@ -73,7 +72,6 @@ in rec {
|
||||
rev = "26eb5ffce0b559d682b9f98c8d4b6c370ecb639b";
|
||||
sha256 = "1glwa89bv2r92qz579a49prk3jf612cpd5hw46j4wfb35xhnj3ab";
|
||||
};
|
||||
dependencies = [ resurrect ];
|
||||
meta = {
|
||||
homepage = "https://github.com/tmux-plugins/tmux-continuum";
|
||||
description = "continous saving of tmux environment";
|
||||
@ -156,7 +154,15 @@ in rec {
|
||||
sha256 = "0gp37m3d0irrsih96qv2yalvr1wmf1n64589d4qzyzq16lzyjcr0";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
dependencies = [ pkgs.gawk ];
|
||||
nativeBuildInputs = [ pkgs.makeWrapper ];
|
||||
postInstall = ''
|
||||
for f in config.sh tmux-fingers.sh setup-fingers-mode-bindings.sh; do
|
||||
wrapProgram $target/scripts/$f \
|
||||
--prefix PATH : ${with pkgs; lib.makeBinPath (
|
||||
[ gawk ] ++ lib.optionals stdenv.isDarwin [ reattach-to-user-namespace ]
|
||||
)}
|
||||
done
|
||||
'';
|
||||
};
|
||||
|
||||
fpp = mkTmuxPlugin {
|
||||
@ -171,7 +177,6 @@ in rec {
|
||||
postInstall = ''
|
||||
sed -i -e 's|fpp |${pkgs.fpp}/bin/fpp |g' $target/fpp.tmux
|
||||
'';
|
||||
dependencies = [ pkgs.fpp ];
|
||||
};
|
||||
|
||||
fzf-tmux-url = mkTmuxPlugin {
|
||||
@ -211,8 +216,6 @@ in rec {
|
||||
postInstall = ''
|
||||
sed -i -e 's|ruby|${pkgs.ruby}/bin/ruby|g' $target/scripts/tmux-jump.sh
|
||||
'';
|
||||
dependencies = [ pkgs.ruby ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/schasse/tmux-jump";
|
||||
description = "Vimium/Easymotion like navigation for tmux";
|
||||
@ -477,7 +480,7 @@ in rec {
|
||||
find $target -type f -print0 | xargs -0 sed -i -e 's|sed |${pkgs.gnused}/bin/sed |g'
|
||||
find $target -type f -print0 | xargs -0 sed -i -e 's|tput |${pkgs.ncurses}/bin/tput |g'
|
||||
'';
|
||||
meta = {
|
||||
meta = {
|
||||
homepage = "https://github.com/sainnhe/tmux-fzf";
|
||||
description = "Use fzf to manage your tmux work environment! ";
|
||||
longDescription =
|
||||
@ -510,7 +513,6 @@ in rec {
|
||||
postInstall = ''
|
||||
sed -i -e '14,20{s|urlview|${pkgs.urlview}/bin/urlview|g}' $target/urlview.tmux
|
||||
'';
|
||||
dependencies = [ pkgs.urlview ];
|
||||
};
|
||||
|
||||
vim-tmux-focus-events = mkTmuxPlugin {
|
||||
|
@ -37,5 +37,6 @@ python3Packages.buildPythonApplication rec {
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ ];
|
||||
changelog = "https://github.com/dstat-real/dstat/blob/v${version}/ChangeLog";
|
||||
};
|
||||
}
|
||||
|
@ -176,6 +176,7 @@ in with py.pkgs; buildPythonApplication rec {
|
||||
# services. Before adding new components to this list make sure we have all
|
||||
# its dependencies packaged and listed in ./component-packages.nix.
|
||||
componentTests = [
|
||||
"accuweather"
|
||||
"alert"
|
||||
"api"
|
||||
"auth"
|
||||
@ -200,6 +201,7 @@ in with py.pkgs; buildPythonApplication rec {
|
||||
"device_automation"
|
||||
"device_sun_light_trigger"
|
||||
"device_tracker"
|
||||
"devolo_home_control"
|
||||
"dhcp"
|
||||
"discovery"
|
||||
"emulated_hue"
|
||||
@ -226,6 +228,7 @@ in with py.pkgs; buildPythonApplication rec {
|
||||
"history_stats"
|
||||
"homekit_controller"
|
||||
"homeassistant"
|
||||
"homematic"
|
||||
"html5"
|
||||
"http"
|
||||
"hue"
|
||||
@ -301,6 +304,7 @@ in with py.pkgs; buildPythonApplication rec {
|
||||
"smtp"
|
||||
"solaredge"
|
||||
"sonos"
|
||||
"spotify"
|
||||
"sql"
|
||||
"ssdp"
|
||||
"stream"
|
||||
|
@ -100,10 +100,11 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "http://exim.org/";
|
||||
homepage = "https://exim.org/";
|
||||
description = "A mail transfer agent (MTA)";
|
||||
license = with licenses; [ gpl2Plus bsd3 ];
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ tv ajs124 das_j ];
|
||||
changelog = "https://github.com/Exim/exim/blob/exim-${version}/doc/doc-txt/ChangeLog";
|
||||
};
|
||||
}
|
||||
|
@ -15,16 +15,16 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "nushell";
|
||||
version = "0.28.0";
|
||||
version = "0.29.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = pname;
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-8mS4Yvzyka85ZkV2LT68h4EGmumQtYpOxCIDRqa3fk0=";
|
||||
sha256 = "sha256-RZz8hmcLOJRz0HpPXc3121B1UcbtDgCFv8Zdv29E+XQ=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-jbziXOrmHkZPp3YkPJypNj7l62Q6nKyamBBYjlfYiVE=";
|
||||
cargoSha256 = "sha256-V6Qdg8xSm2/6BbSEOH5mH92Gjx+xy0J2CZ9FQxmhI88=";
|
||||
|
||||
nativeBuildInputs = [ pkg-config ]
|
||||
++ lib.optionals (withStableFeatures && stdenv.isLinux) [ python3 ];
|
||||
|
@ -33,6 +33,7 @@ stdenv.mkDerivation rec {
|
||||
];
|
||||
|
||||
maintainers = with lib.maintainers; [ lheckemann alva ];
|
||||
changelog = "https://www.oilshell.org/release/${version}/changelog.html";
|
||||
};
|
||||
|
||||
passthru = {
|
||||
|
@ -2,13 +2,13 @@
|
||||
|
||||
buildGoPackage rec {
|
||||
pname = "exoscale-cli";
|
||||
version = "1.26.0";
|
||||
version = "1.27.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "exoscale";
|
||||
repo = "cli";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-vYezpO5Oe5KXmCx6D70GMKamhK8/EiaV2BPb0tQLDzg=";
|
||||
sha256 = "sha256-bKciwcYGETwVdUS4qdByHLWKt16PpBtTvW/dvuclIpA=";
|
||||
};
|
||||
|
||||
goPackagePath = "github.com/exoscale/cli";
|
||||
|
47
pkgs/tools/audio/spotdl/default.nix
Normal file
47
pkgs/tools/audio/spotdl/default.nix
Normal file
@ -0,0 +1,47 @@
|
||||
{ lib
|
||||
, python3
|
||||
, fetchFromGitHub
|
||||
, ffmpeg
|
||||
}:
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "spotdl";
|
||||
version = "3.5.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "spotDL";
|
||||
repo = "spotify-downloader";
|
||||
rev = "v${version}";
|
||||
sha256 = "1nxf911hi578jw24hlcvyy33z1pkvr41pfrywbs3157rj1fj2vfi";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
spotipy
|
||||
pytube
|
||||
rich
|
||||
rapidfuzz
|
||||
mutagen
|
||||
ytmusicapi
|
||||
tqdm
|
||||
beautifulsoup4
|
||||
requests
|
||||
];
|
||||
|
||||
checkInputs = with python3.pkgs; [
|
||||
pytestCheckHook
|
||||
pytest-mock
|
||||
pytest-vcr
|
||||
pyfakefs
|
||||
];
|
||||
|
||||
makeWrapperArgs = [
|
||||
"--prefix" "PATH" ":" (lib.makeBinPath [ ffmpeg ])
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Download your Spotify playlists and songs along with album art and metadata";
|
||||
homepage = "https://github.com/spotDL/spotify-downloader";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ dotlambda ];
|
||||
};
|
||||
}
|
@ -71,5 +71,6 @@ buildGoModule rec {
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ Br1ght0ne ma27 zowoq ];
|
||||
platforms = platforms.unix;
|
||||
changelog = "https://github.com/junegunn/fzf/blob/${version}/CHANGELOG.md";
|
||||
};
|
||||
}
|
||||
|
@ -2,16 +2,16 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "goreleaser";
|
||||
version = "0.161.1";
|
||||
version = "0.162.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "goreleaser";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-hCb9w8jyHJ7wGszseyweJDAVjnuxErXdwIRUGfXLRfI=";
|
||||
sha256 = "sha256-nhl6GATzFsfEQjKVxz65REn9QTvOH49omU00ZCfO6CY=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-rQF9B5syexMzHji7zXSj7YVIJnOwMR0hzTrRzKCMGYw=";
|
||||
vendorSha256 = "sha256-zq/RIOK/Hs1GJ2yLE7pe0UoDuR6LGUrPQAuQzrTvuKs=";
|
||||
|
||||
buildFlagsArray = [
|
||||
"-ldflags="
|
||||
|
@ -2,13 +2,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "nix-direnv";
|
||||
version = "1.2.3";
|
||||
version = "1.2.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nix-community";
|
||||
repo = "nix-direnv";
|
||||
rev = version;
|
||||
sha256 = "sha256-a0OyIONKtVWh9g/FZ6H0JSRuA1U48HSOX53G9z/h7t8=";
|
||||
sha256 = "sha256-87x+MRQ1SjtN+wNCy42VJwlRwgQzHjNEK3J1bkvo7eQ=";
|
||||
};
|
||||
|
||||
# Substitute instead of wrapping because the resulting file is
|
||||
|
@ -24,9 +24,9 @@ stdenv.mkDerivation rec {
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
gdbm pam readline ncurses gnutls guile texinfo gnum4 sasl fribidi nettools
|
||||
gdbm pam readline ncurses gnutls guile texinfo gnum4 sasl fribidi
|
||||
gss libmysqlclient python3
|
||||
];
|
||||
] ++ lib.optionals stdenv.isLinux [ nettools ];
|
||||
|
||||
patches = [
|
||||
./fix-build-mb-len-max.patch
|
||||
|
@ -1,24 +1,30 @@
|
||||
{ lib, stdenv, fetchurl }:
|
||||
{ lib, stdenv, fetchurl, makeWrapper, binutils-unwrapped }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "chkrootkit-0.54";
|
||||
pname = "chkrootkit";
|
||||
version = "0.54";
|
||||
|
||||
src = fetchurl {
|
||||
url = "ftp://ftp.pangeia.com.br/pub/seg/pac/${name}.tar.gz";
|
||||
sha256 = "sha256-FUySaSH1PbYHKKfLyXyohli2lMFLfSiO/jg+CEmRVgc=";
|
||||
url = "ftp://ftp.pangeia.com.br/pub/seg/pac/${pname}-${version}.tar.gz";
|
||||
sha256 = "01snj54hhgiqzs72hzabq6abcn46m1yckjx7503vcggm45lr4k0m";
|
||||
};
|
||||
|
||||
# TODO: a lazy work-around for linux build failure ...
|
||||
makeFlags = [ "STATIC=" ];
|
||||
|
||||
postPatch = ''
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace chkrootkit \
|
||||
--replace " ./" " $out/bin/"
|
||||
'';
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/sbin
|
||||
cp check_wtmpx chkdirs chklastlog chkproc chkrootkit chkutmp chkwtmp ifpromisc strings-static $out/sbin
|
||||
|
||||
wrapProgram $out/sbin/chkrootkit \
|
||||
--prefix PATH : "${lib.makeBinPath [ binutils-unwrapped ]}"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
40
pkgs/tools/security/knockpy/default.nix
Normal file
40
pkgs/tools/security/knockpy/default.nix
Normal file
@ -0,0 +1,40 @@
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, python3
|
||||
}:
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "knockpy";
|
||||
version = "5.0.0";
|
||||
disabled = python3.pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "guelfoweb";
|
||||
repo = "knock";
|
||||
rev = version;
|
||||
sha256 = "1h7sibdxx8y53xm1wydyng418n4j6baiys257msq03cs04jlm7h9";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
beautifulsoup4
|
||||
colorama
|
||||
requests
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
# https://github.com/guelfoweb/knock/pull/95
|
||||
substituteInPlace setup.py \
|
||||
--replace "bs4" "beautifulsoup4"
|
||||
'';
|
||||
|
||||
# Project has no tests
|
||||
doCheck = false;
|
||||
pythonImportsCheck = [ "knockpy" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Tool to scan subdomains";
|
||||
homepage = "https://github.com/guelfoweb/knock";
|
||||
license = with licenses; [ gpl3Only ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -22,7 +22,8 @@ stdenv.mkDerivation rec {
|
||||
description = "An interactive process viewer for Linux";
|
||||
homepage = "https://htop.dev";
|
||||
license = licenses.gpl2Only;
|
||||
platforms = with platforms; linux ++ freebsd ++ openbsd ++ darwin;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ rob relrod ];
|
||||
changelog = "https://github.com/htop-dev/${pname}/blob/${version}/ChangeLog";
|
||||
};
|
||||
}
|
||||
|
@ -1,8 +1,8 @@
|
||||
{ stdenv, rustPlatform, fetchurl, fetchFromGitHub, lib, nasm, cargo-c }:
|
||||
{ stdenv, rustPlatform, fetchurl, fetchFromGitHub, lib, nasm, cargo-c, libiconv }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "rav1e";
|
||||
version = "0.4.0";
|
||||
version = "0.4.1";
|
||||
|
||||
src = stdenv.mkDerivation rec {
|
||||
name = "${pname}-${version}-source";
|
||||
@ -11,12 +11,12 @@ rustPlatform.buildRustPackage rec {
|
||||
owner = "xiph";
|
||||
repo = "rav1e";
|
||||
rev = "v${version}";
|
||||
sha256 = "09w4476x6bdmh9pv4lchrzvfvbjvxxraa9f4dlbwgli89lcg9fcf";
|
||||
sha256 = "0jnq5a3fv6fzzbmprzfxidlcwwgblkwwm0135cfw741wjv7f7h6r";
|
||||
};
|
||||
|
||||
cargoLock = fetchurl {
|
||||
url = "https://github.com/xiph/rav1e/releases/download/v${version}/Cargo.lock";
|
||||
sha256 = "0rkyi010z6qmwdpvzlzyrrhs8na929g11lszhbqx5y0gh3y5nyik";
|
||||
sha256 = "14fi9wam9rs5206rvcd2f3sjpzq41pnfml14w74wn2ws3gpi46zn";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
@ -26,8 +26,9 @@ rustPlatform.buildRustPackage rec {
|
||||
'';
|
||||
};
|
||||
|
||||
cargoSha256 = "1iza2cws28hd4a3q90mc90l8ql4bsgapdznfr6bl65cjam43i5sg";
|
||||
cargoSha256 = "1j92prjyr86wyx58h10xq9c9z28ky86h291x65w7qrxpj658aiz1";
|
||||
nativeBuildInputs = [ nasm cargo-c ];
|
||||
buildInputs = lib.optionals stdenv.isDarwin [ libiconv ];
|
||||
|
||||
postBuild = ''
|
||||
cargo cbuild --release --frozen --prefix=${placeholder "out"}
|
||||
|
@ -5766,6 +5766,8 @@ in
|
||||
|
||||
knockknock = callPackage ../tools/security/knockknock { };
|
||||
|
||||
knockpy = callPackage ../tools/security/knockpy { };
|
||||
|
||||
kore = callPackage ../development/web/kore { };
|
||||
|
||||
krakenx = callPackage ../tools/system/krakenx { };
|
||||
@ -8322,6 +8324,8 @@ in
|
||||
|
||||
splot = haskell.lib.justStaticExecutables haskellPackages.splot;
|
||||
|
||||
spotdl = callPackage ../tools/audio/spotdl { };
|
||||
|
||||
squashfsTools = callPackage ../tools/filesystems/squashfs { };
|
||||
|
||||
squashfs-tools-ng = callPackage ../tools/filesystems/squashfs-tools-ng { };
|
||||
@ -25712,6 +25716,8 @@ in
|
||||
|
||||
sunvox = callPackage ../applications/audio/sunvox { };
|
||||
|
||||
svkbd = callPackage ../applications/accessibility/svkbd { };
|
||||
|
||||
swaglyrics = callPackage ../tools/misc/swaglyrics { };
|
||||
|
||||
swh_lv2 = callPackage ../applications/audio/swh-lv2 { };
|
||||
|
@ -681,6 +681,8 @@ let
|
||||
|
||||
mirage-clock = callPackage ../development/ocaml-modules/mirage-clock { };
|
||||
|
||||
mirage-clock-freestanding = callPackage ../development/ocaml-modules/mirage-clock/freestanding.nix { };
|
||||
|
||||
mirage-clock-unix = callPackage ../development/ocaml-modules/mirage-clock/unix.nix { };
|
||||
|
||||
mirage-console = callPackage ../development/ocaml-modules/mirage-console { };
|
||||
|
@ -6905,6 +6905,8 @@ in {
|
||||
|
||||
pytricia = callPackage ../development/python-modules/pytricia { };
|
||||
|
||||
pytube = callPackage ../development/python-modules/pytube { };
|
||||
|
||||
pytun = callPackage ../development/python-modules/pytun { };
|
||||
|
||||
pytz = callPackage ../development/python-modules/pytz { };
|
||||
@ -7114,6 +7116,8 @@ in {
|
||||
|
||||
random2 = callPackage ../development/python-modules/random2 { };
|
||||
|
||||
rapidfuzz = callPackage ../development/python-modules/rapidfuzz { };
|
||||
|
||||
rarfile = callPackage ../development/python-modules/rarfile {
|
||||
inherit (pkgs) libarchive;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user