2021-03-12 07:09:13 +00:00
|
|
|
{ lib
|
|
|
|
, fetchFromGitHub
|
2022-01-07 04:07:37 +00:00
|
|
|
, python3
|
2021-03-12 07:09:13 +00:00
|
|
|
}:
|
|
|
|
|
2022-01-07 04:07:37 +00:00
|
|
|
python3.pkgs.buildPythonApplication rec {
|
2021-03-12 07:09:13 +00:00
|
|
|
pname = "uddup";
|
|
|
|
version = "0.9.3";
|
2022-01-07 04:07:37 +00:00
|
|
|
format = "setuptools";
|
2021-03-12 07:09:13 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "rotemreiss";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1f5dm3772hiik9irnyvbs7wygcafbwi7czw3b47cwhb90b8fi5hg";
|
|
|
|
};
|
|
|
|
|
2022-01-07 04:07:37 +00:00
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
2021-03-12 07:09:13 +00:00
|
|
|
colorama
|
|
|
|
];
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = with python3.pkgs; [
|
2021-03-12 07:09:13 +00:00
|
|
|
pytestCheckHook
|
|
|
|
];
|
|
|
|
|
2022-01-07 04:07:37 +00:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"uddup"
|
|
|
|
];
|
2021-03-12 07:09:13 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Tool for de-duplication URLs";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "uddup";
|
2021-03-12 07:09:13 +00:00
|
|
|
homepage = "https://github.com/rotemreiss/uddup";
|
|
|
|
license = with licenses; [ mit ];
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|