Skip to content

Commit 3e10c52

Browse files
v4l2-relayd: 0.1.3 -> 0.1.5 (NixOS#438647)
2 parents 73ad7f5 + f226058 commit 3e10c52

File tree

2 files changed

+13
-28
lines changed

2 files changed

+13
-28
lines changed

pkgs/by-name/v4/v4l2-relayd/package.nix

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,18 @@
88
libtool,
99
pkg-config,
1010
which,
11+
gitUpdater,
1112
}:
12-
stdenv.mkDerivation rec {
13+
stdenv.mkDerivation (finalAttrs: {
1314
pname = "v4l2-relayd";
14-
version = "0.1.3";
15+
version = "0.1.5";
1516

1617
src = fetchgit {
1718
url = "https://git.launchpad.net/v4l2-relayd";
18-
tag = "upstream/${version}";
19-
hash = "sha256-oU6naDFZ0PQVHZ3brANfMULDqYMYxeJN+MCUCvN/DpU=";
19+
tag = "upstream/${finalAttrs.version}";
20+
hash = "sha256-D+OWkny+TYNJt08X+nl7EYs5tp51vjvig/vuID6lkmg=";
2021
};
2122

22-
patches = [
23-
./upstream-v4l2loopback-compatibility.patch
24-
];
25-
2623
nativeBuildInputs = [
2724
autoreconfHook
2825
libtool
@@ -38,12 +35,16 @@ stdenv.mkDerivation rec {
3835

3936
preConfigure = "./autogen.sh --prefix=$out";
4037

41-
meta = with lib; {
38+
passthru.updateScript = gitUpdater {
39+
rev-prefix = "upstream/";
40+
};
41+
42+
meta = {
4243
description = "Streaming relay for v4l2loopback using GStreamer";
4344
mainProgram = "v4l2-relayd";
4445
homepage = "https://git.launchpad.net/v4l2-relayd";
45-
license = licenses.gpl2Only;
46-
maintainers = with maintainers; [ betaboon ];
46+
license = lib.licenses.gpl2Only;
47+
maintainers = with lib.maintainers; [ betaboon ];
4748
platforms = [ "x86_64-linux" ];
4849
};
49-
}
50+
})

pkgs/by-name/v4/v4l2-relayd/upstream-v4l2loopback-compatibility.patch

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)