2016-06-06 01:28:52 +01:00
|
|
|
{ stdenv, lib, pkgconfig, libusb1, buildGoPackage, fetchgit, fetchhg, fetchbzr, fetchsvn }:
|
2016-06-03 12:50:07 +01:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
name = "go-mtpfs-${version}";
|
|
|
|
version = "20150917-${stdenv.lib.strings.substring 0 7 rev}";
|
|
|
|
rev = "bc7c0f716e3b4ed5610069a55fc00828ebba890b";
|
|
|
|
|
|
|
|
goPackagePath = "github.com/hanwen/go-mtpfs";
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ libusb1 ];
|
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
inherit rev;
|
|
|
|
url = "https://github.com/hanwen/go-mtpfs";
|
|
|
|
sha256 = "1jcqp9n8fd9psfsnhfj6w97yp0zmyxplsig8pyp2gqzh4lnb5fqm";
|
|
|
|
};
|
|
|
|
|
2016-09-10 11:04:13 +01:00
|
|
|
goDeps = ./deps.nix;
|
2016-06-03 12:50:07 +01:00
|
|
|
}
|