mirror of
https://github.com/milahu/nur-packages.git
synced 2024-10-05 23:27:32 +03:00
python3.pkgs.argostranslatehtml: remove
this is already in nixpkgs as python3.pkgs.translatehtml
This commit is contained in:
parent
9847e9adc7
commit
7dc919eb15
@ -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
|
||||
|
@ -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";
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user