Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at python-updates 26 lines 658 B view raw
1{ 2 lib, 3 stdenv, 4 fetchurl, 5}: 6 7stdenv.mkDerivation rec { 8 pname = "libdivecomputer"; 9 version = "0.9.0"; 10 11 src = fetchurl { 12 url = "https://www.libdivecomputer.org/releases/${pname}-${version}.tar.gz"; 13 sha256 = "sha256-p7gLkIOiETpDKA7ntR1I1m6lp3n8P+5X33xFHaAlHGU="; 14 }; 15 16 enableParallelBuilding = true; 17 18 meta = with lib; { 19 homepage = "https://www.libdivecomputer.org"; 20 description = "Cross-platform and open source library for communication with dive computers from various manufacturers"; 21 mainProgram = "dctool"; 22 maintainers = [ maintainers.mguentner ]; 23 license = licenses.lgpl21; 24 platforms = platforms.all; 25 }; 26}