Loading pkgs/by-name/co/cockpit-machines/package.nix 0 → 100644 +67 −0 Original line number Diff line number Diff line { lib, stdenv, cockpit, nodejs, gettext, writeShellScriptBin, fetchFromGitHub, gitUpdater, libosinfo, osinfo-db, }: stdenv.mkDerivation (finalAttrs: { pname = "cockpit-machines"; version = "346"; src = fetchFromGitHub { owner = "cockpit-project"; repo = "cockpit-machines"; tag = finalAttrs.version; hash = "sha256-fsEmxJ/9w4NbjgKhb4JTFY94FFTc735+ZQ8YieLQVpA="; fetchSubmodules = true; postFetch = "cp $out/node_modules/.package-lock.json $out/package-lock.json"; }; buildInputs = [ nodejs gettext (writeShellScriptBin "git" "true") ]; cockpitSrc = cockpit.src; postPatch = '' mkdir -p pkg; cp -r $cockpitSrc/pkg/lib pkg mkdir -p test; cp -r $cockpitSrc/test/common test substituteInPlace Makefile \ --replace-fail '$(MAKE) package-lock.json' 'true' \ --replace-fail '$(COCKPIT_REPO_FILES) | tar x' "" \ --replace-fail '/usr/local' "$out" substituteInPlace src/manifest.json \ --replace-fail '"/usr/share/dbus-1/system.d/org.libvirt.conf"' '"/etc/systemd/system/libvirt-dbus.service"' patchShebangs build.js ''; passthru = { updateScript = gitUpdater { }; cockpitPath = [ libosinfo osinfo-db ]; }; meta = { description = "Cockpit UI for virtual machines"; homepage = "https://github.com/cockpit-project/cockpit-machines"; changelog = "https://github.com/cockpit-project/cockpit-machines/releases/tag/${finalAttrs.version}"; platforms = lib.platforms.linux; license = [ lib.licenses.lgpl21 ]; teams = [ lib.teams.cockpit ]; }; }) Loading
pkgs/by-name/co/cockpit-machines/package.nix 0 → 100644 +67 −0 Original line number Diff line number Diff line { lib, stdenv, cockpit, nodejs, gettext, writeShellScriptBin, fetchFromGitHub, gitUpdater, libosinfo, osinfo-db, }: stdenv.mkDerivation (finalAttrs: { pname = "cockpit-machines"; version = "346"; src = fetchFromGitHub { owner = "cockpit-project"; repo = "cockpit-machines"; tag = finalAttrs.version; hash = "sha256-fsEmxJ/9w4NbjgKhb4JTFY94FFTc735+ZQ8YieLQVpA="; fetchSubmodules = true; postFetch = "cp $out/node_modules/.package-lock.json $out/package-lock.json"; }; buildInputs = [ nodejs gettext (writeShellScriptBin "git" "true") ]; cockpitSrc = cockpit.src; postPatch = '' mkdir -p pkg; cp -r $cockpitSrc/pkg/lib pkg mkdir -p test; cp -r $cockpitSrc/test/common test substituteInPlace Makefile \ --replace-fail '$(MAKE) package-lock.json' 'true' \ --replace-fail '$(COCKPIT_REPO_FILES) | tar x' "" \ --replace-fail '/usr/local' "$out" substituteInPlace src/manifest.json \ --replace-fail '"/usr/share/dbus-1/system.d/org.libvirt.conf"' '"/etc/systemd/system/libvirt-dbus.service"' patchShebangs build.js ''; passthru = { updateScript = gitUpdater { }; cockpitPath = [ libosinfo osinfo-db ]; }; meta = { description = "Cockpit UI for virtual machines"; homepage = "https://github.com/cockpit-project/cockpit-machines"; changelog = "https://github.com/cockpit-project/cockpit-machines/releases/tag/${finalAttrs.version}"; platforms = lib.platforms.linux; license = [ lib.licenses.lgpl21 ]; teams = [ lib.teams.cockpit ]; }; })