mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 03:43:06 +00:00
4ba85f508f
Semi-automatic update generated by https://github.com/ryantm/nix-update tools. This update was made based on information from https://repology.org/metapackage/talloc/versions. These checks were done: - built on NixOS - Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.) - found 2.1.12 with grep in /nix/store/scinsbqmcna4ch1d7yrmbi5zimxjbnzj-talloc-2.1.12 - found 2.1.12 in filename of file in /nix/store/scinsbqmcna4ch1d7yrmbi5zimxjbnzj-talloc-2.1.12 - directory tree listing: https://gist.github.com/741812f2d0252396e3ecb9ab86f33f66
40 lines
991 B
Nix
40 lines
991 B
Nix
{ stdenv, fetchurl, python, pkgconfig, readline, libxslt
|
|
, docbook_xsl, docbook_xml_dtd_42
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "talloc-2.1.12";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://samba/talloc/${name}.tar.gz";
|
|
sha256 = "0jv0ri9vj93fczzgl7rn7xvnfgl2kfx4x85cr8h8v52yh7v0qz4q";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
buildInputs = [
|
|
python readline libxslt docbook_xsl docbook_xml_dtd_42
|
|
];
|
|
|
|
preConfigure = ''
|
|
sed -i 's,#!/usr/bin/env python,#!${python}/bin/python,g' buildtools/bin/waf
|
|
'';
|
|
|
|
configureFlags = [
|
|
"--enable-talloc-compat1"
|
|
"--bundled-libraries=NONE"
|
|
"--builtin-libraries=replace"
|
|
];
|
|
|
|
postInstall = ''
|
|
ar q $out/lib/libtalloc.a bin/default/talloc_[0-9]*.o
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Hierarchical pool based memory allocator with destructors";
|
|
homepage = http://tdb.samba.org/;
|
|
license = licenses.gpl3;
|
|
maintainers = with maintainers; [ wkennington ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|