depot/pkgs/applications/window-managers/yabar/unstable.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

32 lines
815 B
Nix

{ fetchpatch, playerctl, libxkbcommon, callPackage, nixosTests, attrs ? {} }:
let
pkg = callPackage ./build.nix ({
version = "unstable-2018-01-18";
rev = "c516e8e78d39dd2b339acadc4c175347171150bb";
sha256 = "1p9lx78cayyn7qc2q66id2xfs76jyddnqv2x1ypsvixaxwcvqgdb";
} // attrs);
in pkg.overrideAttrs (o: {
buildInputs = o.buildInputs ++ [
playerctl libxkbcommon
];
makeFlags = o.makeFlags ++ [
"PLAYERCTL=1"
];
patches = (o.patches or []) ++ [
(fetchpatch {
url = "https://github.com/geommer/yabar/commit/008dc1420ff684cf12ce2ef3ac9d642e054e39f5.patch";
sha256 = "1q7nd66ai6nr2m6iqxn55gvbr4r5gjc00c8wyjc3riv31qcbqbhv";
})
];
passthru = (o.passthru or {}) // {
tests = (o.passthru.tests or {}) // {
inherit (nixosTests) yabar;
};
};
})