Merge pull request #175711 from r-ryantm/auto-update/python3.10-sdds

python310Packages.sdds: 0.2.1 -> 0.3.0
This commit is contained in:
Dmitry Kalinkin 2022-06-01 10:23:40 -04:00 committed by GitHub
commit 4d522e5348
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,27 +3,37 @@
, fetchFromGitHub , fetchFromGitHub
, numpy , numpy
, pytestCheckHook , pytestCheckHook
, pythonOlder
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "sdds"; pname = "sdds";
version = "0.2.1"; version = "0.3.0";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "pylhc"; owner = "pylhc";
repo = pname; repo = pname;
rev = "v${version}"; rev = "refs/tags/${version}";
sha256 = "sha256-JcxcF0tDigZz3upzE7rPDynCH45dnLk/zpS0a2dOwRU="; hash = "sha256-l9j+YJ5VNMzL6JW59kq0hQS7XIj53UxW5bNnfdURz/o=";
}; };
propagatedBuildInputs = [ numpy ]; propagatedBuildInputs = [
numpy
];
pythonImportsCheck = [ "sdds" ]; checkInputs = [
checkInputs = [ pytestCheckHook ]; pytestCheckHook
];
pythonImportsCheck = [
"sdds"
];
meta = with lib; { meta = with lib; {
description = "Python 3 package to handle SDDS files"; description = "Module to handle SDDS files";
homepage = "https://pylhc.github.io/sdds/"; homepage = "https://pylhc.github.io/sdds/";
license = with licenses; [ mit ]; license = with licenses; [ mit ];
maintainers = with maintainers; [ veprbl ]; maintainers = with maintainers; [ veprbl ];