mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
Merge pull request #113578 from hercules-ci/cassandra
This commit is contained in:
commit
661263d312
@ -4,4 +4,8 @@ callPackage ./generic.nix (args // {
|
||||
version = "2.1.22";
|
||||
sha256 = "1wk57dz0kmc6d5y8d8dkx269lzh3ark3751z734gxncwdlclcyz3";
|
||||
generation = "2_1";
|
||||
extraMeta.knownVulnerabilities = [
|
||||
# Fixed in 3.* but 2.* hasn't been released since
|
||||
"CVE-2020-17516"
|
||||
];
|
||||
})
|
||||
|
@ -4,4 +4,8 @@ callPackage ./generic.nix (args // {
|
||||
version = "2.2.14";
|
||||
sha256 = "1b2x3q1ach44qg07sh8wr7d8a10n36w5522drd3p35djbiwa3d9q";
|
||||
generation = "2_2";
|
||||
extraMeta.knownVulnerabilities = [
|
||||
# Fixed in 3.* but 2.* hasn't been released since
|
||||
"CVE-2020-17516"
|
||||
];
|
||||
})
|
||||
|
@ -1,7 +1,7 @@
|
||||
{ callPackage, ... } @ args:
|
||||
|
||||
callPackage ./generic.nix (args // {
|
||||
version = "3.0.23";
|
||||
sha256 = "0cbia20bggq85q2p6gsybw045qdfqxd5xv8ihppq1hwl21sb2klz";
|
||||
version = "3.0.24";
|
||||
sha256 = "1yxw4jg9n49dbi1mjdfpxczsznl9m6sxlzkmzjancmjzvj5s6bvz";
|
||||
generation = "3_0";
|
||||
})
|
||||
|
@ -1,7 +1,7 @@
|
||||
{ callPackage, ... } @ args:
|
||||
|
||||
callPackage ./generic.nix (args // {
|
||||
version = "3.11.9";
|
||||
sha256 = "1ckaacc1z0j72llklrc4587ia6a0pab02bdyac6g3kl6kqvcz40c";
|
||||
version = "3.11.10";
|
||||
sha256 = "1wcv0drhb765fda6kkpsxsyfdv4cqf7nqfwc4bimh4c4djap5rxv";
|
||||
generation = "3_11";
|
||||
})
|
||||
|
@ -3,6 +3,7 @@
|
||||
# generation is the attribute version suffix such as 3_11 in pkgs.cassandra_3_11
|
||||
, generation
|
||||
, version, sha256
|
||||
, extraMeta ? {}
|
||||
, ...
|
||||
}:
|
||||
|
||||
@ -30,6 +31,8 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [ makeWrapper coreutils ];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir $out
|
||||
mv * $out
|
||||
|
||||
@ -85,6 +88,8 @@ stdenv.mkDerivation rec {
|
||||
done
|
||||
|
||||
wrapProgram $out/bin/cqlsh --prefix PATH : ${python}/bin
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
@ -104,5 +109,5 @@ stdenv.mkDerivation rec {
|
||||
platforms = platforms.unix;
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.roberth ];
|
||||
};
|
||||
} // extraMeta;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user