2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2012-08-25 09:13:20 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
_name = "liblockfile";
|
2021-01-30 14:14:52 +00:00
|
|
|
version = "1.17";
|
2012-08-25 09:13:20 +00:00
|
|
|
name = "${_name}-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://debian/pool/main/libl/${_name}/${_name}_${version}.orig.tar.gz";
|
2021-01-30 14:14:52 +00:00
|
|
|
sha256 = "sha256-bpN/NlCvq0qsGY80i4mxykLtzrF/trsJGPZCFDzP0V4=";
|
2012-08-25 09:13:20 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
preConfigure = ''
|
2017-06-20 05:24:20 +00:00
|
|
|
sed -i -e 's/ -g [^ ]* / /' Makefile.in
|
2012-08-25 09:13:20 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
preInstall = ''
|
|
|
|
mkdir -p $out/{bin,lib,include,man} $out/man/man{1,3}
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2013-10-06 09:49:53 +00:00
|
|
|
description = "Shared library with NFS-safe locking functions";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://packages.debian.org/unstable/libs/liblockfile1";
|
2021-01-21 17:00:13 +00:00
|
|
|
license = lib.licenses.gpl2Plus;
|
2012-08-25 09:13:20 +00:00
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
maintainers = [ lib.maintainers.bluescreen303 ];
|
|
|
|
platforms = lib.platforms.all;
|
2012-08-25 09:13:20 +00:00
|
|
|
};
|
|
|
|
}
|