File tree Expand file tree Collapse file tree 1 file changed +22
-10
lines changed
Expand file tree Collapse file tree 1 file changed +22
-10
lines changed Original file line number Diff line number Diff line change 44 fetchFromGitHub ,
55 gitUpdater ,
66 autoreconfHook ,
7+ pkg-config ,
8+ pandoc ,
9+ installShellFiles ,
710} :
811
912stdenv . mkDerivation rec {
1013 pname = "stenc" ;
11- version = "1.1.1" ;
14+ version = "2.0.0" ;
15+
16+ outputs = [
17+ "out"
18+ "man"
19+ ] ;
1220
1321 src = fetchFromGitHub {
1422 owner = "scsitape" ;
1523 repo = "stenc" ;
16- rev = version ;
17- sha256 = "GcCRVkv+1mREq3MhMRn5fICthwI4WRQJSP6InuzxP1Q =" ;
24+ tag = version ;
25+ sha256 = "sha256-L0g285H8bf3g+HDYUDRWBZMOBCnWz3Vm38Ijttu404U =" ;
1826 } ;
1927
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- '' ;
28+ nativeBuildInputs = [
29+ autoreconfHook
30+ pkg-config
31+ pandoc
32+ installShellFiles
33+ ] ;
2634
27- nativeBuildInputs = [ autoreconfHook ] ;
35+ doCheck = true ;
36+
37+ postInstall = ''
38+ installShellCompletion --bash bash-completion/stenc
39+ '' ;
2840
2941 passthru . updateScript = gitUpdater { } ;
3042
You can’t perform that action at this time.
0 commit comments