feat(metis): Use upstream expression for the package

This commit is contained in:
Tom Hubrecht 2023-10-02 23:13:04 +02:00
parent 5622bc3748
commit 566b392b21
2 changed files with 1 additions and 24 deletions

View file

@ -1,7 +1,7 @@
{ lib, pkgs, sources, ... }:
let
package = pkgs.callPackage ./package.nix { src = sources.metis; };
package = (import sources.metis { inherit pkgs; }).production;
providers = {
klub-reseau = "nuage.beta.rz.ens.wtf";

View file

@ -1,23 +0,0 @@
{ lib, fetchgit, buildNpmPackage, src }:
buildNpmPackage {
pname = "metis";
version = "unstable";
inherit src;
npmDepsHash = "sha256-RbjWNVY8KlPP9ajQRnrsWhOZiiyyMGQSY39lmZnTC1I=";
installPhase = ''
cp -r public $out
'';
meta = with lib; {
description = "";
homepage = "https://git.dgnum.eu/DGNum/metis";
license = licenses.unfree; # FIXME: nix-init did not found a license
maintainers = with maintainers; [ thubrecht ];
mainProgram = "metis";
platforms = platforms.all;
};
}