nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 55 lines 1.1 kB view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 fetchpatch, 6 autoreconfHook, 7 python3, 8}: 9 10stdenv.mkDerivation { 11 pname = "udis86"; 12 version = "unstable-2014-12-25"; 13 14 src = fetchFromGitHub { 15 owner = "vmt"; 16 repo = "udis86"; 17 rev = "56ff6c87c11de0ffa725b14339004820556e343d"; 18 hash = "sha256-bmm1rgzZeStQJXEmcT8vnplsnmgN3LJlYs7COmqsDU8="; 19 }; 20 21 patches = [ 22 (fetchpatch { 23 name = "support-python3-for-building"; 24 url = "https://github.com/vmt/udis86/commit/3c05ce60372cb2eba39d6eb87ac05af8a664e1b1.patch"; 25 hash = "sha256-uF4Cwt7UMkyd0RX6cCMQt9xvkkUNQvTDH/Z/6nHtVT8="; 26 }) 27 ]; 28 29 nativeBuildInputs = [ 30 autoreconfHook 31 python3 32 ]; 33 34 configureFlags = [ 35 "--enable-shared" 36 ]; 37 38 outputs = [ 39 "bin" 40 "out" 41 "dev" 42 "lib" 43 ]; 44 45 meta = { 46 homepage = "https://udis86.sourceforge.net"; 47 license = lib.licenses.bsd2; 48 maintainers = with lib.maintainers; [ timor ]; 49 mainProgram = "udcli"; 50 description = '' 51 Easy-to-use, minimalistic x86 disassembler library (libudis86) 52 ''; 53 platforms = lib.platforms.all; 54 }; 55}