Last active
May 23, 2021 16:58
-
-
Save thefenriswolf/baaadf92a1b9511b49666ce83fabac8f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| with import <nixpkgs> { }; | |
| stdenv.mkDerivation rec { | |
| pname = "cockpit"; | |
| version = "230"; | |
| src = fetchzip { | |
| url = | |
| "https://github.com/cockpit-project/cockpit/releases/download/${version}/cockpit-${version}.tar.xz"; | |
| sha256 = "0qq9f5k996rw47b2jpx4lx5d3lczcmmx91r21pq55d713c53i25f"; | |
| }; | |
| # 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" | |
| ]; | |
| 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 | |
| ]; # I would love to not be the only maintainer for this package | |
| }; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment