nixpkgs/pkgs/servers/osmocom/libasn1c/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

43 lines
765 B
Nix
Raw Normal View History

2023-04-18 14:40:20 +01:00
{ lib
, stdenv
, autoreconfHook
, fetchFromGitHub
, pkg-config
, talloc
}:
stdenv.mkDerivation rec {
pname = "libasn1c";
2024-08-05 13:25:39 +01:00
version = "0.9.37";
2023-04-18 14:40:20 +01:00
src = fetchFromGitHub {
owner = "osmocom";
repo = "libasn1c";
rev = version;
2024-08-05 13:25:39 +01:00
hash = "sha256-st5KbAUhNFSJ0DmPFYOnNvDQ8xtTNi4t8DNYvEjt9Ns=";
2023-04-18 14:40:20 +01:00
};
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";
2024-05-08 19:04:58 +01:00
homepage = "https://github.com/osmocom/libasn1c/";
2023-04-18 14:40:20 +01:00
license = licenses.bsd2;
platforms = platforms.linux;
maintainers = [ ];
2023-04-18 14:40:20 +01:00
};
}