fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
44 lines
864 B
Nix
44 lines
864 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
python,
|
|
digiham,
|
|
csdr,
|
|
pycsdr,
|
|
codecserver,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pydigiham";
|
|
version = "0.6.0";
|
|
format = "setuptools";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jketterl";
|
|
repo = "pydigiham";
|
|
rev = version;
|
|
hash = "sha256-kiEvQl3SuDnHI4Fh97AarsszHGFt7tbWBvBRW84Qv18=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ digiham ];
|
|
buildInputs = [
|
|
codecserver
|
|
pycsdr
|
|
];
|
|
# make pycsdr header files available
|
|
preBuild = ''
|
|
ln -s ${pycsdr}/include/${python.libPrefix}/pycsdr src/pycsdr
|
|
'';
|
|
|
|
# has no tests
|
|
doCheck = false;
|
|
pythonImportsCheck = [ "digiham" ];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/jketterl/pydigiham";
|
|
description = "bindings for the csdr library";
|
|
license = lib.licenses.gpl3Only;
|
|
maintainers = lib.teams.c3d2.members;
|
|
};
|
|
}
|