2021-01-17 09:17:16 +00:00
|
|
|
{ pkg-config, libusb1, buildGoPackage, fetchgit }:
|
2016-06-03 11:50:07 +00:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
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";
|
|
|
|
|
2021-01-17 09:17:16 +00:00
|
|
|
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
|
|
|
};
|
|
|
|
|
2016-09-10 10:04:13 +00:00
|
|
|
goDeps = ./deps.nix;
|
2016-06-03 11:50:07 +00:00
|
|
|
}
|