Unverified Commit 3d168789 authored by OTABI Tomoya's avatar OTABI Tomoya Committed by GitHub
Browse files

python3Packages.dtfabric: init at 20230520 (#388306)

parents 0f27c616 84b4273c
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -11007,6 +11007,12 @@
    githubId = 5579359;
    name = "Jason Yundt";
  };
  jayrovacsek = {
    email = "nixpkgs@jay.rovacsek.com";
    github = "JayRovacsek";
    githubId = 29395089;
    name = "Jay Rovacsek";
  };
  jb55 = {
    email = "jb55@jb55.com";
    github = "jb55";
+43 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchPypi,
  python,
  pyyaml,
  setuptools,
}:
buildPythonPackage rec {
  pname = "dtfabric";
  version = "20230520";
  pyproject = true;

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-rJPBEe/eAQ7OPPZHeFbomkb8ca3WTheDhs/ic6GohVM=";
  };

  build-system = [ setuptools ];

  dependencies = [
    pyyaml
  ];

  pythonRemoveDeps = [
    "pip"
  ];

  checkPhase = ''
    runHook preCheck
    ${python.interpreter} run_tests.py
    runHook postCheck
  '';

  meta = {
    changelog = "https://github.com/libyal/dtfabric/releases/tag/${version}";
    description = "Project to manage data types and structures, as used in the libyal projects";
    downloadPage = "https://github.com/libyal/dtfabric/releases";
    homepage = "https://github.com/libyal/dtfabric";
    license = lib.licenses.asl20;
    maintainers = [ lib.maintainers.jayrovacsek ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -4196,6 +4196,8 @@ self: super: with self; {
  dsnap = callPackage ../development/python-modules/dsnap { };
  dtfabric = callPackage ../development/python-modules/dtfabric { };
  dtlssocket = callPackage ../development/python-modules/dtlssocket { };
  dtschema = callPackage ../development/python-modules/dtschema { };