default.nix (715B)
1 { 2 lib, 3 fetchFromGitHub, 4 python3Packages, 5 pyrtcm, 6 }: 7 8 python3Packages.buildPythonPackage rec { 9 pname = "pysbf2"; 10 version = "1.0.0"; 11 pyproject = true; 12 13 src = fetchFromGitHub { 14 owner = "semuconsulting"; 15 repo = "pysbf2"; 16 tag = "v${version}"; 17 hash = "sha256-3Iez0VwHgNh17zcPUQtpqN7klr9HT6p3dEMQGrn7sCk="; 18 }; 19 20 build-system = with python3Packages; [ setuptools ]; 21 22 dependencies = with python3Packages; [ 23 pynmeagps 24 pyrtcm 25 ]; 26 27 pythonImportsCheck = [ "pysbf2" ]; 28 29 meta = { 30 description = "SBF protocol parser and generator"; 31 homepage = "https://github.com/semuconsulting/pysbf2"; 32 license = lib.licenses.bsd3; 33 maintainers = [ lib.maintainers.sikmir ]; 34 }; 35 }