default.nix (596B)
1 { lib, fetchFromGitHub, python3Packages }: 2 3 python3Packages.buildPythonPackage rec { 4 pname = "pyrtcm"; 5 version = "1.0.19"; 6 pyproject = true; 7 8 src = fetchFromGitHub { 9 owner = "semuconsulting"; 10 repo = "pyrtcm"; 11 rev = "v${version}"; 12 hash = "sha256-GKSh/lM5Bhmqw26ZfLQyRJMWfI8I9dGTkqDdr2CXZTs="; 13 }; 14 15 nativeBuildInputs = with python3Packages; [ setuptools ]; 16 17 pythonImportsCheck = [ "pyrtcm" ]; 18 19 meta = with lib; { 20 description = "RTCM3 protocol parser"; 21 inherit (src.meta) homepage; 22 license = licenses.bsd3; 23 maintainers = [ maintainers.sikmir ]; 24 }; 25 }