lib.packagesFromDirectoryRecursive: Improved documentation (#359898)
[NixPkgs.git] / pkgs / by-name / pl / plecost / package.nix
blob477ed9e82645bb16216eaefb31c900d048e2f3cb
1 { lib, python3Packages, fetchFromGitHub, fetchpatch }:
3 python3Packages.buildPythonApplication rec {
4   pname = "plecost";
5   version = "1.1.4";
7   src = fetchFromGitHub {
8     owner = "iniqua";
9     repo = pname;
10     # Release is untagged
11     rev = "aa40e504bee95cf731f0cc9f228bcf5fdfbe6194";
12     sha256 = "K8ESI2EOqH9zBDfSKgVcTKjCMdRhBiwltIbXDt1vF+M=";
13   };
15   patches = [
16     # Fix compatibility with aiohttp 3.x
17     # Merged - pending next release
18     (fetchpatch {
19       url = "https://github.com/iniqua/plecost/pull/34/commits/c09e7fab934f136f8fbc5f219592cf5fec151cf9.patch";
20       sha256 = "sha256-G7Poo3+d+PQTrg8PCrmsG6nMHt8CXgiuAu+ZNvK8oiw=";
21     })
22   ];
24   propagatedBuildInputs = with python3Packages; [
25     aiohttp
26     async-timeout
27     termcolor
28     lxml
29   ];
31   # Project has no tests
32   doCheck = false;
34   meta = with lib; {
35     description = "Vulnerability fingerprinting and vulnerability finder for Wordpress blog engine";
36     mainProgram = "plecost";
37     homepage = "https://github.com/iniqua/plecost";
38     license = licenses.bsd3;
39     maintainers = with maintainers; [ emilytrau ];
40   };