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

30 lines
753 B
Nix
Raw Normal View History

{ 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 = {
description = "Shared library with NFS-safe locking functions";
homepage = "http://packages.debian.org/unstable/libs/liblockfile1";
license = lib.licenses.gpl2Plus;
2012-08-25 09:13:20 +00:00
maintainers = [ lib.maintainers.bluescreen303 ];
platforms = lib.platforms.all;
2012-08-25 09:13:20 +00:00
};
}