ceph: Add git derivation
commit05d7fb205474843e62694a15539fcf97a7f76a8b
authorWilliam A. Kennington III <william@wkennington.com>
dateWed 22 Apr 2015, 12:34 (12 years ago)
parent9f55b2d
pkgs/tools/filesystems/ceph/git.nixnew file+13
@@ -0,0 +1,13 @@
1+{ callPackage, fetchgit, git, ... } @ args:
2+
3+callPackage ./generic.nix (args // rec {
4+ version = "2015-04-22";
5+
6+ src = fetchgit {
7+ url = "git://github.com/ceph/ceph.git";
8+ rev = "89262abc53e324f3ef4d504473a4f1d6eb337c20";
9+ sha256 = "0d6hlk1nwgx9cdhvppggz6sbjc1jl8j26l9739qspw1sviac5lcb";
10+ };
11+
12+ buildInputs = [ git ];
13+})
pkgs/top-level/all-packages.nix+2−1
@@ -941,7 +941,8 @@ let
941941 ceph-0_80 = callPackage ../tools/filesystems/ceph/0.80.nix { };
942942 ceph-0_94 = callPackage ../tools/filesystems/ceph/0.94.nix { };
943943 ceph = callPackage ../tools/filesystems/ceph { };
944− ceph-dev = callPackage ../tools/filesystems/ceph/dev.nix { };
944+ ceph-dev = lowPrio (callPackage ../tools/filesystems/ceph/dev.nix { });
945+ ceph-git = lowPrio (callPackage ../tools/filesystems/ceph/git.nix { });
945946
946947 cfdg = builderDefsPackage ../tools/graphics/cfdg {
947948 inherit libpng bison flex ffmpeg;