mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 00:53:12 +03:00
python3Packages.hexdump: init at 3.3
This commit is contained in:
parent
7a7f1ae454
commit
beeffa2453
32
pkgs/development/python-modules/hexdump/default.nix
Normal file
32
pkgs/development/python-modules/hexdump/default.nix
Normal file
@ -0,0 +1,32 @@
|
||||
{ lib, buildPythonPackage, fetchPypi }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "hexdump";
|
||||
version = "3.3";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-14GkOwwWrOP5Nmqt5z6K06e9UTfVjwtFqy0/VIdvINs=";
|
||||
extension = "zip";
|
||||
};
|
||||
|
||||
# the source zip has no prefix, so everything gets unpacked to /build otherwise
|
||||
sourceRoot = "source";
|
||||
unpackPhase = ''
|
||||
runHook preUnpack
|
||||
mkdir source
|
||||
pushd source
|
||||
unzip $src
|
||||
popd
|
||||
runHook postUnpack
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "hexdump" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Library to dump binary data to hex format and restore from there";
|
||||
homepage = "https://pypi.org/project/hexdump/"; # BitBucket site returns 404
|
||||
license = licenses.publicDomain;
|
||||
maintainers = with maintainers; [ frogamic sbruder ];
|
||||
};
|
||||
}
|
@ -4089,6 +4089,8 @@ in {
|
||||
|
||||
hexbytes = callPackage ../development/python-modules/hexbytes { };
|
||||
|
||||
hexdump = callPackage ../development/python-modules/hexdump { };
|
||||
|
||||
hg-commitsigs = callPackage ../development/python-modules/hg-commitsigs { };
|
||||
|
||||
hg-evolve = callPackage ../development/python-modules/hg-evolve { };
|
||||
|
Loading…
Reference in New Issue
Block a user