Skip to content

Commit 24fa239

Browse files
committed
stenc: 1.1.1 -> 2.0.0
1 parent 8959d73 commit 24fa239

File tree

1 file changed

+15
-11
lines changed

1 file changed

+15
-11
lines changed

pkgs/by-name/st/stenc/package.nix

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,27 +4,31 @@
44
fetchFromGitHub,
55
gitUpdater,
66
autoreconfHook,
7+
pkg-config,
8+
pandoc,
79
}:
810

911
stdenv.mkDerivation rec {
1012
pname = "stenc";
11-
version = "1.1.1";
13+
version = "2.0.0";
14+
15+
outputs = [
16+
"out"
17+
"man"
18+
];
1219

1320
src = fetchFromGitHub {
1421
owner = "scsitape";
1522
repo = "stenc";
16-
rev = version;
17-
sha256 = "GcCRVkv+1mREq3MhMRn5fICthwI4WRQJSP6InuzxP1Q=";
23+
tag = version;
24+
sha256 = "sha256-L0g285H8bf3g+HDYUDRWBZMOBCnWz3Vm38Ijttu404U=";
1825
};
1926

20-
postPatch = ''
21-
# Fix gcc-13 build by pulling missing header. UPstream also fixed it
22-
# in next major version, but there are many other patch dependencies.
23-
# TODO: remove on next major version update
24-
sed -e '1i #include <cstdint>' -i src/scsiencrypt.h
25-
'';
26-
27-
nativeBuildInputs = [ autoreconfHook ];
27+
nativeBuildInputs = [
28+
autoreconfHook
29+
pkg-config
30+
pandoc
31+
];
2832

2933
passthru.updateScript = gitUpdater { };
3034

0 commit comments

Comments
 (0)