texstudio: 4.8.4 -> 4.8.5 (#365076)
[NixPkgs.git] / pkgs / applications / misc / cambrinary / default.nix
blobc55007b6205ff1a5ecd8ba3440ef6d4a3bf59770
2   lib,
3   buildPythonApplication,
4   fetchFromGitHub,
5   flit,
6   aiohttp,
7   beautifulsoup4,
8 }:
10 buildPythonApplication rec {
11   pname = "cambrinary";
12   version = "unstable-2023-07-16";
13   format = "pyproject";
15   src = fetchFromGitHub {
16     owner = "xueyuanl";
17     repo = "cambrinary";
18     rev = "f0792ef70654a48a7677b6e1a7dee454b2c0971c";
19     hash = "sha256-wDcvpKAY/6lBjO5h3qKH3+Y2G2gm7spcKCXFMt/bAtE=";
20   };
22   nativeBuildInputs = [
23     flit
24   ];
26   propagatedBuildInputs = [
27     aiohttp
28     beautifulsoup4
29   ];
31   pythonImportsCheck = [ "cambrinary" ];
33   meta = with lib; {
34     description = "Cambridge dictionary in a terminal";
35     mainProgram = "cambrinary";
36     homepage = "https://github.com/xueyuanl/cambrinary";
37     license = licenses.gpl3Only;
38     platforms = platforms.unix;
39     maintainers = with maintainers; [ azahi ];
40   };