2021-01-17 09:17:16 +00:00
|
|
|
{ pkg-config, libusb1, buildGoPackage, fetchgit }:
|
2016-06-03 12:50:07 +01:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "go-mtpfs";
|
2019-01-09 18:42:33 +00:00
|
|
|
version = "2018-02-09";
|
|
|
|
rev = "d6f8f3c05ce0ed31435057ec342268a0735863bb";
|
2016-06-03 12:50:07 +01:00
|
|
|
|
|
|
|
goPackagePath = "github.com/hanwen/go-mtpfs";
|
|
|
|
|
2021-01-17 09:17:16 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2016-06-03 12:50:07 +01: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 12:50:07 +01:00
|
|
|
};
|
|
|
|
|
2016-09-10 11:04:13 +01:00
|
|
|
goDeps = ./deps.nix;
|
2016-06-03 12:50:07 +01:00
|
|
|
}
|