mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 03:25:02 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
26 lines
645 B
Nix
26 lines
645 B
Nix
{ stdenv, fetchurl, cmake, libusb }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "garmindev";
|
|
version = "0.3.4";
|
|
|
|
src = fetchurl {
|
|
url = "https://bitbucket.org/maproom/qlandkarte-gt/downloads/${pname}-${version}.tar.gz";
|
|
sha256 = "1mc7rxdn9790pgbvz02xzipxp2dp9h4hfq87xgawa18sp9jqzhw6";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
buildInputs = [ libusb ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = http://www.qlandkarte.org/;
|
|
description = "Garmin Device Drivers for QlandkarteGT";
|
|
license = licenses.gpl2;
|
|
maintainers = with maintainers; [ sikmir ];
|
|
platforms = [ "x86_64-linux" ];
|
|
};
|
|
}
|