udduup: migrate to new Python app style
This commit is contained in:
parent
5e4feb3c2d
commit
3abb28c6cb
|
@ -1,13 +1,12 @@
|
||||||
{ lib
|
{ lib
|
||||||
, buildPythonApplication
|
|
||||||
, colorama
|
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, pytestCheckHook
|
, python3
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonApplication rec {
|
python3.pkgs.buildPythonApplication rec {
|
||||||
pname = "uddup";
|
pname = "uddup";
|
||||||
version = "0.9.3";
|
version = "0.9.3";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "rotemreiss";
|
owner = "rotemreiss";
|
||||||
|
@ -16,15 +15,17 @@ buildPythonApplication rec {
|
||||||
sha256 = "1f5dm3772hiik9irnyvbs7wygcafbwi7czw3b47cwhb90b8fi5hg";
|
sha256 = "1f5dm3772hiik9irnyvbs7wygcafbwi7czw3b47cwhb90b8fi5hg";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = with python3.pkgs; [
|
||||||
colorama
|
colorama
|
||||||
];
|
];
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = with python3.pkgs; [
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [ "uddup" ];
|
pythonImportsCheck = [
|
||||||
|
"uddup"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Tool for de-duplication URLs";
|
description = "Tool for de-duplication URLs";
|
||||||
|
|
|
@ -15479,7 +15479,7 @@ with pkgs;
|
||||||
inherit (darwin.apple_sdk.frameworks) CoreFoundation;
|
inherit (darwin.apple_sdk.frameworks) CoreFoundation;
|
||||||
};
|
};
|
||||||
|
|
||||||
uddup = python3Packages.callPackage ../tools/security/uddup { };
|
uddup = callPackage ../tools/security/uddup { };
|
||||||
|
|
||||||
udis86 = callPackage ../development/tools/udis86 { };
|
udis86 = callPackage ../development/tools/udis86 { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue