Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 26 lines 727 B view raw
1{ stdenv, lib, fetchFromGitHub, python3Packages }: 2 3python3Packages.buildPythonApplication { 4 pname = "sdat2img"; 5 version = "unstable-2021-11-09"; 6 7 src = fetchFromGitHub { 8 repo = "sdat2img"; 9 owner = "xpirt"; 10 rev = "b432c988a412c06ff24d196132e354712fc18929"; 11 sha256 = "sha256-NCbf9H0hoJgeDtP6cQY0H280BQqgKXv3ConZ87QixVY="; 12 }; 13 14 format = "other"; 15 installPhase = '' 16 install -D $src/sdat2img.py $out/bin/sdat2img 17 ''; 18 19 meta = { 20 description = "Convert sparse Android data image (.dat) into filesystem ext4 image (.img)"; 21 homepage = "https://github.com/xpirt/sdat2img"; 22 license = lib.licenses.mit; 23 maintainers = [ lib.maintainers.xaverdh ]; 24 platforms = lib.platforms.unix; 25 }; 26}