2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchFromGitHub,
|
|
|
|
csdr,
|
|
|
|
}:
|
2022-07-14 12:49:19 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pycsdr";
|
|
|
|
version = "0.18.0";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2022-07-14 12:49:19 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jketterl";
|
|
|
|
repo = "pycsdr";
|
|
|
|
rev = version;
|
2023-03-15 16:39:30 +00:00
|
|
|
hash = "sha256-OyfcXCcbvOOhBUkbAba3ayPzpH5z2nJWHbR6GcrCMy8=";
|
2022-07-14 12:49:19 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ csdr ];
|
|
|
|
|
|
|
|
# has no tests
|
|
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "pycsdr" ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "https://github.com/jketterl/pycsdr";
|
|
|
|
description = "bindings for the csdr library";
|
|
|
|
license = lib.licenses.gpl3Only;
|
|
|
|
maintainers = lib.teams.c3d2.members;
|
|
|
|
};
|
|
|
|
}
|