1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-28 00:22:13 +00:00

Merge pull request #120033 from fabaff/hachoir

python3Packages.hachoir: init at 3.1.2
This commit is contained in:
Sandro 2021-04-21 10:39:09 +02:00 committed by GitHub
commit f7e9cfcc06
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 39 additions and 0 deletions

View file

@ -0,0 +1,35 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, urwid
}:
buildPythonPackage rec {
pname = "hachoir";
version = "3.1.2";
src = fetchFromGitHub {
owner = "vstinner";
repo = pname;
rev = version;
sha256 = "06544qmmimvaznwcjs8wwfih1frdd7anwcw5z07cf69l8p146p0y";
};
propagatedBuildInputs = [
urwid
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "hachoir" ];
meta = with lib; {
description = "Python library to view and edit a binary stream";
homepage = "https://hachoir.readthedocs.io/";
license = with licenses; [ gpl2Only ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -23496,6 +23496,8 @@ in
gxplugins-lv2 = callPackage ../applications/audio/gxplugins-lv2 { };
hachoir = with python3Packages; toPythonApplication hachoir;
hackrf = callPackage ../applications/radio/hackrf { };
hacksaw = callPackage ../tools/misc/hacksaw {};

View file

@ -3069,6 +3069,8 @@ in {
habanero = callPackage ../development/python-modules/habanero { };
hachoir = callPackage ../development/python-modules/hachoir { };
ha-ffmpeg = callPackage ../development/python-modules/ha-ffmpeg { };
halo = callPackage ../development/python-modules/halo { };