commit
29e7966a7d
@ -1,7 +0,0 @@ |
||||
--- a/etc/inc/whitelist-run-common.inc.org 2022-05-07 11:27:32.264849186 +0200
|
||||
+++ b/etc/inc/whitelist-run-common.inc 2022-05-07 11:27:55.577778211 +0200
|
||||
@@ -13,3 +13,4 @@
|
||||
whitelist /run/systemd/resolve/resolv.conf
|
||||
whitelist /run/systemd/resolve/stub-resolv.conf
|
||||
whitelist /run/udev/data
|
||||
+whitelist /run/opengl-driver # NixOS
|
@ -1,9 +0,0 @@ |
||||
--- a/etc/inc/whitelist-common.inc.org 2022-05-06 13:57:17.294206339 +0200
|
||||
+++ b/etc/inc/whitelist-common.inc 2022-05-06 13:58:00.108655548 +0200
|
||||
@@ -83,3 +83,6 @@
|
||||
whitelist ${HOME}/.kde4/share/config/oxygenrc
|
||||
whitelist ${HOME}/.kde4/share/icons
|
||||
whitelist ${HOME}/.local/share/qt5ct
|
||||
+
|
||||
+# NixOS specific to resolve binary paths
|
||||
+whitelist ${HOME}/.nix-profile
|
@ -0,0 +1,35 @@ |
||||
{ lib |
||||
, fetchFromGitHub |
||||
, python3 |
||||
}: |
||||
|
||||
python3.pkgs.buildPythonApplication rec { |
||||
pname = "graphqlmap"; |
||||
version = "unstable-2022-01-17"; |
||||
format = "setuptools"; |
||||
|
||||
src = fetchFromGitHub { |
||||
owner = "swisskyrepo"; |
||||
repo = "GraphQLmap"; |
||||
rev = "98997bd7cf647aac7378b72913241060464749b1"; |
||||
hash = "sha256-lGnhNwtDc8KoPlwJ1p2FYq0NQ8PhSR3HgtluU7uxa/c="; |
||||
}; |
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [ |
||||
requests |
||||
]; |
||||
|
||||
# Tests are not available |
||||
doCheck = false; |
||||
|
||||
pythonImportsCheck = [ |
||||
"graphqlmap" |
||||
]; |
||||
|
||||
meta = with lib; { |
||||
description = "Tool to interact with a GraphQL endpoint"; |
||||
homepage = "https://github.com/swisskyrepo/GraphQLmap"; |
||||
license = licenses.mit; |
||||
maintainers = with maintainers; [ fab ]; |
||||
}; |
||||
} |
Loading…
Reference in new issue