11 stdenv.mkDerivation (finalAttrs: {
15 src = fetchFromGitHub {
17 repo = finalAttrs.pname;
18 rev = finalAttrs.version;
19 sha256 = "sha256-oUy9HhybNMjRBWoqqal1Mw8cC5RddgN4izxAl0cgnKE=";
22 nativeBuildInputs = [ meson ninja python3 ];
25 # test-object: ../lib/test-object.c:129: main: Assertion `setlocale(LC_NUMERIC, "de_DE.UTF-8") != 0' failed.
26 # PR that added it https://github.com/varlink/libvarlink/pull/27
27 substituteInPlace lib/test-object.c \
28 --replace 'assert(setlocale(LC_NUMERIC, "de_DE.UTF-8") != 0);' ""
30 patchShebangs lib/test-symbols.sh varlink-wrapper.py
36 updateScript = nix-update-script { };
38 version = testers.testVersion {
39 package = finalAttrs.finalPackage;
40 command = "varlink --version";
46 description = "C implementation of the Varlink protocol and command line tool";
47 homepage = "https://github.com/varlink/libvarlink";
48 license = licenses.asl20;
49 maintainers = with maintainers; [ artturin ];
50 platforms = platforms.linux;