Commit cb2a8487 authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python312Packages.pystatgrab: format with niixfmt

parent fb97a6ac
Loading
Loading
Loading
Loading
+20 −23
Original line number Diff line number Diff line
{ lib
, stdenv
, buildPythonPackage
, cython
, fetchFromGitHub
, libstatgrab
, pkg-config
, pythonOlder
, setuptools
, unittestCheckHook
, wheel
, darwin
{
  lib,
  stdenv,
  buildPythonPackage,
  cython,
  fetchFromGitHub,
  libstatgrab,
  pkg-config,
  pythonOlder,
  setuptools,
  unittestCheckHook,
  wheel,
  darwin,
}:

buildPythonPackage rec {
@@ -38,22 +39,18 @@ buildPythonPackage rec {

  buildInputs = [
    libstatgrab
  ] ++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [
    IOKit
  ]);
  ] ++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ IOKit ]);

  nativeCheckInputs = [
    unittestCheckHook
  ];
  nativeCheckInputs = [ unittestCheckHook ];

  pythonImportsCheck = [
    "statgrab"
  ];
  pythonImportsCheck = [ "statgrab" ];

  meta = with lib; {
    description = "Python bindings for libstatgrab";
    homepage = "https://github.com/libstatgrab/pystatgrab";
    changelog = "https://github.com/libstatgrab/pystatgrab/blob/PYSTATGRAB_${lib.replaceStrings ["."] ["_"] version}/NEWS";
    changelog = "https://github.com/libstatgrab/pystatgrab/blob/PYSTATGRAB_${
      lib.replaceStrings [ "." ] [ "_" ] version
    }/NEWS";
    license = licenses.lgpl21Only;
    maintainers = with maintainers; [ fab ];
  };