nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 34 lines 781 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pytestCheckHook, 6 urwid, 7}: 8 9buildPythonPackage rec { 10 pname = "hachoir"; 11 version = "3.3.0"; 12 format = "setuptools"; 13 14 src = fetchFromGitHub { 15 owner = "vstinner"; 16 repo = "hachoir"; 17 tag = version; 18 hash = "sha256-sTUJx8Xyhw4Z6juRtREw/okuVjSTSVWpSLKeZ7T8IR8="; 19 }; 20 21 propagatedBuildInputs = [ urwid ]; 22 23 nativeCheckInputs = [ pytestCheckHook ]; 24 25 pythonImportsCheck = [ "hachoir" ]; 26 27 meta = { 28 description = "Python library to view and edit a binary stream"; 29 homepage = "https://hachoir.readthedocs.io/"; 30 changelog = "https://github.com/vstinner/hachoir/blob/${version}/doc/changelog.rst"; 31 license = with lib.licenses; [ gpl2Only ]; 32 maintainers = with lib.maintainers; [ fab ]; 33 }; 34}