about summary refs log tree commit diff
path: root/pkgs/tools/security/parsero
diff options
context:
space:
mode:
authorEmily Trau <me@angus.ws>2022-08-03 16:17:19 +1000
committerEmily Trau <me@angus.ws>2022-08-03 16:17:19 +1000
commit932204d39fea4fc58947d8e2eee8194776f55e14 (patch)
treec6dceb491c5a59bfa8c2f44663a7df635cb311b9 /pkgs/tools/security/parsero
parent438b4d640849065b6abf81e8c8775e4fdf9533b3 (diff)
parsero: init at 0.81
Diffstat (limited to 'pkgs/tools/security/parsero')
-rw-r--r--pkgs/tools/security/parsero/default.nix28
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/tools/security/parsero/default.nix b/pkgs/tools/security/parsero/default.nix
new file mode 100644
index 0000000000000..a8cd9c39eb134
--- /dev/null
+++ b/pkgs/tools/security/parsero/default.nix
@@ -0,0 +1,28 @@
+{ lib, python3Packages, fetchFromGitHub }:
+
+python3Packages.buildPythonApplication rec {
+  pname = "parsero";
+  version = "0.81";
+
+  src = fetchFromGitHub {
+    owner = "behindthefirewalls";
+    repo = pname;
+    rev = "e5b585a19b79426975a825cafa4cc8a353cd267e";
+    sha256 = "rqupeJxslL3AfQ+CzBWRb4ZS32VoYd8hlA+eACMKGPY=";
+  };
+
+  propagatedBuildInputs = with python3Packages; [
+    beautifulsoup4
+    urllib3
+  ];
+
+  # Project has no tests
+  doCheck = false;
+
+  meta = with lib; {
+    description = "Robots.txt audit tool";
+    homepage = "https://github.com/behindthefirewalls/Parsero";
+    license = licenses.gpl2Only;
+    maintainers = with maintainers; [ emilytrau fab ];
+  };
+}