about summary refs log tree commit diff
path: root/pkgs/tools/filesystems/go-mtpfs/default.nix
blob: 6a05d71d0218302402c4d514b32556619a304212 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ pkg-config, libusb1, buildGoPackage, fetchFromGitHub }:

buildGoPackage rec {
  pname = "go-mtpfs";
  version = "unstable-2018-02-09";

  goPackagePath = "github.com/hanwen/go-mtpfs";

  src = fetchFromGitHub {
    owner = "hanwen";
    repo = "go-mtpfs";
    rev = "d6f8f3c05ce0ed31435057ec342268a0735863bb";
    sha256 = "sha256-sz+ikhZGwSIAI2YBSQKURF3WXB8dHgQ/C/dbkXwrDSg=";
  };

  nativeBuildInputs = [ pkg-config ];
  buildInputs = [ libusb1 ];

  goDeps = ./deps.nix;
}