about summary refs log tree commit diff
path: root/pkgs/tools/filesystems/go-mtpfs/default.nix
blob: bd6e0fe67fc20f4daece195a7905fdfadb3a2eb5 (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, fetchgit }:

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

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

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

  src = fetchgit {
    inherit rev;
    url = "https://github.com/hanwen/go-mtpfs";
    sha256 = "0a0d5dy92nzp1czh87hx3xfdcpa4jh14j0b64c025ha62s9a4gxk";
  };

  goDeps = ./deps.nix;
}