blob: 15aaf9a9f01ba348539b4831517e7bcf8905b263 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
numpy,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "sdds";
version = "0.4.2";
format = "setuptools";
src = fetchFromGitHub {
owner = "pylhc";
repo = "sdds";
tag = "v${version}";
hash = "sha256-h1gEqzmKCUr8+w3Fv8lv35/0itZwela//AQsD3u0UJA=";
};
propagatedBuildInputs = [ numpy ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "sdds" ];
meta = {
description = "Module to handle SDDS files";
homepage = "https://pylhc.github.io/sdds/";
license = with lib.licenses; [ mit ];
maintainers = with lib.maintainers; [ veprbl ];
};
}
|