package.nix (662B)
1 { 2 lib, 3 fetchFromGitHub, 4 python3Packages, 5 }: 6 7 python3Packages.buildPythonPackage rec { 8 pname = "fitdecode"; 9 version = "0.10.0"; 10 pyproject = true; 11 12 src = fetchFromGitHub { 13 owner = "polyvertex"; 14 repo = "fitdecode"; 15 tag = "v${version}"; 16 hash = "sha256-pW1PgJGqFL2reOYYfpGnQ4WoYFKGMNY8iQJzyHYOly8="; 17 }; 18 19 build-system = with python3Packages; [ setuptools ]; 20 21 nativeCheckInputs = with python3Packages; [ 22 pytestCheckHook 23 ]; 24 25 meta = { 26 description = "FIT file parser and decoder"; 27 homepage = "https://github.com/polyvertex/fitdecode"; 28 license = lib.licenses.mit; 29 maintainers = [ lib.maintainers.sikmir ]; 30 }; 31 }