1 { lib, cabextract, fetchFromGitHub, readline, stdenv_32bit }:
3 # stdenv_32bit is needed because the program depends upon 32-bit libraries and does not have
4 # support for 64-bit yet: it requires libc6-dev:i386, libreadline-dev:i386.
6 stdenv_32bit.mkDerivation rec {
7 name = "loadlibrary-${version}";
8 version = "20170525-${lib.strings.substring 0 7 rev}";
9 rev = "721b084c088d779075405b7f20c77c2578e2a961";
10 src = fetchFromGitHub {
14 sha256 = "01hb7wzfh1s5b8cvmrmr1gqknpq5zpzj9prq3wrpsgg129jpsjkb";
17 buildInputs = [ cabextract readline ];
25 homepage = "https://github.com/taviso/loadlibrary";
26 description = "Porting Windows Dynamic Link Libraries to Linux";
27 platforms = platforms.linux;
28 maintainers = [ maintainers.eleanor ];
29 license = licenses.gpl2;