@@ -0,0 +1,35 @@
1+{ lib
2+, buildPythonApplication
3+, colorama
4+, fetchFromGitHub
5+, pytestCheckHook
6+}:
7+
8+buildPythonApplication rec {
9+ pname = "uddup";
10+ version = "0.9.3";
11+
12+ src = fetchFromGitHub {
13+ owner = "rotemreiss";
14+ repo = pname;
15+ rev = "v${version}";
16+ sha256 = "1f5dm3772hiik9irnyvbs7wygcafbwi7czw3b47cwhb90b8fi5hg";
17+ };
18+
19+ propagatedBuildInputs = [
20+ colorama
21+ ];
22+
23+ checkInputs = [
24+ pytestCheckHook
25+ ];
26+
27+ pythonImportsCheck = [ "uddup" ];
28+
29+ meta = with lib; {
30+ description = "Tool for de-duplication URLs";
31+ homepage = "https://github.com/rotemreiss/uddup";
32+ license = with licenses; [ mit ];
33+ maintainers = with maintainers; [ fab ];
34+ };
35+}