1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 15:11:35 +00:00

liblockfile: 1.09 -> 1.14

This commit is contained in:
Franz Pletz 2017-06-20 07:24:20 +02:00
parent 7bddc28176
commit 57a889bcfa
No known key found for this signature in database
GPG key ID: 846FDED7792617B4

View file

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