Use callPackage machinery for dependency resolution a bit more
This commit is contained in:
parent
eb4b9b38d1
commit
2851d85d3d
|
@ -2,13 +2,13 @@
|
||||||
stdenv,
|
stdenv,
|
||||||
callPackage,
|
callPackage,
|
||||||
lib,
|
lib,
|
||||||
pkgs,
|
cmake,
|
||||||
buildApps ? true,
|
buildApps ? true,
|
||||||
}:
|
}:
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "ajantv2-dev";
|
name = "ajantv2-dev";
|
||||||
src = callPackage ./src.nix {};
|
src = callPackage ./src.nix {};
|
||||||
nativeBuildInputs = [pkgs.cmake];
|
nativeBuildInputs = [ cmake ];
|
||||||
|
|
||||||
cmakeFlags =
|
cmakeFlags =
|
||||||
[
|
[
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
{ pkgs }: pkgs.fetchFromGitHub {
|
{ fetchFromGitHub }:
|
||||||
|
|
||||||
|
fetchFromGitHub {
|
||||||
owner = "aja-video";
|
owner = "aja-video";
|
||||||
repo = "ntv2";
|
repo = "ntv2";
|
||||||
rev = "refs/heads/main";
|
rev = "refs/heads/main";
|
||||||
|
|
Loading…
Reference in New Issue