atomicparsley: 20210617.200601.1ac7c08 -> 20210715.151551.e7ad03a
and enable tests
This commit is contained in:
parent
3f7771d65c
commit
97f6138420
1 changed files with 19 additions and 2 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue