mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 20:34:52 +03:00
add liblockfile-1.09
This commit is contained in:
parent
130a4aa507
commit
8c96572638
30
pkgs/development/libraries/liblockfile/default.nix
Normal file
30
pkgs/development/libraries/liblockfile/default.nix
Normal file
@ -0,0 +1,30 @@
|
||||
{ stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
_name = "liblockfile";
|
||||
version = "1.09";
|
||||
name = "${_name}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://debian/pool/main/libl/${_name}/${_name}_${version}.orig.tar.gz";
|
||||
sha256 = "0zqvbxls1632wqfhv4v3q2djzlz9391h0wdgsvhnaqrr0nx9x5qn";
|
||||
};
|
||||
|
||||
preConfigure = ''
|
||||
sed -i -e 's/install -g [^ ]* /install /' Makefile.in
|
||||
'';
|
||||
|
||||
preInstall = ''
|
||||
mkdir -p $out/{bin,lib,include,man} $out/man/man{1,3}
|
||||
'';
|
||||
|
||||
|
||||
meta = {
|
||||
description = "Liblockfile is a shared library with NFS-safe locking functions.";
|
||||
homepage = http://packages.debian.org/unstable/libs/liblockfile1;
|
||||
license = "GPLv2+";
|
||||
|
||||
maintainers = [ stdenv.lib.maintainers.bluescreen303 ];
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
};
|
||||
}
|
@ -4122,6 +4122,8 @@ let
|
||||
|
||||
liblqr1 = callPackage ../development/libraries/liblqr-1 { };
|
||||
|
||||
liblockfile = callPackage ../development/libraries/liblockfile { };
|
||||
|
||||
libmhash = callPackage ../development/libraries/libmhash {};
|
||||
|
||||
libmtp = callPackage ../development/libraries/libmtp { };
|
||||
|
Loading…
Reference in New Issue
Block a user