2022-03-30 09:31:56 +00:00
|
|
|
{ pkg-config, libusb1, buildGoPackage, fetchFromGitHub }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
pname = "go-mtpfs";
|
2022-03-30 09:31:56 +00:00
|
|
|
version = "unstable-2018-02-09";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
goPackagePath = "github.com/hanwen/go-mtpfs";
|
|
|
|
|
2022-03-30 09:31:56 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "hanwen";
|
|
|
|
repo = "go-mtpfs";
|
|
|
|
rev = "d6f8f3c05ce0ed31435057ec342268a0735863bb";
|
|
|
|
sha256 = "sha256-sz+ikhZGwSIAI2YBSQKURF3WXB8dHgQ/C/dbkXwrDSg=";
|
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ libusb1 ];
|
|
|
|
|
|
|
|
goDeps = ./deps.nix;
|
|
|
|
}
|