atomicparsley: 20210617.200601.1ac7c08 -> 20210715.151551.e7ad03a

and enable tests
This commit is contained in:
Artturin 2021-08-10 03:48:29 +03:00
parent 3f7771d65c
commit 97f6138420

View File

@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "atomicparsley";
version = "20210617.200601.1ac7c08";
version = "20210715.151551.e7ad03a";
src = fetchFromGitHub {
owner = "wez";
repo = pname;
rev = version;
sha256 = "sha256-IhZe0vM41JhO8H79ZrRx4FRA4zfB6X0daC8QoE5MHmU=";
sha256 = "sha256-77yWwfdEul4uLsUNX1dLwj8K0ilcuBaTVKMyXDvKVx4=";
};
nativeBuildInputs = [ cmake ];
@ -22,6 +22,23 @@ stdenv.mkDerivation rec {
runHook postInstall
'';
doCheck = true;
postPatch = ''
patchShebangs tests/test.sh
'';
# copying files so that we dont need to patch the test.sh
checkPhase = ''
(
cp AtomicParsley ../tests
cd ../tests
mkdir tests
mv *.mp4 tests
./test.sh
)
'';
meta = with lib; {
description = "A CLI program for reading, parsing and setting metadata into MPEG-4 files";
homepage = "https://github.com/wez/atomicparsley";