Files
nixpkgs/pkgs/by-name/ya/yaffshiv/package.nix
Dark Steveneq 646b892680
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
push sheeet
2025-10-09 14:15:47 +02:00

33 lines
696 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
python3,
}:
stdenv.mkDerivation {
pname = "yaffshiv";
version = "0-unstable-2024-08-30";
src = fetchFromGitHub {
owner = "devttys0";
repo = "yaffshiv";
rev = "f6f0ef77bf79ca46aaa77bc34eda06e7b55da8e8";
sha256 = "sha256-C43UzkaPKheexvVcKi/Krcik+arPXggWAYMSi9RY5eo=";
};
buildInputs = [ python3 ];
installPhase = ''
install -D -m755 src/yaffshiv $out/bin/yaffshiv
'';
meta = {
description = "Simple YAFFS file system parser and extractor";
homepage = "https://github.com/devttys0/yaffshiv";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ sgo ];
mainProgram = "yaffshiv";
};
}