1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-15 09:03:48 +00:00
nixpkgs/pkgs/development/libraries/liblockfile/default.nix
2017-06-20 07:24:20 +02:00

30 lines
768 B
Nix

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