Merge pull request #241711 from Thornycrackers-Forks/python310Packages.pystardict
python310Packages.pystardict: init at 0.8
This commit is contained in:
commit
a9888c7006
39
pkgs/development/python-modules/pystardict/default.nix
Normal file
39
pkgs/development/python-modules/pystardict/default.nix
Normal file
@ -0,0 +1,39 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, setuptools
|
||||
, setuptools-scm
|
||||
, six
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pystardict";
|
||||
version = "0.8";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "lig";
|
||||
repo = "pystardict";
|
||||
rev = version;
|
||||
hash = "sha256-YrZpIhyxfA3G7rP0SJ+EvzGwAXlne80AYilkj6cIDnA=";
|
||||
};
|
||||
|
||||
env.SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
||||
|
||||
propagatedBuildInputs = [ six ];
|
||||
|
||||
nativeBuildInputs = [ setuptools setuptools-scm ];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "pystardict" ];
|
||||
|
||||
meta = with lib; {
|
||||
description =
|
||||
"Library for manipulating StarDict dictionaries from within Python";
|
||||
homepage = "https://github.com/lig/pystardict";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ thornycrackers ];
|
||||
};
|
||||
}
|
@ -9652,6 +9652,8 @@ self: super: with self; {
|
||||
|
||||
pystache = callPackage ../development/python-modules/pystache { };
|
||||
|
||||
pystardict = callPackage ../development/python-modules/pystardict { };
|
||||
|
||||
pystemd = callPackage ../development/python-modules/pystemd {
|
||||
inherit (pkgs) systemd;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user