evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / pueblo / default.nix
blobbbc2d480d9242aaf661db7f1a8443df723be7e8a
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   setuptools,
6   versioningit,
7   platformdirs,
8 }:
10 buildPythonPackage rec {
11   pname = "pueblo";
12   version = "0.0.9";
13   pyproject = true;
15   # This tarball doesn't include tests unfortuneatly, and the GitHub tarball
16   # could have been an alternative, but versioningit fails to detect the
17   # version of it correctly, even with setuptools-scm and
18   # SETUPTOOLS_SCM_PRETEND_VERSION = version added. Since this is a pure Python
19   # package, we can rely on upstream to run the tests before releasing, and it
20   # should work for us as well.
21   src = fetchPypi {
22     inherit pname version;
23     hash = "sha256-Ea5tzutZtuf1a5s46JJND6ovKi3C5UruR8e1RZucPRc=";
24   };
26   nativeBuildInputs = [
27     setuptools
28     versioningit
29   ];
31   propagatedBuildInputs = [
32     #  contextlib-chdir
33     #  importlib-metadata
34     platformdirs
35   ];
37   pythonImportsCheck = [ "pueblo" ];
39   meta = with lib; {
40     description = "Pueblo - a Python toolbox library";
41     homepage = "https://pypi.org/project/pueblo/";
42     license = licenses.lgpl3Only;
43     maintainers = with maintainers; [ doronbehar ];
44   };