nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 52 lines 960 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 bison, 6 cmake, 7 flex, 8 pkg-config, 9 gnutls, 10 libgcrypt, 11 libidn2, 12 lksctp-tools, 13 unstableGitUpdater, 14}: 15stdenv.mkDerivation (finalAttrs: { 16 pname = "freediameter"; 17 version = "1.6.0-unstable-2025-10-18"; 18 19 src = fetchFromGitHub { 20 owner = "freeDiameter"; 21 repo = "freeDiameter"; 22 rev = "9d4bc47584bfeced9de708fe00f5629ac4689db5"; 23 hash = "sha256-NHOsmRfdBXN59lGZAlDzwEqEkekZaux3shaGhP87Rdc="; 24 }; 25 26 strictDeps = true; 27 28 nativeBuildInputs = [ 29 bison 30 cmake 31 flex 32 pkg-config 33 ]; 34 35 buildInputs = [ 36 gnutls 37 libgcrypt 38 libidn2 39 lksctp-tools 40 ]; 41 42 passthru.updateScript = unstableGitUpdater { }; 43 44 meta = { 45 description = "Implementation of the Diameter Protocol"; 46 homepage = "https://github.com/freeDiameter/freeDiameter"; 47 license = lib.licenses.bsd3; 48 platforms = lib.platforms.unix; 49 teams = with lib.teams; [ ngi ]; 50 maintainers = [ ]; 51 }; 52})