mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +00:00
duden: init at 0.18.0
This commit is contained in:
parent
3dc1645883
commit
9ba06d5e2f
40
pkgs/applications/misc/duden/default.nix
Normal file
40
pkgs/applications/misc/duden/default.nix
Normal file
@ -0,0 +1,40 @@
|
||||
{ lib
|
||||
, python3
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
python3.pkgs.buildPythonPackage rec {
|
||||
pname = "duden";
|
||||
version = "0.18.0";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "radomirbosak";
|
||||
repo = "duden";
|
||||
rev = version;
|
||||
hash = "sha256-ZrarN09Znw4m6YiZxD7q7dTJ49WjmHDobLnOt8JCwvc=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
python3.pkgs.poetry-core
|
||||
];
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
beautifulsoup4
|
||||
crayons
|
||||
pyxdg
|
||||
pyyaml
|
||||
requests
|
||||
setuptools
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "duden" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "CLI for http://duden.de dictionary written in Python";
|
||||
homepage = "https://github.com/radomirbosak/duden";
|
||||
changelog = "https://github.com/radomirbosak/duden/blob/${src.rev}/CHANGELOG.md";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
@ -39463,4 +39463,6 @@ with pkgs;
|
||||
ali = callPackage ../tools/networking/ali { };
|
||||
|
||||
udict = callPackage ../applications/misc/udict { };
|
||||
|
||||
duden = callPackage ../applications/misc/duden { };
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user