summaryrefslogtreecommitdiffstats
path: root/pkgs/tools/filesystems/go-mtpfs
diff options
context:
space:
mode:
authorKamil Chmielewski <kamil.chm@gmail.com>2016-09-10 12:04:13 +0200
committerzimbatm <zimbatm@zimbatm.com>2016-09-16 00:04:55 +0100
commit914e0e594ca2d0fa5d456be208bf703d79f04fa3 (patch)
tree49cabb000804d24bb798de8afaacaa7fac8a41c8 /pkgs/tools/filesystems/go-mtpfs
parent7a6b860e1c5c6e35719631ff3599521144990077 (diff)
buildGoPackage: deps.json -> deps.nix in NIXON
https://github.com/NixOS/nixpkgs/pull/17254#issuecomment-245295541 * update docs to describe `deps.nix` * include goDeps in nix-shell GOPATH * NixOS 16.09 rel notes about replacing goPackages
Diffstat (limited to 'pkgs/tools/filesystems/go-mtpfs')
-rw-r--r--pkgs/tools/filesystems/go-mtpfs/default.nix2
-rw-r--r--pkgs/tools/filesystems/go-mtpfs/deps.json20
-rw-r--r--pkgs/tools/filesystems/go-mtpfs/deps.nix20
3 files changed, 21 insertions, 21 deletions
diff --git a/pkgs/tools/filesystems/go-mtpfs/default.nix b/pkgs/tools/filesystems/go-mtpfs/default.nix
index 0bb92f14e15c..028aef6024b1 100644
--- a/pkgs/tools/filesystems/go-mtpfs/default.nix
+++ b/pkgs/tools/filesystems/go-mtpfs/default.nix
@@ -16,5 +16,5 @@ buildGoPackage rec {
sha256 = "1jcqp9n8fd9psfsnhfj6w97yp0zmyxplsig8pyp2gqzh4lnb5fqm";
};
- goDeps = ./deps.json;
+ goDeps = ./deps.nix;
}
diff --git a/pkgs/tools/filesystems/go-mtpfs/deps.json b/pkgs/tools/filesystems/go-mtpfs/deps.json
deleted file mode 100644
index 9960293f0908..000000000000
--- a/pkgs/tools/filesystems/go-mtpfs/deps.json
+++ /dev/null
@@ -1,20 +0,0 @@
-[
- {
- "goPackagePath": "github.com/hanwen/go-fuse",
- "fetch": {
- "type": "git",
- "url": "https://github.com/hanwen/go-fuse",
- "rev": "bd746dd8bcc8c059a9d953a786a6156eb83f398e",
- "sha256": "1dvvclp418j3d02v9717sfqhl6fw6yyddr9r3j8gsiv8nb62ib56"
- }
- },
- {
- "goPackagePath": "github.com/hanwen/usb",
- "fetch": {
- "type": "git",
- "url": "https://github.com/hanwen/usb",
- "rev": "69aee4530ac705cec7c5344418d982aaf15cf0b1",
- "sha256": "01k0c2g395j65vm1w37mmrfkg6nm900khjrrizzpmx8f8yf20dky"
- }
- }
-]
diff --git a/pkgs/tools/filesystems/go-mtpfs/deps.nix b/pkgs/tools/filesystems/go-mtpfs/deps.nix
new file mode 100644
index 000000000000..4bba3f237392
--- /dev/null
+++ b/pkgs/tools/filesystems/go-mtpfs/deps.nix
@@ -0,0 +1,20 @@
+[
+ {
+ goPackagePath = "github.com/hanwen/go-fuse";
+ fetch = {
+ type = "git";
+ url = "https://github.com/hanwen/go-fuse";
+ rev = "bd746dd8bcc8c059a9d953a786a6156eb83f398e";
+ sha256 = "1dvvclp418j3d02v9717sfqhl6fw6yyddr9r3j8gsiv8nb62ib56";
+ };
+ }
+ {
+ goPackagePath = "github.com/hanwen/usb";
+ fetch = {
+ type = "git";
+ url = "https://github.com/hanwen/usb";
+ rev = "69aee4530ac705cec7c5344418d982aaf15cf0b1";
+ sha256 = "01k0c2g395j65vm1w37mmrfkg6nm900khjrrizzpmx8f8yf20dky";
+ };
+ }
+]