Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
42 lines
863 B
Nix
42 lines
863 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "hexdump";
|
|
version = "3.3";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-14GkOwwWrOP5Nmqt5z6K06e9UTfVjwtFqy0/VIdvINs=";
|
|
extension = "zip";
|
|
};
|
|
|
|
# the source zip has no prefix, so everything gets unpacked to /build otherwise
|
|
unpackPhase = ''
|
|
runHook preUnpack
|
|
mkdir source
|
|
pushd source
|
|
unzip $src
|
|
popd
|
|
runHook postUnpack
|
|
'';
|
|
|
|
sourceRoot = "source";
|
|
|
|
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
|
|
];
|
|
};
|
|
}
|