Merge master into staging-next
This commit is contained in:
commit
5993483dcb
@ -18,13 +18,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "notejot";
|
||||
version = "3.1.1";
|
||||
version = "3.1.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "lainsce";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-OmzEwShIpzIbonqwQmpdutd3tztm7Gmmo3qdt+DApWo=";
|
||||
hash = "sha256-Exg9HxV3cxySuT8ifVyZgoATQ/FAC8umj3smJ7W/5/Y=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -24,14 +24,14 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "chatty";
|
||||
version = "0.3.2";
|
||||
version = "0.3.4";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
domain = "source.puri.sm";
|
||||
owner = "Librem5";
|
||||
repo = "chatty";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-/l8hysfBmXLbs2COIVjdr2JC1qX/c66DqOm2Gyqb9s8=";
|
||||
sha256 = "0910f5bw75ph576gxbsd6ysdwnlk4ysdp0pml2i3mjqpcbkqfs3w";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
@ -2,13 +2,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "papirus-icon-theme";
|
||||
version = "20210802";
|
||||
version = "20210901";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "PapirusDevelopmentTeam";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-run7F1iGq1h7o06zS/RNpCMhK5WDH++knLN+MvMcSy8=";
|
||||
sha256 = "sha256-SbqEHLXSomUUaLRJA1MJbtF1lTQPiWSUXgapjEzSl00=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ gtk3 ];
|
||||
|
@ -1,31 +1,36 @@
|
||||
{ lib
|
||||
, fetchPypi
|
||||
, buildPythonPackage
|
||||
, isPy3k
|
||||
, pythonOlder
|
||||
, ifaddr
|
||||
, bitstring
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aiolifx";
|
||||
version = "0.6.10";
|
||||
version = "0.7.0";
|
||||
|
||||
disabled = pythonOlder "3.4";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "b3aaf814dbc03666b22b08103990f260e58616ea64f2a28396653ef3b5fad4f9";
|
||||
sha256 = "sha256-9FwTYcaXwGMMnhp+MXe1Iu8Og5aHL6qo9SVKWHFtc7o=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
bitstring
|
||||
ifaddr
|
||||
];
|
||||
|
||||
# tests are not implemented
|
||||
doCheck = false;
|
||||
|
||||
disabled = !isPy3k;
|
||||
|
||||
propagatedBuildInputs = [ bitstring ifaddr ];
|
||||
pythonImportsCheck = [ "aiolifx" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "API for local communication with LIFX devices over a LAN";
|
||||
homepage = "https://github.com/frawau/aiolifx";
|
||||
license = licenses.mit;
|
||||
description = "API for local communication with LIFX devices over a LAN with asyncio";
|
||||
maintainers = with maintainers; [ netixx ];
|
||||
};
|
||||
}
|
||||
|
@ -44,7 +44,7 @@ buildPythonPackage rec {
|
||||
pytest-regressions
|
||||
pytestCheckHook
|
||||
];
|
||||
pytestImportsCheck = [ "markdown_it" ];
|
||||
pythonImportsCheck = [ "markdown_it" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Markdown parser done right";
|
||||
|
@ -18,7 +18,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "surepy";
|
||||
version = "0.7.0";
|
||||
version = "0.7.1";
|
||||
format = "pyproject";
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
@ -26,7 +26,7 @@ buildPythonPackage rec {
|
||||
owner = "benleb";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "04ywkbgs1lnnlhxakbr96crwc8hl97px8w7yigps2ki69md0xf60";
|
||||
sha256 = "sha256-h2PEzS3R7NXIUWYOiTpe5ZEU1RopaRj1phudmvcklug=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
|
@ -15,6 +15,10 @@
|
||||
"date": "2021-08-22",
|
||||
"new": "toggleterm-nvim"
|
||||
},
|
||||
"sql-nvim": {
|
||||
"date": "2021-09-03",
|
||||
"new": "sqlite-lua"
|
||||
},
|
||||
"vim-jade": {
|
||||
"date": "2020-03-27",
|
||||
"new": "vim-pug"
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -203,7 +203,7 @@ self: super: {
|
||||
|
||||
direnv-vim = super.direnv-vim.overrideAttrs (oa: {
|
||||
preFixup = oa.preFixup or "" + ''
|
||||
substituteInPlace $out/share/vim-plugins/direnv-vim/autoload/direnv.vim \
|
||||
substituteInPlace $out/share/vim-plugins/direnv.vim/autoload/direnv.vim \
|
||||
--replace "let s:direnv_cmd = get(g:, 'direnv_cmd', 'direnv')" \
|
||||
"let s:direnv_cmd = get(g:, 'direnv_cmd', '${lib.getBin direnv}/bin/direnv')"
|
||||
'';
|
||||
@ -479,7 +479,7 @@ self: super: {
|
||||
dependencies = with self; [ skim ];
|
||||
});
|
||||
|
||||
sql-nvim = super.sql-nvim.overrideAttrs (old: {
|
||||
sqlite-lua = super.sqlite-lua.overrideAttrs (old: {
|
||||
postPatch = ''
|
||||
substituteInPlace lua/sql/defs.lua \
|
||||
--replace "vim.g.sql_clib_path or" "vim.g.sql_clib_path or '${sqlite.out}/lib/libsqlite3.so' or"
|
||||
@ -516,7 +516,7 @@ self: super: {
|
||||
});
|
||||
|
||||
telescope-frecency-nvim = super.telescope-frecency-nvim.overrideAttrs (old: {
|
||||
dependencies = with self; [ sql-nvim telescope-nvim ];
|
||||
dependencies = with self; [ sqlite-lua telescope-nvim ];
|
||||
});
|
||||
|
||||
telescope-fzf-writer-nvim = super.telescope-fzf-writer-nvim.overrideAttrs (old: {
|
||||
|
@ -62,6 +62,7 @@ chikatoike/concealedyank.vim
|
||||
chikatoike/sourcemap.vim
|
||||
chkno/vim-haskell-module-name
|
||||
chr4/nginx.vim
|
||||
chr4/sslsecure.vim
|
||||
chrisbra/CheckAttach
|
||||
chrisbra/csv.vim
|
||||
chrisbra/NrrwRgn
|
||||
@ -122,6 +123,7 @@ easymotion/vim-easymotion
|
||||
eddiebergman/nvim-treesitter-pyfold
|
||||
eddyekofo94/gruvbox-flat.nvim
|
||||
editorconfig/editorconfig-vim
|
||||
edkolev/tmuxline.vim
|
||||
edluffy/hologram.nvim@main
|
||||
edluffy/specs.nvim@main
|
||||
edwinb/idris2-vim
|
||||
@ -299,6 +301,7 @@ junegunn/seoul256.vim
|
||||
junegunn/vader.vim
|
||||
junegunn/vim-after-object
|
||||
junegunn/vim-easy-align
|
||||
junegunn/vim-emoji
|
||||
junegunn/vim-github-dashboard
|
||||
junegunn/vim-peekaboo
|
||||
junegunn/vim-plug
|
||||
@ -456,7 +459,7 @@ nanotech/jellybeans.vim
|
||||
natebosch/vim-lsc
|
||||
nathanaelkane/vim-indent-guides
|
||||
nathangrigg/vim-beancount
|
||||
nathunsmitty/nvim-ale-diagnostic@main
|
||||
nathanmsmith/nvim-ale-diagnostic@main
|
||||
navicore/vissort.vim
|
||||
nbouscal/vim-stylish-haskell
|
||||
ncm2/float-preview.nvim
|
||||
@ -481,6 +484,7 @@ neoclide/coc-neco
|
||||
neoclide/coc.nvim@release
|
||||
neoclide/denite-extra
|
||||
neoclide/denite-git
|
||||
neoclide/jsonc.vim
|
||||
neoclide/vim-easygit
|
||||
neomake/neomake
|
||||
neovim/nvim-lspconfig
|
||||
@ -601,6 +605,7 @@ rktjmp/fwatch.nvim@main
|
||||
rktjmp/lush.nvim@main
|
||||
rmagatti/auto-session@main
|
||||
rmagatti/goto-preview@main
|
||||
RobertAudi/securemodelines
|
||||
rodjek/vim-puppet
|
||||
romainl/vim-cool
|
||||
romainl/vim-qf
|
||||
@ -690,7 +695,7 @@ tamago324/compe-zsh
|
||||
tamago324/lir.nvim
|
||||
tami5/compe-conjure
|
||||
tami5/lispdocs.nvim
|
||||
tami5/sql.nvim
|
||||
tami5/sqlite.lua
|
||||
tbastos/vim-lua
|
||||
tbodt/deoplete-tabnine
|
||||
ternjs/tern_for_vim
|
||||
@ -794,6 +799,7 @@ vim-erlang/vim-erlang-tags
|
||||
vim-pandoc/vim-pandoc
|
||||
vim-pandoc/vim-pandoc-after
|
||||
vim-pandoc/vim-pandoc-syntax
|
||||
vim-python/python-syntax
|
||||
vim-ruby/vim-ruby
|
||||
vim-scripts/a.vim
|
||||
vim-scripts/align
|
||||
@ -848,6 +854,7 @@ whonore/Coqtail
|
||||
will133/vim-dirdiff
|
||||
wincent/command-t
|
||||
wincent/ferret
|
||||
wincent/terminus
|
||||
windwp/nvim-autopairs
|
||||
winston0410/cmd-parser.nvim
|
||||
winston0410/range-highlight.nvim
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ lib, buildGoModule, fetchurl, fetchFromGitHub, nixosTests }:
|
||||
{ lib, buildGoModule, fetchurl, fetchFromGitHub, nixosTests, tzdata }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "grafana";
|
||||
@ -47,6 +47,16 @@ buildGoModule rec {
|
||||
"-s" "-w" "-X main.version=${version}"
|
||||
];
|
||||
|
||||
# Tests start http servers which need to bind to local addresses:
|
||||
# panic: httptest: failed to listen on a port: listen tcp6 [::1]:0: bind: operation not permitted
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
# On Darwin, files under /usr/share/zoneinfo exist, but fail to open in sandbox:
|
||||
# TestValueAsTimezone: date_formats_test.go:33: Invalid has err for input "Europe/Amsterdam": operation not permitted
|
||||
preCheck = ''
|
||||
export ZONEINFO=${tzdata}/share/zoneinfo
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
tar -xvf $srcStatic
|
||||
mkdir -p $out/share/grafana
|
||||
@ -60,6 +70,6 @@ buildGoModule rec {
|
||||
license = licenses.agpl3;
|
||||
homepage = "https://grafana.com";
|
||||
maintainers = with maintainers; [ offline fpletz willibutz globin ma27 Frostman ];
|
||||
platforms = platforms.linux;
|
||||
platforms = platforms.linux ++ platforms.darwin;
|
||||
};
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
GEM
|
||||
remote: https://rubygems.org/
|
||||
specs:
|
||||
bundler-audit (0.8.0)
|
||||
bundler-audit (0.9.0.1)
|
||||
bundler (>= 1.2.0, < 3)
|
||||
thor (~> 1.0)
|
||||
thor (1.1.0)
|
||||
@ -13,4 +13,4 @@ DEPENDENCIES
|
||||
bundler-audit
|
||||
|
||||
BUNDLED WITH
|
||||
2.1.4
|
||||
2.2.20
|
||||
|
@ -5,10 +5,10 @@
|
||||
platforms = [];
|
||||
source = {
|
||||
remotes = ["https://rubygems.org"];
|
||||
sha256 = "00l8rs7cna0j3yh4s9sza0r88x7kjc7j4gp9yl378422k7i0r73v";
|
||||
sha256 = "05k19l5388248rd74cn2lm2ksci7fzmga74n835v7k31m4kbzw8v";
|
||||
type = "gem";
|
||||
};
|
||||
version = "0.8.0";
|
||||
version = "0.9.0.1";
|
||||
};
|
||||
thor = {
|
||||
groups = ["default"];
|
||||
|
25
pkgs/tools/security/credential-detector/default.nix
Normal file
25
pkgs/tools/security/credential-detector/default.nix
Normal file
@ -0,0 +1,25 @@
|
||||
{ lib
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "credential-detector";
|
||||
version = "1.7.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ynori7";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1g5ja32rsf1b7y9gvmy29qz2ymyyvgh53wzd6vvknfla1df0slab";
|
||||
};
|
||||
|
||||
vendorSha256 = "1mn3sysvdz4b94804gns1yssk2q08djq3kq3cd1h7gm942zwrnq4";
|
||||
|
||||
meta = with lib; {
|
||||
description = "Tool to detect potentially hard-coded credentials";
|
||||
homepage = "https://github.com/ynori7/credential-detector";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
25
pkgs/tools/security/dalfox/default.nix
Normal file
25
pkgs/tools/security/dalfox/default.nix
Normal file
@ -0,0 +1,25 @@
|
||||
{ lib
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "dalfox";
|
||||
version = "2.4.9";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "hahwul";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1g0bafg3lgsqy8mjyzvvy9l1wp1rxqwpba3dkx6xisjkpbycxql8";
|
||||
};
|
||||
|
||||
vendorSha256 = "1mw58zbihw2fzbpqwydfrrkcwqjkjqdzp37m4dijhx1pbzkv9gzl";
|
||||
|
||||
meta = with lib; {
|
||||
description = "Tool for analysing parameter and XSS scanning";
|
||||
homepage = "https://github.com/hahwul/dalfox";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -5,17 +5,16 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "scilla";
|
||||
version = "20210118-${lib.strings.substring 0 7 rev}";
|
||||
rev = "74dd81492fef92b95765df1d0f629276a146a5a4";
|
||||
version = "1.1.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "edoardottt";
|
||||
repo = pname;
|
||||
inherit rev;
|
||||
sha256 = "10qvaigfarljydfb9vx2fb9nk293j4g9w2h9mr8xw6adbvl0qr9q";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-xg8qnpYRdSGaFkjmQLbjMFIU419ASEHtFA8h8ads/50=";
|
||||
};
|
||||
|
||||
vendorSha256 = "04wqsl4269gc3r6l9srqhcq19zarnyyab8k1shj3w6lkfcc61z25";
|
||||
vendorSha256 = "sha256-PFfzlqBuasTNeCNnu5GiGyQzBQkbe83q1EqCsWTor18=";
|
||||
|
||||
meta = with lib; {
|
||||
description = "Information gathering tool for DNS, ports and more";
|
||||
|
@ -1,17 +1,29 @@
|
||||
{ fetchFromGitHub, lib, rustPlatform }:
|
||||
{ cmake
|
||||
, fetchFromGitHub
|
||||
, lib
|
||||
, rustPlatform
|
||||
, stdenv
|
||||
, libiconv
|
||||
, CoreFoundation
|
||||
, Security
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "hck";
|
||||
version = "0.5.4";
|
||||
version = "0.6.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "sstadick";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1zdzi98qywlwk5bp47963vya2p2ahrbjkc9h63lmb05wlas9s78y";
|
||||
sha256 = "1l1v02rvb30bcq13ww56k04nc231f7q73zgf281974d6s2qwjdwh";
|
||||
};
|
||||
|
||||
cargoSha256 = "0lvd5xpgh2vq2lszzb0fs6ha2vb419a5w0hlkq3287vq3ya3p4qg";
|
||||
cargoSha256 = "1isgbzi8afbr2xkw70nxakwcb5zjzw28rgp4p7ammhfxjjxw7y93";
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin [ libiconv CoreFoundation Security ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A close to drop in replacement for cut that can use a regex delimiter instead of a fixed string";
|
||||
|
@ -338,6 +338,8 @@ with pkgs;
|
||||
|
||||
creddump = callPackage ../tools/security/creddump {};
|
||||
|
||||
credential-detector = callPackage ../tools/security/credential-detector { };
|
||||
|
||||
credslayer = callPackage ../tools/security/credslayer { };
|
||||
|
||||
device-tree_rpi = callPackage ../os-specific/linux/device-tree/raspberrypi.nix {};
|
||||
@ -29957,6 +29959,8 @@ with pkgs;
|
||||
|
||||
conglomerate = callPackage ../applications/science/biology/conglomerate { };
|
||||
|
||||
dalfox = callPackage ../tools/security/dalfox { };
|
||||
|
||||
dcm2niix = callPackage ../applications/science/biology/dcm2niix { };
|
||||
|
||||
deepdiff = with python3Packages; toPythonApplication deepdiff;
|
||||
@ -31124,7 +31128,9 @@ with pkgs;
|
||||
|
||||
hatari = callPackage ../misc/emulators/hatari { };
|
||||
|
||||
hck = callPackage ../tools/text/hck { };
|
||||
hck = callPackage ../tools/text/hck {
|
||||
inherit (darwin.apple_sdk.frameworks) CoreFoundation Security;
|
||||
};
|
||||
|
||||
helm = callPackage ../applications/audio/helm { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user