diff options
author | Felix Buehler <account@buehler.rocks> | 2022-03-08 15:28:47 +0100 |
---|---|---|
committer | Felix Buehler <account@buehler.rocks> | 2022-03-14 19:32:49 +0100 |
commit | 6ffdc42cd06ea0165ed6c9634ea04dbee18e30a9 (patch) | |
tree | 2ed91b69e17c507f49196fe7c847995692f5b266 /pkgs/tools/filesystems | |
parent | 0aed0348efb2f0594fb877faa61f3ced27677f21 (diff) |
go-mtpfs: switch to fetchFromGitHub
Diffstat (limited to 'pkgs/tools/filesystems')
-rw-r--r-- | pkgs/tools/filesystems/go-mtpfs/default.nix | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/pkgs/tools/filesystems/go-mtpfs/default.nix b/pkgs/tools/filesystems/go-mtpfs/default.nix index bd6e0fe67fc20..6a05d71d02183 100644 --- a/pkgs/tools/filesystems/go-mtpfs/default.nix +++ b/pkgs/tools/filesystems/go-mtpfs/default.nix @@ -1,20 +1,20 @@ -{ pkg-config, libusb1, buildGoPackage, fetchgit }: +{ pkg-config, libusb1, buildGoPackage, fetchFromGitHub }: buildGoPackage rec { pname = "go-mtpfs"; - version = "2018-02-09"; - rev = "d6f8f3c05ce0ed31435057ec342268a0735863bb"; + version = "unstable-2018-02-09"; goPackagePath = "github.com/hanwen/go-mtpfs"; + src = fetchFromGitHub { + owner = "hanwen"; + repo = "go-mtpfs"; + rev = "d6f8f3c05ce0ed31435057ec342268a0735863bb"; + sha256 = "sha256-sz+ikhZGwSIAI2YBSQKURF3WXB8dHgQ/C/dbkXwrDSg="; + }; + nativeBuildInputs = [ pkg-config ]; buildInputs = [ libusb1 ]; - src = fetchgit { - inherit rev; - url = "https://github.com/hanwen/go-mtpfs"; - sha256 = "0a0d5dy92nzp1czh87hx3xfdcpa4jh14j0b64c025ha62s9a4gxk"; - }; - goDeps = ./deps.nix; } |