python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / tools / security / erosmb / default.nix
blob0a40fa7d6674f0ce3b70f53122ab0e7f75880a6d
1 { lib
2 , fetchFromGitHub
3 , python3
4 }:
6 python3.pkgs.buildPythonApplication rec {
7   pname = "erosmb";
8   version = "0.1.2";
9   format = "pyproject";
11   src = fetchFromGitHub {
12     owner = "viktor02";
13     repo = "EroSmb";
14     rev = "refs/tags/v${version}";
15     hash = "sha256-H3ozc1DXBdXlqEg53eVGGTqK6m2eiY+Qtl0Ul3lUByk=";
16   };
18   propagatedBuildInputs = with python3.pkgs; [
19     chardet
20     colorama
21     cryptography
22     impacket
23     ldap3
24     ldapdomaindump
25     pyasn1
26     setuptools
27     six
28   ];
30   # Project has no tests
31   doCheck = false;
33   doInstallCheck = true;
35   installCheckPhase = ''
36     runHook preInstallCheck
37     $out/bin/erosmb --help
38     runHook postInstallCheck
39   '';
41   meta = with lib; {
42     description = "SMB network scanner";
43     homepage = "https://github.com/viktor02/EroSmb";
44     license = with licenses; [ mit ];
45     maintainers = with maintainers; [ fab ];
46   };