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

30 lines
753 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl }:
2012-08-25 11:13:20 +02:00
stdenv.mkDerivation rec {
_name = "liblockfile";
2021-01-30 15:14:52 +01:00
version = "1.17";
2012-08-25 11:13:20 +02:00
name = "${_name}-${version}";
src = fetchurl {
url = "mirror://debian/pool/main/libl/${_name}/${_name}_${version}.orig.tar.gz";
2021-01-30 15:14:52 +01:00
sha256 = "sha256-bpN/NlCvq0qsGY80i4mxykLtzrF/trsJGPZCFDzP0V4=";
2012-08-25 11:13:20 +02:00
};
preConfigure = ''
2017-06-20 07:24:20 +02:00
sed -i -e 's/ -g [^ ]* / /' Makefile.in
2012-08-25 11:13:20 +02:00
'';
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 = lib.licenses.gpl2Plus;
2012-08-25 11:13:20 +02:00
maintainers = [ lib.maintainers.bluescreen303 ];
platforms = lib.platforms.all;
2012-08-25 11:13:20 +02:00
};
}