python3.pkgs.argostranslatehtml: remove

this is already in nixpkgs as python3.pkgs.translatehtml
This commit is contained in:
Milan Hauth 2023-10-15 11:21:19 +02:00
parent 9847e9adc7
commit 7dc919eb15
2 changed files with 0 additions and 49 deletions

View File

@ -272,8 +272,6 @@ pkgs.lib.makeScope pkgs.newScope (self: let inherit (self) callPackage; in rec {
capstone-system = pkgs.capstone;
};
argostranslatehtml = callPackage ./pkgs/python3/pkgs/argostranslatehtml/argostranslatehtml.nix { };
#}))); # python3.pkgs
#}))); # python3

View File

@ -1,47 +0,0 @@
{ lib
, python3
, buildPythonApplication
, setuptools
, wheel
, argostranslate
, beautifulsoup4
, fetchFromGitHub
}:
buildPythonApplication rec {
pname = "argos-translate-html";
version = "unstable-2023-07-08";
pyproject = true;
src = fetchFromGitHub {
owner = "argosopentech";
repo = "translate-html";
rev = "d1bdce42901df22e40f29e42bc4fd5784e588ee5";
hash = "sha256-QOhjmQsfdLBjijjTt0WTkgRespGHeQKd4NpPd3dRr8Y=";
};
nativeBuildInputs = [
setuptools
wheel
];
propagatedBuildInputs = [
argostranslate
beautifulsoup4
];
pythonImportsCheck = [ "translatehtml" ];
# fix: PermissionError: [Errno 13] Permission denied: '/homeless-shelter'
preBuild = ''
export HOME=$TMP
'';
meta = with lib; {
description = "Translate HTML using Argos Translate";
homepage = "https://github.com/argosopentech/translate-html";
license = licenses.mit;
maintainers = with maintainers; [ ];
mainProgram = "translate-html";
};
}