Merge pull request #150478 from fabaff/migrate-uddup

udduup: migrate to new Python app style
This commit is contained in:
Pavol Rusnak 2022-01-05 16:50:06 +01:00 committed by GitHub
commit 18717ac0a9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 8 deletions

View file

@ -1,13 +1,12 @@
{ lib
, buildPythonApplication
, colorama
, fetchFromGitHub
, pytestCheckHook
, python3
}:
buildPythonApplication rec {
python3.pkgs.buildPythonApplication rec {
pname = "uddup";
version = "0.9.3";
format = "setuptools";
src = fetchFromGitHub {
owner = "rotemreiss";
@ -16,15 +15,17 @@ buildPythonApplication rec {
sha256 = "1f5dm3772hiik9irnyvbs7wygcafbwi7czw3b47cwhb90b8fi5hg";
};
propagatedBuildInputs = [
propagatedBuildInputs = with python3.pkgs; [
colorama
];
checkInputs = [
checkInputs = with python3.pkgs; [
pytestCheckHook
];
pythonImportsCheck = [ "uddup" ];
pythonImportsCheck = [
"uddup"
];
meta = with lib; {
description = "Tool for de-duplication URLs";

View file

@ -15595,7 +15595,7 @@ with pkgs;
inherit (darwin.apple_sdk.frameworks) CoreFoundation;
};
uddup = python3Packages.callPackage ../tools/security/uddup { };
uddup = callPackage ../tools/security/uddup { };
udis86 = callPackage ../development/tools/udis86 { };