pkgs: update talloc and proot

This commit is contained in:
Alexander Sosedkin 2023-06-18 22:43:01 +02:00
parent 468bf944df
commit 2301e01d48
3 changed files with 9 additions and 8 deletions

View file

@ -1,4 +1,4 @@
# Copyright (c) 2019-2022, see AUTHORS. Licensed under MIT License, see LICENSE.
# Copyright (c) 2019-2023, see AUTHORS. Licensed under MIT License, see LICENSE.
{ callPackage
, nixpkgs
@ -14,11 +14,11 @@ in
pkgsCross.stdenv.mkDerivation rec {
pname = "talloc";
version = "2.3.4";
version = "2.4.0";
src = fetchurl {
url = "mirror://samba/talloc/${pname}-${version}.tar.gz";
sha256 = "sha256-F5+eviZeZ+SrLCbK0rfeS2p3xsIS+WaQM4KGnwa+ZQU=";
sha256 = "sha256-bfNoYsQkZu+I82BERROHDvRpNPkBbIQ4PMQAin0MRro=";
};
nativeBuildInputs = [ pkg-config python3 wafHook ];

View file

@ -1,4 +1,4 @@
# Copyright (c) 2019-2022, see AUTHORS. Licensed under MIT License, see LICENSE.
# Copyright (c) 2019-2023, see AUTHORS. Licensed under MIT License, see LICENSE.
{ stdenv
, fetchFromGitHub
@ -9,13 +9,13 @@
stdenv.mkDerivation {
pname = "proot-termux";
version = "unstable-2022-05-03";
version = "unstable-2023-05-13";
src = fetchFromGitHub {
repo = "proot";
owner = "termux";
rev = "5c462a6ecfddd629b1439f38fbb61216d6fcb359";
sha256 = "sha256-XS4js80NsAN2C4jMuISSqMm/DwYpH/stbABaxzoqZcE=";
rev = "2d7c70eec7e2688e465c7bfba60c927fad0abfb1";
sha256 = "sha256-FgK5Rvl95yfH+aqTsJZ8HzSsCYIE3iLiQMFIlw0Z6oc=";
};
# ashmem.h is rather small, our needs are even smaller, so just define these:
@ -27,6 +27,7 @@ stdenv.mkDerivation {
#define ASHMEM_NAME_LEN 256
#define ASHMEM_SET_NAME _IOW(__ASHMEMIOC, 1, char[ASHMEM_NAME_LEN])
#define ASHMEM_SET_SIZE _IOW(__ASHMEMIOC, 3, size_t)
#define ASHMEM_GET_SIZE _IO(__ASHMEMIOC, 4)
EOF
'';