mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-25 01:33:17 +01:00
Revert "chore: Update to latest nixos-unstable release"
pass and qutebrowser depend on pykeepass and I'd rather not remove them at this time. See: https://github.com/NixOS/nixpkgs/pull/331310
This commit is contained in:
parent
acca42a7cf
commit
3f10f44bb9
12
flake.lock
12
flake.lock
@ -201,16 +201,16 @@
|
||||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1722421184,
|
||||
"narHash": "sha256-/DJBI6trCeVnasdjUo9pbnodCLZcFqnVZiLUfqLH4jA=",
|
||||
"owner": "NixOS",
|
||||
"lastModified": 1721924089,
|
||||
"narHash": "sha256-XfIZ6V8cks3a20ONHMeQjF+A/d/rH0I8IXmvA30EAig=",
|
||||
"owner": "donovanglover",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "9f918d616c5321ad374ae6cb5ea89c9e04bf3e58",
|
||||
"rev": "e8aa612d4127ed9d4ce9e5b4ed8163121af43912",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NixOS",
|
||||
"ref": "nixos-unstable",
|
||||
"owner": "donovanglover",
|
||||
"ref": "unstable-phosh-0.40.0",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
nixpkgs.url = "github:donovanglover/nixpkgs/unstable-phosh-0.40.0";
|
||||
|
||||
home-manager = {
|
||||
url = "github:nix-community/home-manager";
|
||||
|
14
overlays/xdg-desktop-portal-hyprland.nix
Normal file
14
overlays/xdg-desktop-portal-hyprland.nix
Normal file
@ -0,0 +1,14 @@
|
||||
final: prev: {
|
||||
xdg-desktop-portal-hyprland = prev.xdg-desktop-portal-hyprland.overrideAttrs (oldAttrs: rec {
|
||||
version = "1.3.3";
|
||||
|
||||
src = prev.fetchFromGitHub {
|
||||
owner = "hyprwm";
|
||||
repo = "xdg-desktop-portal-hyprland";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-cyyxu/oj4QEFp3CVx2WeXa9T4OAUyynuBJHGkBZSxJI=";
|
||||
};
|
||||
|
||||
patches = [ ];
|
||||
});
|
||||
}
|
37
packages/rmpc.nix
Normal file
37
packages/rmpc.nix
Normal file
@ -0,0 +1,37 @@
|
||||
{ lib
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
, pkg-config
|
||||
, cmake
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage {
|
||||
pname = "rmpc";
|
||||
version = "0.2.1-unstable-2024-07-27";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mierak";
|
||||
repo = "rmpc";
|
||||
rev = "f12be6f606f5319523f41576e7c463b6008b9069";
|
||||
hash = "sha256-mKTl2sZdrkecd9fMBllHC0YiVHK8rUdoRmN2YF4T9O0=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-/00WGuuxtwtpNuEEeapJhVedbg3RMUtTEQbYYu518po=";
|
||||
|
||||
cargoPatches = [
|
||||
../assets/rmpc-support-older-rustc.patch
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
cmake
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Configurable, terminal-based media player client with album art support via kitty image protocol";
|
||||
homepage = "https://github.com/mierak/rmpc";
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = with lib.maintainers; [ donovanglover ];
|
||||
mainProgram = "rmpc";
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user