blob: 62fe557b5b50abafccead833c4d41ba3148fbfed (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
{
alsa-utils,
fetchFromGitHub,
stdenv,
}:
stdenv.mkDerivation rec {
pname = "bruh";
version = "2.1";
src = fetchFromGitHub {
owner = "kejpies";
repo = pname;
rev = version;
hash = "sha256-Uw6Qes0IZkkfBchFnvnX9l1ZG5T5pyExmV7yUJLPOJ0=";
};
postPatch = ''
substituteInPlace bruh.c \
--replace "aplay" "${alsa-utils}/bin/aplay"
'';
makeFlags = ["PREFIX=$(out)"];
}
|