Skip to content

Instantly share code, notes, and snippets.

@baronleonardo
Forked from thefenriswolf/cockpit.nix
Last active May 23, 2021 17:04
Show Gist options
  • Select an option

  • Save baronleonardo/a4e83df0a7e6c20fa3cd0c9317e10b80 to your computer and use it in GitHub Desktop.

Select an option

Save baronleonardo/a4e83df0a7e6c20fa3cd0c9317e10b80 to your computer and use it in GitHub Desktop.
add another maintainer
with import <nixpkgs> { };
stdenv.mkDerivation rec {
pname = "cockpit";
version = "244.1";
src = fetchzip {
url =
"https://github.com/cockpit-project/cockpit/releases/download/${version}/cockpit-${version}.tar.xz";
sha256 = "1fw7qmnwd7m9b4xklm7k15amwha8zy4sxk2a3hpdqgjp919v01a3";
};
# src = fetchFromGitHub {
# owner = "cockpit-project";
# repo = "cockpit";
# rev = "a65cbeffb455d2dd443f8362eda6b2b2328bccf8";
# sha256 = "0wy7j096qar9pyqgfbwd82ws322n3j3ydprk4wadwhzi58jazh1q";
# };
nativeBuildInputs = [ nodejs automake pkgconfig python ];
buildInputs = [
systemd
polkit
gtk-doc
json-glib
krb5
nfs-utils
pam_krb5
linux-pam
libxslt
libssh
intltool
gobject-introspection
networkmanager
xmlto
nodePackages.npm
nodePackages.webpack
perlPackages.JavaScriptMinifierXS
perlPackages.FileShareDir
perlPackages.JSON
];
configureFlags = [
"--disable-pcp"
"--disable-doc"
"--with-systemdunitdir=$(out)/etc/systemd"
];
meta = with stdenv.lib; {
description = "A sysadmin login session in a web browser";
homepage = "https://www.cockpit-project.org";
license = stdenv.lib.licenses.lgpl2;
platforms = [ "x86_64-linux" ];
maintainers = with maintainers;
[
thefenriswolf
baronleonardo
];
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment