evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / by-name / sm / smbclient-ng / package.nix
blobe68043cafa23b12d3f966435d810e22524775db8
2   lib,
3   fetchFromGitHub,
4   python3,
5 }:
7 python3.pkgs.buildPythonApplication rec {
8   pname = "smbclient-ng";
9   version = "2.1.6";
10   pyproject = true;
12   src = fetchFromGitHub {
13     owner = "p0dalirius";
14     repo = "smbclient-ng";
15     rev = "refs/tags/${version}";
16     hash = "sha256-T1OAiRL7AGMz12dFIPOESS77lVd62iaBt9vXCdzqJBQ=";
17   };
19   pythonRelaxDeps = [
20     "impacket"
21     "pefile"
22   ];
24   build-system = with python3.pkgs; [ poetry-core ];
26   dependencies = with python3.pkgs; [
27     charset-normalizer
28     impacket
29     pefile
30     rich
31   ];
33   pythonImportsCheck = [ "smbclientng" ];
35   meta = {
36     description = "Tool to interact with SMB shares";
37     homepage = "https://github.com/p0dalirius/smbclient-ng";
38     changelog = "https://github.com/p0dalirius/smbclient-ng/releases/tag/${version}";
39     license = lib.licenses.gpl3Only;
40     maintainers = with lib.maintainers; [ fab ];
41     mainProgram = "smbclientng";
42   };