Loading pkgs/development/python-modules/pystatgrab/default.nix +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 { Loading Loading @@ -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 ]; }; Loading Loading
pkgs/development/python-modules/pystatgrab/default.nix +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 { Loading Loading @@ -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 ]; }; Loading