python3Packages.sdds: init at 0.2.1

This commit is contained in:
Dmitry Kalinkin 2022-05-06 17:18:52 -04:00
parent c547d11572
commit 1b73d6e9a3
No known key found for this signature in database
GPG key ID: 5157B3EC8B2CA333
2 changed files with 33 additions and 0 deletions

View file

@ -0,0 +1,31 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, numpy
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "sdds";
version = "0.2.1";
format = "setuptools";
src = fetchFromGitHub {
owner = "pylhc";
repo = pname;
rev = "v${version}";
sha256 = "sha256-JcxcF0tDigZz3upzE7rPDynCH45dnLk/zpS0a2dOwRU=";
};
propagatedBuildInputs = [ numpy ];
pythonImportsCheck = [ "sdds" ];
checkInputs = [ pytestCheckHook ];
meta = with lib; {
description = "Python 3 package to handle SDDS files";
homepage = "https://pylhc.github.io/sdds/";
license = with licenses; [ mit ];
maintainers = with maintainers; [ veprbl ];
};
}

View file

@ -9291,6 +9291,8 @@ in {
scs = callPackage ../development/python-modules/scs { };
sdds = callPackage ../development/python-modules/sdds { };
sdnotify = callPackage ../development/python-modules/sdnotify { };
seaborn = callPackage ../development/python-modules/seaborn { };