1 { lib, stdenv, fetchFromGitHub
6 stdenv.mkDerivation rec {
10 src = fetchFromGitHub {
11 owner = "rhinstaller";
14 sha256 = "1wjnh2hlp1hjjm4a8wzdhdrm73jq41lmpmy3ls0rh715p3j7z4q9";
18 nativeBuildInputs = [ python3 ];
19 buildInputs = [ popt ] ;
22 substituteInPlace Makefile --replace "#/usr/" "#"
23 substituteInPlace Makefile --replace "/usr/" "/"
28 makeFlags = [ "DESTDIR=${placeholder "out"}" ];
30 # we don't install python stuff as it borks up directories
31 installTargets = [ "install-bin" "install-devel" ];
34 homepage = "https://github.com/rhinstaller/isomd5sum";
35 description = "Utilities for working with md5sum implanted in ISO images";
36 platforms = platforms.linux;
37 license = licenses.gpl2;
38 maintainers = with maintainers; [ knl ];