Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{lib, stdenv, fetchurl}: 2 3stdenv.mkDerivation rec { 4 pname = "libltc"; 5 version = "1.3.2"; 6 7 src = fetchurl { 8 url = "https://github.com/x42/libltc/releases/download/v${version}/libltc-${version}.tar.gz"; 9 sha256 = "sha256-Cm1CzWwh6SWif6Vg3EWsgAV9J18jNCECglkJwC07Ekk="; 10 }; 11 12 meta = with lib; { 13 homepage = "http://x42.github.io/libltc/"; 14 description = "POSIX-C Library for handling Linear/Logitudinal Time Code (LTC)"; 15 license = licenses.lgpl3Plus; 16 platforms = platforms.all; 17 }; 18}