Merge pull request #150478 from fabaff/migrate-uddup
udduup: migrate to new Python app style
This commit is contained in:
commit
18717ac0a9
2 changed files with 9 additions and 8 deletions
|
@ -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";
|
||||
|
|
|
@ -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 { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue