btrbk: add mainProgram
[NixPkgs.git] / pkgs / by-name / u3 / u3-tool / package.nix
bloba9b2a7abf9b50fa0f1ff096ba24d2868e0314292
1 { lib, stdenv, fetchurl }:
3 stdenv.mkDerivation rec {
4   pname = "u3-tool";
5   version = "0.3";
7   enableParallelBuilding = true;
9   src = fetchurl {
10     url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.gz";
11     sha256 = "1p9c9kibd1pdbdfa0nd0i3n7bvzi3xg0chm38jg3xfl8gsn0390f";
12   };
14   meta = with lib; {
15     description = "Tool for controlling the special features of a 'U3 smart drive' USB Flash disk";
16     homepage = "https://sourceforge.net/projects/u3-tool/";
17     license = licenses.gpl2Plus;
18     platforms = with platforms; linux;
19     maintainers = with maintainers; [ makefu ];
20     mainProgram = "u3-tool";
21   };