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:
commit
f7e9cfcc06
35
pkgs/development/python-modules/hachoir/default.nix
Normal file
35
pkgs/development/python-modules/hachoir/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 {};
|
||||
|
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue