!ZUiNnfpRqQMDrPLChM:nixos.org

Nix ♥ la francophonie

213 Members
Salon francographe de NixOS70 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
19 May 2023
@raitobezarius:matrix.orgraitobezariussans parler que NPM casse tout à chaque release17:18:37
@ambroisie:belanyi.frAmbroisieÇa encore, bien que ça soit un enfer, ça peut être manageable 17:18:56
@ambroisie:belanyi.frAmbroisieCe qui rend fou c'est que y'a pas un seul package manager qui fasse tout comme il faut 17:19:12
@ambroisie:belanyi.frAmbroisieEt ils semblent en inventer un nouveau tout les 6 mois (y'a que Python qui atteint un même niveau) 🙃 17:19:48
@badele:matrix.orgBruno Adele2023-05-19_19-27.png
Download 2023-05-19_19-27.png
17:28:13
@badele:matrix.orgBruno AdeleLes embrouilles commencent :)17:28:20
@badele:matrix.orgBruno Adele
{ lib, buildNpmPackage, fetchFromGitHub, nix-update-script }:

buildNpmPackage rec {
  pname = "tetra-kit-player";
  version = "2023-05-19";

  src = fetchFromGitHub {
    owner = "sonictruth";
    repo = pname;
    rev = "ea258fcfeb0ff43bf1d8911d3a7c7c6326e11750";
    sha256 = "sha256-3TjbVv3MEpKUITPxB1xvTTGLAq7hbOSJzu486AVkzAM=";
  };

  # prefetch-npm-deps package-lock.json
  npmDepsHash = "sha256-DWjzQF55dDUOFqPxJIwuWIgS2mQqWhQ6CuAUVYFqTUo=";
  dontNpmBuild = true;

  passthru.updateScript = nix-update-script { };

  meta = with lib; {
    description = "TKP is web application that streams events and files produced by tetra kit.";
    homepage = "https://github.com/sonictruth/tetra-kit-player";
    license = licenses.isc;
  };
}

Mon package

17:29:02
@badele:matrix.orgBruno Adele *
{ lib, buildNpmPackage, fetchFromGitHub, nix-update-script }:

buildNpmPackage rec {
  pname = "tetra-kit-player";
  version = "2023-05-19";

  src = fetchFromGitHub {
    owner = "sonictruth";
    repo = pname;
    rev = "ea258fcfeb0ff43bf1d8911d3a7c7c6326e11750";
    sha256 = "sha256-3TjbVv3MEpKUITPxB1xvTTGLAq7hbOSJzu486AVkzAM=";
  };

  # prefetch-npm-deps package-lock.json
  npmDepsHash = "sha256-DWjzQF55dDUOFqPxJIwuWIgS2mQqWhQ6CuAUVYFqTUo=";
  dontNpmBuild = true;

  passthru.updateScript = nix-update-script { };

  meta = with lib; {
    description = "TKP is web application that streams events and files produced by tetra kit.";
    homepage = "https://github.com/sonictruth/tetra-kit-player";
    license = licenses.isc;
  };
}

Mon package, y'a 2 ou 3 options, que je vérifierais après (je pense que certaines ne sont pas nécéssaires

17:29:43
@raitobezarius:matrix.orgraitobezariusc'est un vieux package-lock17:35:36

Show newer messages


Back to Room ListRoom Version: 6