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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

21 lines
479 B
Nix
Raw Normal View History

2022-03-08 14:28:47 +00:00
{ pkg-config, libusb1, buildGoPackage, fetchFromGitHub }:
2016-06-03 11:50:07 +00:00
buildGoPackage rec {
pname = "go-mtpfs";
2022-03-08 14:28:47 +00:00
version = "unstable-2018-02-09";
2016-06-03 11:50:07 +00:00
goPackagePath = "github.com/hanwen/go-mtpfs";
2022-03-08 14:28:47 +00:00
src = fetchFromGitHub {
owner = "hanwen";
repo = "go-mtpfs";
rev = "d6f8f3c05ce0ed31435057ec342268a0735863bb";
sha256 = "sha256-sz+ikhZGwSIAI2YBSQKURF3WXB8dHgQ/C/dbkXwrDSg=";
};
nativeBuildInputs = [ pkg-config ];
2016-06-03 11:50:07 +00:00
buildInputs = [ libusb1 ];
goDeps = ./deps.nix;
2016-06-03 11:50:07 +00:00
}