evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / construct-classes / default.nix
bloba89f8f030a0e151649fd7fa41c187fad2a3b5380
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   poetry-core,
6   construct,
7   pytestCheckHook,
8 }:
10 buildPythonPackage rec {
11   pname = "construct-classes";
12   version = "0.1.2";
13   format = "pyproject";
15   # no tests in PyPI tarball
16   src = fetchFromGitHub {
17     owner = "matejcik";
18     repo = "construct-classes";
19     rev = "v${version}";
20     hash = "sha256-l4sVacKTuQbhXCw2lVHCl1OzpCiKmEAm9nSQ8pxFuTo=";
21   };
23   nativeBuildInputs = [ poetry-core ];
25   propagatedBuildInputs = [ construct ];
27   nativeCheckInputs = [ pytestCheckHook ];
29   pythonImportsCheck = [ "construct_classes" ];
31   meta = with lib; {
32     description = "Parse your binary data into dataclasses";
33     homepage = "https://github.com/matejcik/construct-classes";
34     license = licenses.mit;
35     maintainers = with maintainers; [ prusnak ];
36   };