1 { lib, stdenv, fetchFromGitHub, python3, substituteAll }:
3 stdenv.mkDerivation rec {
5 version = "unstable-2018-08-25";
7 src = fetchFromGitHub {
10 rev = "ac45a094fadba77ad840063fb7aab82571546be0";
11 sha256 = "143x680c6hsy51kngs04ypg4ql3lp498llcwj4lh1v0qp5qvjhyz";
16 src = ./0001-Don-t-detect-package-version-with-Git.patch;
21 nativeBuildInputs = [ python3 ];
23 makeFlags = [ "PREFIX=${placeholder "out"}" ];
26 homepage = "https://github.com/aclements/libelfin/";
27 license = licenses.mit;
28 description = "C++11 ELF/DWARF parser";
29 maintainers = with maintainers; [ ];
30 platforms = platforms.linux;