add lockscreen
This commit is contained in:
@@ -1,14 +0,0 @@
|
||||
final: prev: {
|
||||
obsidian = prev.obsidian.overrideAttrs (old: {
|
||||
|
||||
src = prev.fetchurl {
|
||||
url = old.src.url;
|
||||
<<<<<<< HEAD
|
||||
hash = "sha256-bvmvzVyHrjh1Yj3JxEfry521CMX3E2GENmXddEeLwiE=";
|
||||
=======
|
||||
hash = "sha256-XVq0nQiyT2HvKQpzJIvhghsGgg4ye7uqZcyA1nH4O/o=";
|
||||
>>>>>>> test
|
||||
};
|
||||
});
|
||||
}
|
||||
|
||||
31
overlays/river-status.nix
Normal file
31
overlays/river-status.nix
Normal file
@@ -0,0 +1,31 @@
|
||||
self: super:
|
||||
|
||||
{
|
||||
river-status = super.rustPlatform.buildRustPackage rec {
|
||||
pname = "river-status";
|
||||
version = "0.1.0"; # Replace with the actual version if known
|
||||
|
||||
src = super.fetchFromGitHub {
|
||||
owner = "grvn";
|
||||
repo = "river-status";
|
||||
rev = "main"; # Replace with a specific commit hash or tag if needed
|
||||
sha256 = "sha256-QTHn3+8CRpm5CoTwuhoMjBG16CYcOb79cOXgcgzimkc="; # Placeholder
|
||||
};
|
||||
|
||||
cargoHash = "sha256-DPsQE71sEpfVnyI6V/da5n9V9pbItPZMuu/EM/30Jyo="; # Placeholder
|
||||
nativeBuildInputs = [
|
||||
super.pkg-config # If you're dealing with C libraries or dependencies
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
super.wayland-utils # Add this or other dependencies if they are required for building
|
||||
];
|
||||
|
||||
meta = with super.lib; {
|
||||
description = "A client for fetching status information from the River Wayland compositor";
|
||||
homepage = "https://github.com/grvn/river-status";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ "Elias Schröter" ];
|
||||
};
|
||||
};
|
||||
}
|
||||
5
overlays/shell.nix
Normal file
5
overlays/shell.nix
Normal file
@@ -0,0 +1,5 @@
|
||||
{ pkgs ? import <nixpkgs> { overlays = [ (import ./river-status.nix) ]; } }:
|
||||
|
||||
pkgs.mkShell {
|
||||
buildInputs = [ pkgs.river-status ];
|
||||
}
|
||||
Reference in New Issue
Block a user