python3Packages.construct-classes: init at 0.1.2
This commit is contained in:
parent
011e62ddd7
commit
29ea368e3c
|
@ -0,0 +1,41 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, poetry-core
|
||||
, construct
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "construct-classes";
|
||||
version = "0.1.2";
|
||||
format = "pyproject";
|
||||
|
||||
# no tests in PyPI tarball
|
||||
src = fetchFromGitHub {
|
||||
owner = "matejcik";
|
||||
repo = "construct-classes";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-l4sVacKTuQbhXCw2lVHCl1OzpCiKmEAm9nSQ8pxFuTo=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
construct
|
||||
];
|
||||
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "construct_classes" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Parse your binary data into dataclasses.";
|
||||
homepage = "https://github.com/matejcik/construct-classes";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ prusnak ];
|
||||
};
|
||||
}
|
|
@ -1928,6 +1928,8 @@ self: super: with self; {
|
|||
|
||||
construct = callPackage ../development/python-modules/construct { };
|
||||
|
||||
construct-classes = callPackage ../development/python-modules/construct-classes { };
|
||||
|
||||
consul = callPackage ../development/python-modules/consul { };
|
||||
|
||||
container-inspector = callPackage ../development/python-modules/container-inspector { };
|
||||
|
|
Loading…
Reference in a new issue