udduup: migrate to new Python app style

+9 -8
+8 -7
pkgs/tools/security/uddup/default.nix
··· 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"; ··· 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";
··· 1 { lib 2 , fetchFromGitHub 3 + , python3 4 }: 5 6 + python3.pkgs.buildPythonApplication rec { 7 pname = "uddup"; 8 version = "0.9.3"; 9 + format = "setuptools"; 10 11 src = fetchFromGitHub { 12 owner = "rotemreiss"; ··· 15 sha256 = "1f5dm3772hiik9irnyvbs7wygcafbwi7czw3b47cwhb90b8fi5hg"; 16 }; 17 18 + propagatedBuildInputs = with python3.pkgs; [ 19 colorama 20 ]; 21 22 + checkInputs = with python3.pkgs; [ 23 pytestCheckHook 24 ]; 25 26 + pythonImportsCheck = [ 27 + "uddup" 28 + ]; 29 30 meta = with lib; { 31 description = "Tool for de-duplication URLs";
+1 -1
pkgs/top-level/all-packages.nix
··· 15479 inherit (darwin.apple_sdk.frameworks) CoreFoundation; 15480 }; 15481 15482 - uddup = python3Packages.callPackage ../tools/security/uddup { }; 15483 15484 udis86 = callPackage ../development/tools/udis86 { }; 15485
··· 15479 inherit (darwin.apple_sdk.frameworks) CoreFoundation; 15480 }; 15481 15482 + uddup = callPackage ../tools/security/uddup { }; 15483 15484 udis86 = callPackage ../development/tools/udis86 { }; 15485