about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/security/uddup/default.nix
blob: 3516b4dcff8d5c3d40dcbc759d76b3ab274cf3c8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{ lib
, fetchFromGitHub
, python3
}:

python3.pkgs.buildPythonApplication rec {
  pname = "uddup";
  version = "0.9.3";
  format = "setuptools";

  src = fetchFromGitHub {
    owner = "rotemreiss";
    repo = pname;
    rev = "v${version}";
    sha256 = "1f5dm3772hiik9irnyvbs7wygcafbwi7czw3b47cwhb90b8fi5hg";
  };

  propagatedBuildInputs = with python3.pkgs; [
    colorama
  ];

  nativeCheckInputs = with python3.pkgs; [
    pytestCheckHook
  ];

  pythonImportsCheck = [
    "uddup"
  ];

  meta = with lib; {
    description = "Tool for de-duplication URLs";
    homepage = "https://github.com/rotemreiss/uddup";
    license = with licenses; [ mit ];
    maintainers = with maintainers; [ fab ];
  };
}