mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
atomicparsley: 20210617.200601.1ac7c08 -> 20210715.151551.e7ad03a
and enable tests
This commit is contained in:
parent
3f7771d65c
commit
97f6138420
@ -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 New Issue
Block a user