Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, python3Packages, fetchFromGitHub }:
2
3python3Packages.buildPythonApplication rec {
4 pname = "parsero";
5 version = "0.81";
6
7 src = fetchFromGitHub {
8 owner = "behindthefirewalls";
9 repo = pname;
10 rev = "e5b585a19b79426975a825cafa4cc8a353cd267e";
11 sha256 = "rqupeJxslL3AfQ+CzBWRb4ZS32VoYd8hlA+eACMKGPY=";
12 };
13
14 propagatedBuildInputs = with python3Packages; [
15 beautifulsoup4
16 urllib3
17 ];
18
19 # Project has no tests
20 doCheck = false;
21
22 meta = with lib; {
23 description = "Robots.txt audit tool";
24 homepage = "https://github.com/behindthefirewalls/Parsero";
25 license = licenses.gpl2Only;
26 maintainers = with maintainers; [ emilytrau fab ];
27 };
28}