diff options
Diffstat (limited to 'pkgs/tools/filesystems/go-mtpfs/default.nix')
-rw-r--r-- | pkgs/tools/filesystems/go-mtpfs/default.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/tools/filesystems/go-mtpfs/default.nix b/pkgs/tools/filesystems/go-mtpfs/default.nix new file mode 100644 index 00000000000..55be2dd9e73 --- /dev/null +++ b/pkgs/tools/filesystems/go-mtpfs/default.nix @@ -0,0 +1,23 @@ +# This file was generated by go2nix. +{ stdenv, lib, pkgconfig, libusb1, goPackages, fetchgit, fetchhg, fetchbzr, fetchsvn }: + +with goPackages; + +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"; + }; + + goDeps = ./deps.json; +} |