feat: make fprint-grosshack a package and cleanup custom package referencing
This commit is contained in:
parent
5d1e3e9985
commit
d8315c897d
7 changed files with 75 additions and 22 deletions
nixos/overlays
|
@ -4,5 +4,17 @@
|
|||
nixpkgs.overlays = [
|
||||
(import ./swayosd.nix)
|
||||
(import ./blueberry.nix)
|
||||
|
||||
(final: prev: {
|
||||
tutanota = final.callPackage ./pkgs/tutanota.nix {};
|
||||
})
|
||||
|
||||
(final: prev: {
|
||||
pam-fprint-grosshack = final.callPackage ./pkgs/pam-fprint-grosshack.nix {};
|
||||
})
|
||||
|
||||
(final: prev: {
|
||||
dracula-plymouth = final.callPackage ./pkgs/dracula-plymouth.nix {};
|
||||
})
|
||||
];
|
||||
}
|
||||
|
|
46
nixos/overlays/pkgs/pam-fprint-grosshack.nix
Normal file
46
nixos/overlays/pkgs/pam-fprint-grosshack.nix
Normal file
|
@ -0,0 +1,46 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, meson
|
||||
, ninja
|
||||
, pkg-config
|
||||
, glib
|
||||
, libfprint
|
||||
, polkit
|
||||
, dbus
|
||||
, systemd
|
||||
, pam
|
||||
, libpam-wrapper
|
||||
, fetchFromGitLab
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "pam-fprint-grosshack";
|
||||
version = "v0.3.0";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "mishakmak";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-obczZbf/oH4xGaVvp3y3ZyDdYhZnxlCWvL0irgEYIi0=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
meson
|
||||
ninja
|
||||
pkg-config
|
||||
glib
|
||||
libfprint
|
||||
polkit
|
||||
dbus
|
||||
systemd
|
||||
pam
|
||||
libpam-wrapper
|
||||
];
|
||||
|
||||
mesonFlags = [
|
||||
"-Dpam_modules_dir=${placeholder "out"}/lib/security"
|
||||
"-Dsysconfdir=${placeholder "out"}/etc"
|
||||
"-Ddbus_service_dir=${placeholder "out"}/share/dbus-1/system-services"
|
||||
"-Dsystemd_system_unit_dir=${placeholder "out"}/lib/systemd/system"
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue