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:
Donovan Glover 2024-08-01 13:45:44 -04:00
parent acca42a7cf
commit 3f10f44bb9
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
4 changed files with 58 additions and 7 deletions

View File

@ -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"
}

View File

@ -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";

View 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
View 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";
};
}