nixpkgs/pkgs/development/libraries/liblockfile/default.nix

30 lines
768 B
Nix
Raw Normal View History

2012-08-25 13:13:20 +04:00
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
_name = "liblockfile";
2017-06-20 08:24:20 +03:00
version = "1.14";
2012-08-25 13:13:20 +04:00
name = "${_name}-${version}";
src = fetchurl {
url = "mirror://debian/pool/main/libl/${_name}/${_name}_${version}.orig.tar.gz";
2017-06-20 08:24:20 +03:00
sha256 = "0q6hn78fnzr6lhisg85a948rmpsd9rx67skzx3vh9hnbx2ix8h5b";
2012-08-25 13:13:20 +04:00
};
preConfigure = ''
2017-06-20 08:24:20 +03:00
sed -i -e 's/ -g [^ ]* / /' Makefile.in
2012-08-25 13:13:20 +04:00
'';
preInstall = ''
mkdir -p $out/{bin,lib,include,man} $out/man/man{1,3}
'';
meta = {
description = "Shared library with NFS-safe locking functions";
2012-08-25 13:13:20 +04:00
homepage = http://packages.debian.org/unstable/libs/liblockfile1;
license = stdenv.lib.licenses.gpl2Plus;
2012-08-25 13:13:20 +04:00
maintainers = [ stdenv.lib.maintainers.bluescreen303 ];
platforms = stdenv.lib.platforms.all;
};
}