libasn1c: init at 0.9.35

This commit is contained in:
Janik H 2023-04-18 15:40:20 +02:00
parent 4f01c5e972
commit 5bff386ace
2 changed files with 44 additions and 0 deletions

View File

@ -0,0 +1,42 @@
{ lib
, stdenv
, autoreconfHook
, fetchFromGitHub
, pkg-config
, talloc
}:
stdenv.mkDerivation rec {
pname = "libasn1c";
version = "0.9.35";
src = fetchFromGitHub {
owner = "osmocom";
repo = "libasn1c";
rev = version;
hash = "sha256-mi97sWo42U/02xv4QDyUTRh26cyxhcOV5npqCuWsUOc=";
};
postPatch = ''
echo "${version}" > .tarball-version
'';
nativeBuildInputs = [
autoreconfHook
pkg-config
];
buildInputs = [
talloc
];
enableParallelBuilding = true;
meta = with lib; {
description = "Runtime library of Lev Walkin's asn1c split out as separate library";
homepage = "github.com/osmocom/libasn1c/";
license = licenses.bsd2;
platforms = platforms.linux;
maintainers = with maintainers; [ janik ];
};
}

View File

@ -21109,6 +21109,8 @@ with pkgs;
libarchive-qt = libsForQt5.callPackage ../development/libraries/libarchive-qt { };
libasn1c = callPackage ../servers/osmocom/libasn1c/default.nix { };
libasr = callPackage ../development/libraries/libasr { };
libass = callPackage ../development/libraries/libass { };