scry: drop
This commit is contained in:
committed by
Peter Hoeg
parent
907b8e2c0f
commit
e8832afeb3
@@ -1,55 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
crystal,
|
||||
coreutils,
|
||||
makeWrapper,
|
||||
bash,
|
||||
}:
|
||||
|
||||
crystal.buildCrystalPackage rec {
|
||||
pname = "scry";
|
||||
version = "0.9.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "crystal-lang-tools";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-hqyG1aKY3M8q8lZEKzpUUKl9jS7NF+VMsma6+C0sCbg=";
|
||||
};
|
||||
|
||||
# a bunch of tests fail when built in the sandbox while perfectly fine outside
|
||||
postPatch = ''
|
||||
rm spec/scry/{client,completion_provider,context,executable}_spec.cr
|
||||
'';
|
||||
|
||||
format = "shards";
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
buildInputs = [ bash ];
|
||||
|
||||
shardsFile = ./shards.nix;
|
||||
|
||||
postFixup = ''
|
||||
wrapProgram $out/bin/scry \
|
||||
--prefix PATH : ${
|
||||
lib.makeBinPath [
|
||||
crystal
|
||||
coreutils
|
||||
]
|
||||
}
|
||||
'';
|
||||
|
||||
# the binary doesn't take any arguments, so this will hang
|
||||
doInstallCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Code analysis server for the Crystal programming language";
|
||||
homepage = "https://github.com/crystal-lang-tools/scry";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [
|
||||
peterhoeg
|
||||
Br1ght0ne
|
||||
];
|
||||
};
|
||||
}
|
||||
@@ -1,14 +0,0 @@
|
||||
{
|
||||
json_mapping = {
|
||||
owner = "crystal-lang";
|
||||
repo = "json_mapping.cr";
|
||||
rev = "v0.1.0";
|
||||
sha256 = "1qq5vs2085x7cwmp96rrjns0yz9kiz1lycxynfbz5psxll6b8p55";
|
||||
};
|
||||
lsp = {
|
||||
owner = "crystal-lang-tools";
|
||||
repo = "lsp";
|
||||
rev = "v0.2.0";
|
||||
sha256 = "1lnviqrywh0w05mx67mzw7d1qz328p52z4k69pcqw66gs44i7b5c";
|
||||
};
|
||||
}
|
||||
@@ -1261,6 +1261,7 @@ mapAliases {
|
||||
schildichat-desktop = schildichat-web;
|
||||
schildichat-desktop-wayland = schildichat-web;
|
||||
scitoken-cpp = scitokens-cpp; # Added 2024-02-12
|
||||
scry = "'scry' has been removed as it was archived upstream. Use 'crystalline' instead"; # Added 2025-02-12
|
||||
semeru-bin-16 = throw "Semeru 16 has been removed as it has reached its end of life"; # Added 2024-08-01
|
||||
semeru-jre-bin-16 = throw "Semeru 16 has been removed as it has reached its end of life"; # Added 2024-08-01
|
||||
sensu = throw "sensu has been removed as the upstream project is deprecated. Consider using `sensu-go`"; # Added 2024-10-28
|
||||
|
||||
@@ -5760,8 +5760,6 @@ with pkgs;
|
||||
llvmPackages = crystal.llvmPackages;
|
||||
};
|
||||
|
||||
scry = callPackage ../development/tools/scry { crystal = crystal_1_2; };
|
||||
|
||||
devpi-client = python3Packages.callPackage ../development/tools/devpi-client { };
|
||||
|
||||
devpi-server = python3Packages.callPackage ../development/tools/devpi-server { };
|
||||
|
||||
Reference in New Issue
Block a user