summary refs log tree commit diff
path: root/pkgs/applications/virtualization/docker
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2018-04-17 13:49:19 -0500
committerMatthew Bauer <mjbauer95@gmail.com>2018-04-17 13:50:49 -0500
commit52893d527638be9ddeb3669796856508afff252e (patch)
treea70f8e35b1f84ec88dba31529107a2845cd3304e /pkgs/applications/virtualization/docker
parent6c182dd14dea6a68dd80e780c763b76dfceae0a2 (diff)
downloadnixlib-52893d527638be9ddeb3669796856508afff252e.tar
nixlib-52893d527638be9ddeb3669796856508afff252e.tar.gz
nixlib-52893d527638be9ddeb3669796856508afff252e.tar.bz2
nixlib-52893d527638be9ddeb3669796856508afff252e.tar.lz
nixlib-52893d527638be9ddeb3669796856508afff252e.tar.xz
nixlib-52893d527638be9ddeb3669796856508afff252e.tar.zst
nixlib-52893d527638be9ddeb3669796856508afff252e.zip
treewide: move "extensions" drvs to dir
This cleans up the tree for pkgs/applications somewhat. Should not
change any hashes.
Diffstat (limited to 'pkgs/applications/virtualization/docker')
-rw-r--r--pkgs/applications/virtualization/docker/distribution.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/applications/virtualization/docker/distribution.nix b/pkgs/applications/virtualization/docker/distribution.nix
new file mode 100644
index 000000000000..0af9abc852ef
--- /dev/null
+++ b/pkgs/applications/virtualization/docker/distribution.nix
@@ -0,0 +1,23 @@
+{ stdenv, buildGoPackage, fetchFromGitHub }:
+
+buildGoPackage rec {
+  name = "distribution-${version}";
+  version = "2.6.2";
+  rev = "v${version}";
+
+  goPackagePath = "github.com/docker/distribution";
+
+  src = fetchFromGitHub {
+    owner = "docker";
+    repo = "distribution";
+    inherit rev;
+    sha256 = "0nj4xd72mik4pj8g065cqb0yjmgpj5ppsqf2k5ibz9f68c39c00b";
+  };
+
+  meta = with stdenv.lib; {
+    description = "The Docker toolset to pack, ship, store, and deliver content";
+    license = licenses.asl20;
+    maintainers = [ maintainers.globin ];
+    platforms = platforms.unix;
+  };
+}