Commit 753e58e9 authored by Phillip Seeber's avatar Phillip Seeber
Browse files

python3Packages.dftd4: init at 3.7.0

parent 9f622b73
Loading
Loading
Loading
Loading
+45 −0
Original line number Diff line number Diff line
{
  buildPythonPackage,
  meson-python,
  ninja,
  setuptools,
  pkg-config,
  dftd4,
  cffi,
  numpy,
}:

buildPythonPackage {
  inherit (dftd4)
    pname
    version
    src
    meta
    ;

  pyproject = true;

  buildInputs = [ dftd4 ];

  nativeBuildInputs = [
    pkg-config
    ninja
  ];

  build-system = [
    meson-python
    setuptools
  ];

  dependencies = [
    cffi
    numpy
  ];

  preConfigure = ''
    cd python
  '';

  pythonImportsCheck = [ "dftd4" ];
  doCheck = true;
}
+4 −0
Original line number Diff line number Diff line
@@ -3653,6 +3653,10 @@ self: super: with self; {
  dfdiskcache = callPackage ../development/python-modules/dfdiskcache { };
  dftd4 = callPackage ../by-name/df/dftd4/python.nix {
    inherit (pkgs) dftd4;
  };
  diagrams = callPackage ../development/python-modules/diagrams { };
  diceware = callPackage ../development/python-modules/diceware { };