nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 gitpython,
6 requests,
7 setuptools,
8}:
9
10buildPythonPackage (finalAttrs: {
11 pname = "pyexploitdb";
12 version = "0.3.11";
13 pyproject = true;
14
15 src = fetchPypi {
16 inherit (finalAttrs) pname version;
17 hash = "sha256-SKIGVjgNhM22Ia/ZxZD5uwFiE4XcYmnKMvNG/KGltYw=";
18 };
19
20 build-system = [ setuptools ];
21
22 dependencies = [
23 gitpython
24 requests
25 ];
26
27 # Module has no tests
28 doCheck = false;
29
30 pythonImportsCheck = [ "pyexploitdb" ];
31
32 meta = {
33 description = "Library to fetch the most recent exploit-database";
34 homepage = "https://github.com/Hackman238/pyExploitDb";
35 changelog = "https://github.com/Hackman238/pyExploitDb/blob/master/ChangeLog.md";
36 license = lib.licenses.gpl3Plus;
37 maintainers = with lib.maintainers; [ fab ];
38 };
39})