Merge pull request #250422 from azahi/cambrinary

cambrinary: init at unstable-2023-07-16
This commit is contained in:
Nick Cao 2023-08-22 07:45:20 +08:00 committed by GitHub
commit 4e772ffa96
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 36 additions and 0 deletions

View file

@ -0,0 +1,34 @@
{ lib
, buildPythonApplication
, fetchFromGitHub
, aiohttp
, beautifulsoup4
}:
buildPythonApplication rec {
pname = "cambrinary";
version = "unstable-2023-07-16";
format = "flit";
src = fetchFromGitHub {
owner = "xueyuanl";
repo = "cambrinary";
rev = "f0792ef70654a48a7677b6e1a7dee454b2c0971c";
hash = "sha256-wDcvpKAY/6lBjO5h3qKH3+Y2G2gm7spcKCXFMt/bAtE=";
};
propagatedBuildInputs = [
aiohttp
beautifulsoup4
];
pythonImportsCheck = [ "cambrinary" ];
meta = with lib; {
description = "Cambridge dictionary in a terminal";
homepage = "https://github.com/xueyuanl/cambrinary";
license = licenses.gpl3Only;
platforms = platforms.unix;
maintainers = with maintainers; [ azahi ];
};
}

View file

@ -4775,6 +4775,8 @@ with pkgs;
cambalache = callPackage ../development/tools/cambalache { };
cambrinary = python3Packages.callPackage ../applications/misc/cambrinary { };
changedetection-io = callPackage ../servers/web-apps/changedetection-io { };
clini = callPackage ../tools/misc/clini { };