nixpkgs/pkgs/tools/misc/loadlibrary/default.nix
Silvan Mosberger f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* pkgs: refactor needless quoting of homepage meta attribute

A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.

* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit

* Fixed some instances
2017-08-01 22:03:30 +02:00

31 lines
1,016 B
Nix

{ cabextract, glibc_multi, fetchFromGitHub, readline, stdenv_32bit }:
# stdenv_32bit is needed because the program depends upon 32-bit libraries and does not have
# support for 64-bit yet: it requires libc6-dev:i386, libreadline-dev:i386.
stdenv_32bit.mkDerivation rec {
name = "loadlibrary-${version}";
version = "20170525-${stdenv_32bit.lib.strings.substring 0 7 rev}";
rev = "721b084c088d779075405b7f20c77c2578e2a961";
src = fetchFromGitHub {
inherit rev;
owner = "taviso";
repo = "loadlibrary";
sha256 = "01hb7wzfh1s5b8cvmrmr1gqknpq5zpzj9prq3wrpsgg129jpsjkb";
};
buildInputs = [ glibc_multi cabextract readline stdenv_32bit.cc.libc ];
installPhase = ''
mkdir -p $out/bin/
cp mpclient $out/bin/
'';
meta = with stdenv_32bit.lib; {
homepage = https://github.com/taviso/loadlibrary;
description = "Porting Windows Dynamic Link Libraries to Linux";
platforms = platforms.linux;
maintainers = [ maintainers.eleanor ];
license = licenses.gpl2;
};
}