nixpkgs/pkgs/tools/filesystems/go-mtpfs/default.nix

21 lines
475 B
Nix
Raw Normal View History

{ pkg-config, libusb1, buildGoPackage, fetchgit }:
2016-06-03 11:50:07 +00:00
buildGoPackage rec {
pname = "go-mtpfs";
2019-01-09 18:42:33 +00:00
version = "2018-02-09";
rev = "d6f8f3c05ce0ed31435057ec342268a0735863bb";
2016-06-03 11:50:07 +00:00
goPackagePath = "github.com/hanwen/go-mtpfs";
nativeBuildInputs = [ pkg-config ];
2016-06-03 11:50:07 +00:00
buildInputs = [ libusb1 ];
src = fetchgit {
inherit rev;
url = "https://github.com/hanwen/go-mtpfs";
2019-01-09 18:42:33 +00:00
sha256 = "0a0d5dy92nzp1czh87hx3xfdcpa4jh14j0b64c025ha62s9a4gxk";
2016-06-03 11:50:07 +00:00
};
goDeps = ./deps.nix;
2016-06-03 11:50:07 +00:00
}