nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 34 lines 660 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 autoconf, 6 automake, 7}: 8 9stdenv.mkDerivation (finalAttrs: { 10 pname = "ndstool"; 11 version = "2.3.1"; 12 13 src = fetchFromGitHub { 14 owner = "devkitPro"; 15 repo = "ndstool"; 16 rev = "v${finalAttrs.version}"; 17 sha256 = "sha256-121xEmbt1WBR1wi4RLw9/iLHqkpyXImXKiCNnLCYnJs="; 18 }; 19 20 nativeBuildInputs = [ 21 autoconf 22 automake 23 ]; 24 25 preConfigure = "./autogen.sh"; 26 27 meta = { 28 homepage = "https://github.com/devkitPro/ndstool"; 29 description = "Tool to unpack and repack nds rom"; 30 maintainers = [ lib.maintainers.marius851000 ]; 31 license = lib.licenses.gpl3; 32 mainProgram = "ndstool"; 33 }; 34})