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