Merge pull request #232957 from viraptor/remove-spacegun

spacegun: remove
This commit is contained in:
Stanisław Pitucha 2023-05-20 20:56:28 +10:00 committed by GitHub
commit f42545d2c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 1 additions and 10976 deletions

View File

@ -1,33 +0,0 @@
{ pkgs, fetchFromGitHub, nodejs, stdenv, lib, ... }:
let
src = fetchFromGitHub {
owner = "dvallin";
repo = "spacegun";
rev = "v0.3.3";
sha256 = "0cd9yzms44dj9ix8lrhbkby5zsyb8wambs24j6c3ibr67sggr6sq";
};
nodePackages = import ./node-composition.nix {
inherit pkgs nodejs;
inherit (stdenv.hostPlatform) system;
};
in
nodePackages.package.override {
inherit src;
nativeBuildInputs = [ pkgs.makeWrapper pkgs.nodePackages.node-gyp-build ];
postInstall = ''
# Patch shebangs in node_modules, otherwise the webpack build fails with interpreter problems
patchShebangs --build "$out/lib/node_modules/spacegun/node_modules/"
# compile Typescript sources
npm run build
'';
meta = with lib; {
broken = stdenv.isDarwin;
description = "Version controlled multi-cluster deployment manager for kubernetes";
maintainers = with maintainers; [ ];
license = licenses.mit;
};
}

View File

@ -1,17 +0,0 @@
#!/usr/bin/env nix-shell
#! nix-shell -i bash -p nodePackages.node2nix
# Download package.json and package-lock.json from the v0.3.3 release
curl https://raw.githubusercontent.com/dvallin/spacegun/f88cfd1cf653995a301ef4db4a1e387ef3ca01a1/package.json -o package.json
curl https://raw.githubusercontent.com/dvallin/spacegun/f88cfd1cf653995a301ef4db4a1e387ef3ca01a1/package-lock.json -o package-lock.json
node2nix \
--nodejs-16 \
--node-env ../../../../development/node-packages/node-env.nix \
--development \
--input package.json \
--lock package-lock.json \
--output node-packages.nix \
--composition node-composition.nix
rm -f package.json package-lock.json

View File

@ -1,17 +0,0 @@
# This file has been generated by node2nix 1.9.0. Do not edit!
{pkgs ? import <nixpkgs> {
inherit system;
}, system ? builtins.currentSystem, nodejs ? pkgs."nodejs_14"}:
let
nodeEnv = import ../../../../development/node-packages/node-env.nix {
inherit (pkgs) stdenv lib python2 runCommand writeTextFile writeShellScript;
inherit pkgs nodejs;
libtool = if pkgs.stdenv.isDarwin then pkgs.darwin.cctools else null;
};
in
import ./node-packages.nix {
inherit (pkgs) fetchurl nix-gitignore stdenv lib fetchgit;
inherit nodeEnv;
}

File diff suppressed because it is too large Load Diff

View File

@ -1552,6 +1552,7 @@ mapAliases ({
sourcetrail = throw "sourcetrail has been removed: abandoned by upstream"; # Added 2022-08-14
spacegun = throw "'spacegun' has been removed as unmaintained"; # Added 2023-05-20
spaceOrbit = throw "'spaceOrbit' has been renamed to/replaced by 'space-orbit'"; # Converted to throw 2022-02-22
spectral = neochat; # Added 2020-12-27
speech_tools = throw "'speech_tools' has been renamed to/replaced by 'speech-tools'"; # Converted to throw 2022-02-22

View File

@ -32863,8 +32863,6 @@ with pkgs;
storrent = callPackage ../applications/networking/p2p/storrent { };
spacegun = callPackage ../applications/networking/cluster/spacegun { };
speedread = callPackage ../applications/misc/speedread { };
station = callPackage ../applications/networking/station { };