nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 32 lines 696 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 python3, 6}: 7 8stdenv.mkDerivation { 9 pname = "yaffshiv"; 10 version = "0-unstable-2024-08-30"; 11 12 src = fetchFromGitHub { 13 owner = "devttys0"; 14 repo = "yaffshiv"; 15 rev = "f6f0ef77bf79ca46aaa77bc34eda06e7b55da8e8"; 16 sha256 = "sha256-C43UzkaPKheexvVcKi/Krcik+arPXggWAYMSi9RY5eo="; 17 }; 18 19 buildInputs = [ python3 ]; 20 21 installPhase = '' 22 install -D -m755 src/yaffshiv $out/bin/yaffshiv 23 ''; 24 25 meta = { 26 description = "Simple YAFFS file system parser and extractor"; 27 homepage = "https://github.com/devttys0/yaffshiv"; 28 license = lib.licenses.mit; 29 maintainers = with lib.maintainers; [ sgo ]; 30 mainProgram = "yaffshiv"; 31 }; 32}