nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 60 lines 1.1 kB view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 autoreconfHook, 6 pkg-config, 7 libosmocore, 8 lksctp-tools, 9 libasn1c, 10 libosmoabis, 11 libosmo-netif, 12 libosmo-sigtran, 13 osmo-iuh, 14}: 15 16let 17 inherit (stdenv.hostPlatform) isLinux; 18in 19 20stdenv.mkDerivation rec { 21 pname = "osmo-hnodeb"; 22 version = "0.1.1"; 23 24 src = fetchFromGitHub { 25 owner = "osmocom"; 26 repo = "osmo-hnodeb"; 27 rev = version; 28 hash = "sha256-Izivyw2HqRmrM68ehGqlIkJeuZ986d1WQ0yr6NWWTdA="; 29 }; 30 31 postPatch = '' 32 echo "${version}" > .tarball-version 33 ''; 34 35 nativeBuildInputs = [ 36 autoreconfHook 37 pkg-config 38 ]; 39 40 buildInputs = [ 41 libosmocore 42 lksctp-tools 43 libasn1c 44 libosmoabis 45 libosmo-netif 46 libosmo-sigtran 47 osmo-iuh 48 ]; 49 50 enableParallelBuilding = true; 51 52 meta = { 53 description = "Upper layers implementation of HomeNodeB for 3G/UMTS"; 54 mainProgram = "osmo-hnodeb"; 55 homepage = "https://osmocom.org/projects/osmo-hnodeb"; 56 license = lib.licenses.agpl3Plus; 57 maintainers = [ ]; 58 platforms = lib.platforms.linux; 59 }; 60}