at master 737 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 unittestCheckHook, 6 setuptools, 7 setuptools-scm, 8}: 9 10let 11 pname = "crccheck"; 12 version = "1.3.1"; 13in 14buildPythonPackage { 15 inherit pname version; 16 pyproject = true; 17 18 src = fetchFromGitHub { 19 owner = "MartinScharrer"; 20 repo = "crccheck"; 21 tag = "v${version}"; 22 hash = "sha256-hT+8+moni7turn5MK719b4Xy336htyWWmoMnhgxKkYo="; 23 }; 24 25 build-system = [ 26 setuptools 27 setuptools-scm 28 ]; 29 30 nativeCheckInputs = [ unittestCheckHook ]; 31 32 meta = with lib; { 33 description = "Python library for CRCs and checksums"; 34 homepage = "https://github.com/MartinScharrer/crccheck"; 35 license = licenses.mit; 36 maintainers = [ ]; 37 platforms = platforms.linux; 38 }; 39}