2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
_name = "liblockfile";
|
2021-02-05 17:12:51 +00:00
|
|
|
version = "1.17";
|
2020-04-24 23:36:52 +00:00
|
|
|
name = "${_name}-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://debian/pool/main/libl/${_name}/${_name}_${version}.orig.tar.gz";
|
2021-02-05 17:12:51 +00:00
|
|
|
sha256 = "sha256-bpN/NlCvq0qsGY80i4mxykLtzrF/trsJGPZCFDzP0V4=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "dotlockfile";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "http://packages.debian.org/unstable/libs/liblockfile1";
|
2021-02-05 17:12:51 +00:00
|
|
|
license = lib.licenses.gpl2Plus;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
maintainers = [ lib.maintainers.bluescreen303 ];
|
|
|
|
platforms = lib.platforms.all;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|