Skip to content

Commit ddaff1b

Browse files
cmoogdanielfullmer
authored andcommitted
Bump tegra-eeprom-tool to upstream master
This removes the dependence on fork patches.
1 parent f65ff35 commit ddaff1b

File tree

1 file changed

+4
-19
lines changed

1 file changed

+4
-19
lines changed

tegra-eeprom-tool.nix

+4-19
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,16 @@
1-
{ stdenv, lib, fetchFromGitHub, fetchpatch, cmake, pkg-config, libedit }:
1+
{ stdenv, lib, fetchFromGitHub, cmake, pkg-config, libedit }:
22

33
stdenv.mkDerivation rec {
44
pname = "tegra-eeprom-tool";
5-
version = "v2.0.1";
5+
version = "unstable-2023-03-24";
66

77
src = fetchFromGitHub {
88
owner = "OE4T";
99
repo = pname;
10-
rev = version;
11-
sha256 = "sha256-H0BjgFLWf2eruyL5HF4Xu8IImiBra3qCofF4wfL1ebU=";
10+
rev = "283a701d25283a4e5584f5fe072bcb2d7d2ae1b1";
11+
sha256 = "sha256-YMHIruwF9YKjYJY52DLJ8eovFZYyrUt1jb5GbTcrC+A=";
1212
};
1313

14-
patches = [
15-
# Use CMAKE_INSTALL_FULL_* for absolute paths
16-
# https://github.com/OE4T/tegra-eeprom-tool/pull/8
17-
(fetchpatch {
18-
url = "https://github.com/danielfullmer/tegra-eeprom-tool/commit/25381fb3bd780f0e588744509edc17cf58003296.patch";
19-
sha256 = "sha256-QYcBglF6Ri0ZhJkVm4cIogkqbhm5e7tfDfWDim+IlhA=";
20-
})
21-
# Allow building using static libraries
22-
# https://github.com/OE4T/tegra-eeprom-tool/pull/9
23-
(fetchpatch {
24-
url = "https://github.com/danielfullmer/tegra-eeprom-tool/commit/e1b9349becb4ad5c28af19702d181751aa8ca52f.patch";
25-
sha256 = "sha256-BAQ0m9M+PAaiR+uaWXY4emClhpaxDOGyM1nKe8+F/FI=";
26-
})
27-
];
28-
2914
nativeBuildInputs = [ cmake pkg-config ];
3015
buildInputs = [ libedit ];
3116

0 commit comments

Comments
 (0)