commit
6e0aca3c43
@ -1,14 +1,14 @@ |
|||||||
{ |
{ |
||||||
"version": "14.10.1", |
"version": "14.10.2", |
||||||
"repo_hash": "13868wb0zr862xaxapp8nxh16gjsawklw66rlxx95bhhm3r81nrp", |
"repo_hash": "0f7cfc1wrzz4m5yhd6jnp3dqpdy7vbj8bf826zjsi2ss48430bk0", |
||||||
"yarn_hash": "17wxqvig34namf8kvh8bwci3y0f3k2nl4zs99jcvskdad9p45rlc", |
"yarn_hash": "17wxqvig34namf8kvh8bwci3y0f3k2nl4zs99jcvskdad9p45rlc", |
||||||
"owner": "gitlab-org", |
"owner": "gitlab-org", |
||||||
"repo": "gitlab", |
"repo": "gitlab", |
||||||
"rev": "v14.10.1-ee", |
"rev": "v14.10.2-ee", |
||||||
"passthru": { |
"passthru": { |
||||||
"GITALY_SERVER_VERSION": "14.10.1", |
"GITALY_SERVER_VERSION": "14.10.2", |
||||||
"GITLAB_PAGES_VERSION": "1.56.1", |
"GITLAB_PAGES_VERSION": "1.56.1", |
||||||
"GITLAB_SHELL_VERSION": "13.25.1", |
"GITLAB_SHELL_VERSION": "13.25.1", |
||||||
"GITLAB_WORKHORSE_VERSION": "14.10.1" |
"GITLAB_WORKHORSE_VERSION": "14.10.2" |
||||||
} |
} |
||||||
} |
} |
||||||
|
@ -1,40 +0,0 @@ |
|||||||
{ lib |
|
||||||
, python3Packages |
|
||||||
, hyDefinedPythonPackages /* Packages like with python.withPackages */ |
|
||||||
, ... |
|
||||||
}: |
|
||||||
python3Packages.buildPythonApplication rec { |
|
||||||
pname = "hy"; |
|
||||||
version = "1.0a1"; |
|
||||||
|
|
||||||
src = python3Packages.fetchPypi { |
|
||||||
inherit pname version; |
|
||||||
sha256 = "sha256-lCrbvbkeutSNmvvn/eHpTnJwPb5aEH7hWTXYSE+AJmU="; |
|
||||||
}; |
|
||||||
|
|
||||||
checkInputs = with python3Packages; [ flake8 pytest ]; |
|
||||||
|
|
||||||
propagatedBuildInputs = with python3Packages; [ |
|
||||||
appdirs |
|
||||||
astor |
|
||||||
clint |
|
||||||
colorama |
|
||||||
fastentrypoints |
|
||||||
funcparserlib |
|
||||||
rply |
|
||||||
pygments |
|
||||||
] ++ (hyDefinedPythonPackages python3Packages); |
|
||||||
|
|
||||||
# Hy does not include tests in the source distribution from PyPI, so only test executable. |
|
||||||
checkPhase = '' |
|
||||||
$out/bin/hy --help > /dev/null |
|
||||||
''; |
|
||||||
|
|
||||||
meta = with lib; { |
|
||||||
description = "A LISP dialect embedded in Python"; |
|
||||||
homepage = "https://hylang.org/"; |
|
||||||
license = licenses.mit; |
|
||||||
maintainers = with maintainers; [ nixy mazurel ]; |
|
||||||
platforms = platforms.all; |
|
||||||
}; |
|
||||||
} |
|
@ -1,15 +0,0 @@ |
|||||||
{ lib |
|
||||||
, callPackage |
|
||||||
, hyDefinedPythonPackages ? python-packages: [] /* Packages like with python.withPackages */ |
|
||||||
}: |
|
||||||
let |
|
||||||
withPackages = ( |
|
||||||
python-packages: callPackage ./builder.nix { |
|
||||||
hyDefinedPythonPackages = python-packages; |
|
||||||
} |
|
||||||
); |
|
||||||
in |
|
||||||
(withPackages hyDefinedPythonPackages) // { |
|
||||||
# Export withPackages function for hy customization |
|
||||||
inherit withPackages; |
|
||||||
} |
|
@ -0,0 +1,24 @@ |
|||||||
|
diff --git a/src/js_misc.ml b/src/js_misc.ml
|
||||||
|
index 65f7b44..bfef103 100644
|
||||||
|
--- a/src/js_misc.ml
|
||||||
|
+++ b/src/js_misc.ml
|
||||||
|
@@ -28,17 +28,11 @@ type rows_or_columns =
|
||||||
|
[@@deriving sexp, bin_io, variants, compare]
|
||||||
|
|
||||||
|
let innerHeight () =
|
||||||
|
- Js.Optdef.case
|
||||||
|
- Dom_html.window##.innerHeight
|
||||||
|
- (fun () -> Dom_html.document##.documentElement##.clientHeight)
|
||||||
|
- Fn.id
|
||||||
|
+ Dom_html.window##.innerHeight
|
||||||
|
;;
|
||||||
|
|
||||||
|
let innerWidth () =
|
||||||
|
- Js.Optdef.case
|
||||||
|
- Dom_html.window##.innerWidth
|
||||||
|
- (fun () -> Dom_html.document##.documentElement##.clientWidth)
|
||||||
|
- Fn.id
|
||||||
|
+ Dom_html.window##.innerWidth
|
||||||
|
;;
|
||||||
|
|
||||||
|
let element_is_in_viewport (elt : Dom_html.element Js.t) =
|
@ -0,0 +1,47 @@ |
|||||||
|
{ lib |
||||||
|
, buildPythonPackage |
||||||
|
, pythonOlder |
||||||
|
, fetchPypi |
||||||
|
, aiohttp |
||||||
|
, requests |
||||||
|
, pytestCheckHook |
||||||
|
}: |
||||||
|
|
||||||
|
buildPythonPackage rec { |
||||||
|
pname = "brunt"; |
||||||
|
version = "1.2.0"; |
||||||
|
|
||||||
|
disabled = pythonOlder "3.8"; |
||||||
|
|
||||||
|
format = "setuptools"; |
||||||
|
|
||||||
|
src = fetchPypi { |
||||||
|
inherit pname version; |
||||||
|
sha256 = "e704627dc7b9c0a50c67ae90f1d320b14f99f2b2fc9bf1ef0461b141dcf1bce9"; |
||||||
|
}; |
||||||
|
|
||||||
|
postPatch = '' |
||||||
|
sed -i '/--cov/d' setup.cfg |
||||||
|
''; |
||||||
|
|
||||||
|
propagatedBuildInputs = [ |
||||||
|
aiohttp |
||||||
|
requests |
||||||
|
]; |
||||||
|
|
||||||
|
checkInputs = [ |
||||||
|
pytestCheckHook |
||||||
|
]; |
||||||
|
|
||||||
|
# tests require Brunt hardware |
||||||
|
doCheck = false; |
||||||
|
|
||||||
|
pythonImportsCheck = [ "brunt" ]; |
||||||
|
|
||||||
|
meta = { |
||||||
|
description = "Unofficial Python SDK for Brunt"; |
||||||
|
homepage = "https://github.com/eavanvalkenburg/brunt-api"; |
||||||
|
license = lib.licenses.mit; |
||||||
|
maintainers = with lib.maintainers; [ dotlambda ]; |
||||||
|
}; |
||||||
|
} |
@ -0,0 +1,43 @@ |
|||||||
|
{ lib |
||||||
|
, buildPythonPackage |
||||||
|
, fetchFromGitHub |
||||||
|
, hy |
||||||
|
, pytestCheckHook |
||||||
|
, pythonOlder |
||||||
|
}: |
||||||
|
|
||||||
|
buildPythonPackage rec { |
||||||
|
pname = "hyrule"; |
||||||
|
version = "0.1"; |
||||||
|
format = "setuptools"; |
||||||
|
|
||||||
|
disabled = pythonOlder "3.7"; |
||||||
|
|
||||||
|
src = fetchFromGitHub { |
||||||
|
owner = "hylang"; |
||||||
|
repo = pname; |
||||||
|
rev = version; |
||||||
|
sha256 = "sha256-sqS5vOcbln+Vfv/Ji/8rJ4GTQpXIuhgf+MukjV0Kkuw="; |
||||||
|
}; |
||||||
|
|
||||||
|
propagatedBuildInputs = [ |
||||||
|
hy |
||||||
|
]; |
||||||
|
|
||||||
|
checkInputs = [ |
||||||
|
pytestCheckHook |
||||||
|
]; |
||||||
|
|
||||||
|
# Some tests depends on hy on PATH |
||||||
|
preCheck = "PATH=${hy}/bin:$PATH"; |
||||||
|
|
||||||
|
pythonImportsCheck = [ "hyrule" ]; |
||||||
|
|
||||||
|
meta = with lib; { |
||||||
|
description = "Hyrule is a utility library for the Hy programming language"; |
||||||
|
homepage = "https://github.com/hylang/hyrule"; |
||||||
|
changelog = "https://github.com/hylang/hylure/releases/tag/${version}"; |
||||||
|
license = licenses.mit; |
||||||
|
maintainers = with maintainers; [ thiagokokada ]; |
||||||
|
}; |
||||||
|
} |
@ -1,25 +1,28 @@ |
|||||||
{ lib, buildGoPackage, fetchFromGitHub }: |
{ lib, buildGoModule, fetchFromGitHub }: |
||||||
|
|
||||||
buildGoPackage rec { |
buildGoModule rec { |
||||||
pname = "goconvey"; |
pname = "goconvey"; |
||||||
version = "1.6.3"; |
version = "1.7.2"; |
||||||
|
|
||||||
goPackagePath = "github.com/smartystreets/goconvey"; |
|
||||||
excludedPackages = "web/server/watch/integration_testing"; |
excludedPackages = "web/server/watch/integration_testing"; |
||||||
|
|
||||||
goDeps = ./deps.nix; |
|
||||||
|
|
||||||
src = fetchFromGitHub { |
src = fetchFromGitHub { |
||||||
owner = "smartystreets"; |
owner = "smartystreets"; |
||||||
repo = "goconvey"; |
repo = "goconvey"; |
||||||
rev = version; |
rev = "v${version}"; |
||||||
sha256 = "1ph18rkl3ns3fgin5i4j54w5a69grrmf3apcsmnpdn1wlrbs3dxh"; |
sha256 = "sha256-YT9M9VaLIGUo6pdkaLWLtomcjrDqdnOqwl+C9UwDmT8="; |
||||||
}; |
}; |
||||||
|
|
||||||
|
vendorSha256 = "sha256-sHyK/4YdNCLCDjxjMKygWAVRnHZ1peYjYRYyEcqoe+E="; |
||||||
|
|
||||||
|
ldflags = [ "-s" "-w" ]; |
||||||
|
|
||||||
|
checkFlags = [ "-short" ]; |
||||||
|
|
||||||
meta = { |
meta = { |
||||||
description = "Go testing in the browser. Integrates with `go test`. Write behavioral tests in Go"; |
description = "Go testing in the browser. Integrates with `go test`. Write behavioral tests in Go"; |
||||||
homepage = "https://github.com/smartystreets/goconvey"; |
homepage = "https://github.com/smartystreets/goconvey"; |
||||||
maintainers = with lib.maintainers; [ vdemeester ]; |
|
||||||
license = lib.licenses.mit; |
license = lib.licenses.mit; |
||||||
|
maintainers = with lib.maintainers; [ vdemeester ]; |
||||||
}; |
}; |
||||||
} |
} |
||||||
|
@ -1,20 +0,0 @@ |
|||||||
[ |
|
||||||
{ |
|
||||||
goPackagePath = "github.com/jtolds/gls"; |
|
||||||
fetch = { |
|
||||||
type = "git"; |
|
||||||
url = "https://github.com/jtolds/gls"; |
|
||||||
rev = "77f18212c9c7edc9bd6a33d383a7b545ce62f064"; |
|
||||||
sha256 = "1vm37pvn0k4r6d3m620swwgama63laz8hhj3pyisdhxwam4m2g1h"; |
|
||||||
}; |
|
||||||
} |
|
||||||
{ |
|
||||||
goPackagePath = "github.com/smartystreets/assertions"; |
|
||||||
fetch = { |
|
||||||
type = "git"; |
|
||||||
url = "https://github.com/smartystreets/assertions"; |
|
||||||
rev = "0b37b35ec7434b77e77a4bb29b79677cced992ea"; |
|
||||||
sha256 = "1j0adgbykl55rf2945g0n5bmqdsnjcqlx5dcmpfh4chki43hiwg9"; |
|
||||||
}; |
|
||||||
} |
|
||||||
] |
|
@ -1,13 +1,26 @@ |
|||||||
{ buildDunePackage, js_of_ocaml-compiler |
{ lib, buildDunePackage, fetchFromGitHub |
||||||
, ocamlbuild |
, ocamlbuild |
||||||
}: |
}: |
||||||
|
|
||||||
buildDunePackage { |
buildDunePackage rec { |
||||||
pname = "js_of_ocaml-ocamlbuild"; |
pname = "js_of_ocaml-ocamlbuild"; |
||||||
|
version = "4.0.0"; |
||||||
inherit (js_of_ocaml-compiler) version src meta useDune2; |
|
||||||
|
|
||||||
minimalOCamlVersion = "4.02"; |
minimalOCamlVersion = "4.02"; |
||||||
|
|
||||||
|
src = fetchFromGitHub { |
||||||
|
owner = "ocsigen"; |
||||||
|
repo = pname; |
||||||
|
rev = "852302c8f35b946e2ec275c529a79e46d8749be6"; |
||||||
|
sha256 = "sha256:03ayvakvbh4wi4dwcgd7r9y8ka8cv3d59hb81yk2dxyd94bln145"; |
||||||
|
}; |
||||||
|
|
||||||
propagatedBuildInputs = [ ocamlbuild ]; |
propagatedBuildInputs = [ ocamlbuild ]; |
||||||
|
|
||||||
|
meta = { |
||||||
|
description = "An ocamlbuild plugin to compile to JavaScript"; |
||||||
|
license = lib.licenses.lgpl2Only; |
||||||
|
maintainers = [ lib.maintainers.vbgl ]; |
||||||
|
inherit (src.meta) homepage; |
||||||
|
}; |
||||||
} |
} |
||||||
|
@ -0,0 +1,47 @@ |
|||||||
|
{ lib |
||||||
|
, fetchFromGitHub |
||||||
|
, python3 |
||||||
|
}: |
||||||
|
|
||||||
|
python3.pkgs.buildPythonApplication rec { |
||||||
|
pname = "erosmb"; |
||||||
|
version = "0.1.1"; |
||||||
|
format = "pyproject"; |
||||||
|
|
||||||
|
src = fetchFromGitHub { |
||||||
|
owner = "viktor02"; |
||||||
|
repo = "EroSmb"; |
||||||
|
rev = "v${version}"; |
||||||
|
hash = "sha256-d7iSl7weIHWXDnMYQKxafVd5JrZ0fnuWRDpEirBVdcg="; |
||||||
|
}; |
||||||
|
|
||||||
|
propagatedBuildInputs = with python3.pkgs; [ |
||||||
|
chardet |
||||||
|
colorama |
||||||
|
cryptography |
||||||
|
impacket |
||||||
|
ldap3 |
||||||
|
ldapdomaindump |
||||||
|
pyasn1 |
||||||
|
setuptools |
||||||
|
six |
||||||
|
]; |
||||||
|
|
||||||
|
# Project has no tests |
||||||
|
doCheck = false; |
||||||
|
|
||||||
|
doInstallCheck = true; |
||||||
|
|
||||||
|
installCheckPhase = '' |
||||||
|
runHook preInstallCheck |
||||||
|
$out/bin/erosmb --help |
||||||
|
runHook postInstallCheck |
||||||
|
''; |
||||||
|
|
||||||
|
meta = with lib; { |
||||||
|
description = "SMB network scanner"; |
||||||
|
homepage = "https://github.com/viktor02/EroSmb"; |
||||||
|
license = with licenses; [ mit ]; |
||||||
|
maintainers = with maintainers; [ fab ]; |
||||||
|
}; |
||||||
|
} |
@ -0,0 +1,37 @@ |
|||||||
|
{ lib |
||||||
|
, fetchFromGitHub |
||||||
|
, python3 |
||||||
|
}: |
||||||
|
|
||||||
|
python3.pkgs.buildPythonApplication rec { |
||||||
|
pname = "swaggerhole"; |
||||||
|
version = "1.1"; |
||||||
|
format = "setuptools"; |
||||||
|
|
||||||
|
src = fetchFromGitHub { |
||||||
|
owner = "Liodeus"; |
||||||
|
repo = pname; |
||||||
|
# Source is not tagged at the moment, https://github.com/Liodeus/swaggerHole/issues/2 |
||||||
|
rev = "14846406fbd0f145d71ad51c3b87f383e4afbc3b"; |
||||||
|
hash = "sha256-3HmIpn1A86PXZRL+SqMdr84O16hW1mCUWHKnOVolmx8="; |
||||||
|
}; |
||||||
|
|
||||||
|
propagatedBuildInputs = with python3.pkgs; [ |
||||||
|
requests |
||||||
|
whispers |
||||||
|
]; |
||||||
|
|
||||||
|
# Project has no tests |
||||||
|
doCheck = false; |
||||||
|
|
||||||
|
pythonImportsCheck = [ |
||||||
|
"swaggerhole" |
||||||
|
]; |
||||||
|
|
||||||
|
meta = with lib; { |
||||||
|
description = "Tool to searching for secret on swaggerhub"; |
||||||
|
homepage = "https://github.com/Liodeus/swaggerHole"; |
||||||
|
license = with licenses; [ gpl3Plus ]; |
||||||
|
maintainers = with maintainers; [ fab ]; |
||||||
|
}; |
||||||
|
} |
@ -0,0 +1,44 @@ |
|||||||
|
{ lib |
||||||
|
, fetchFromGitHub |
||||||
|
, python3 |
||||||
|
}: |
||||||
|
|
||||||
|
python3.pkgs.buildPythonApplication rec { |
||||||
|
pname = "trueseeing"; |
||||||
|
version = "2.1.4"; |
||||||
|
format = "flit"; |
||||||
|
|
||||||
|
src = fetchFromGitHub { |
||||||
|
owner = "alterakey"; |
||||||
|
repo = pname; |
||||||
|
rev = "v${version}"; |
||||||
|
hash = "sha256-zc0AOv7OFmEPLl//eykbh538rM2j4kXBLHt5bgK1IRY="; |
||||||
|
}; |
||||||
|
|
||||||
|
nativeBuildInputs = with python3.pkgs; [ |
||||||
|
flit-core |
||||||
|
]; |
||||||
|
|
||||||
|
propagatedBuildInputs = with python3.pkgs; [ |
||||||
|
attrs |
||||||
|
ipython |
||||||
|
jinja2 |
||||||
|
lxml |
||||||
|
pypubsub |
||||||
|
pyyaml |
||||||
|
]; |
||||||
|
|
||||||
|
# Project has no tests |
||||||
|
doCheck = false; |
||||||
|
|
||||||
|
pythonImportsCheck = [ |
||||||
|
"trueseeing" |
||||||
|
]; |
||||||
|
|
||||||
|
meta = with lib; { |
||||||
|
description = "Non-decompiling Android vulnerability scanner"; |
||||||
|
homepage = "https://github.com/alterakey/trueseeing"; |
||||||
|
license = with licenses; [ gpl3Plus ]; |
||||||
|
maintainers = with maintainers; [ fab ]; |
||||||
|
}; |
||||||
|
} |
Loading…
Reference in new issue