default.nix (621B)
1 { 2 lib, 3 fetchFromGitHub, 4 python3Packages, 5 }: 6 7 python3Packages.buildPythonPackage rec { 8 pname = "pyrtcm"; 9 version = "1.1.2"; 10 pyproject = true; 11 12 src = fetchFromGitHub { 13 owner = "semuconsulting"; 14 repo = "pyrtcm"; 15 rev = "v${version}"; 16 hash = "sha256-qnWN19SoskqqN0uZVs+MgOME41FsX4f9rdOWd/g8TRg="; 17 }; 18 19 build-system = with python3Packages; [ setuptools ]; 20 21 pythonImportsCheck = [ "pyrtcm" ]; 22 23 meta = { 24 description = "RTCM3 protocol parser"; 25 homepage = "https://github.com/semuconsulting/pyrtcm"; 26 license = lib.licenses.bsd3; 27 maintainers = [ lib.maintainers.sikmir ]; 28 }; 29 }