feat(metis): Use upstream expression for the package
This commit is contained in:
parent
5622bc3748
commit
566b392b21
2 changed files with 1 additions and 24 deletions
|
@ -1,7 +1,7 @@
|
||||||
{ lib, pkgs, sources, ... }:
|
{ lib, pkgs, sources, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
package = pkgs.callPackage ./package.nix { src = sources.metis; };
|
package = (import sources.metis { inherit pkgs; }).production;
|
||||||
|
|
||||||
providers = {
|
providers = {
|
||||||
klub-reseau = "nuage.beta.rz.ens.wtf";
|
klub-reseau = "nuage.beta.rz.ens.wtf";
|
||||||
|
|
|
@ -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;
|
|
||||||
};
|
|
||||||
}
|
|
Loading…
Reference in a new issue