about summary refs log tree commit diff
path: root/pkgs/tools/security/uddup
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2021-03-10 08:46:34 +0100
committerFabian Affolter <mail@fabian-affolter.ch>2021-03-10 08:46:34 +0100
commit01bfce3a8d862b90bd3bc726ebc0d0a10215ec03 (patch)
tree7dbedf67b19c167f25d3e6e0228420adb9607057 /pkgs/tools/security/uddup
parentaf6037b338b5aec2f10d3b8afbdfb3116077497d (diff)
uddup: init at 0.9.3
Diffstat (limited to 'pkgs/tools/security/uddup')
-rw-r--r--pkgs/tools/security/uddup/default.nix35
1 files changed, 35 insertions, 0 deletions
diff --git a/pkgs/tools/security/uddup/default.nix b/pkgs/tools/security/uddup/default.nix
new file mode 100644
index 0000000000000..60c3609738d98
--- /dev/null
+++ b/pkgs/tools/security/uddup/default.nix
@@ -0,0 +1,35 @@
+{ lib
+, buildPythonApplication
+, colorama
+, fetchFromGitHub
+, pytestCheckHook
+}:
+
+buildPythonApplication rec {
+  pname = "uddup";
+  version = "0.9.3";
+
+  src = fetchFromGitHub {
+    owner = "rotemreiss";
+    repo = pname;
+    rev = "v${version}";
+    sha256 = "1f5dm3772hiik9irnyvbs7wygcafbwi7czw3b47cwhb90b8fi5hg";
+  };
+
+  propagatedBuildInputs = [
+    colorama
+  ];
+
+  checkInputs = [
+    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 ];
+  };
+}