git.iko.soy/typeable/nixpkgs
on master help sign in
atomicparsley: 0.9.6 -> 20200701.154658.b0d6223
commit6bc2bf412c7fd0ffd52b234a544f86bb29b7f61b authorAndersonTorres <torres.anderson.85@protonmail.com> dateFri 23 Oct 2020, 21:24 (6 years ago) parenta948654
1 file changed+18−26
pkgs/tools/video/atomicparsley/default.nix+18−26
pkgs/tools/video/atomicparsley/default.nix+18−26
@@ -1,39 +1,31 @@
1−{ stdenv, fetchhg, autoreconfHook, zlib, Cocoa }:
1+{ stdenv, fetchFromGitHub, cmake, zlib, Cocoa }:
22
3−stdenv.mkDerivation {
3+stdenv.mkDerivation rec {
44 pname = "atomicparsley";
5− version = "0.9.6";
5+ version = "20200701.154658.b0d6223";
66
7− src = fetchhg {
8− url = "https://bitbucket.org/wez/atomicparsley";
9− sha256 = "05n4kbn91ps52h3wi1qb2jwygjsc01qzx4lgkv5mvwl5i49rj8fm";
7+ src = fetchFromGitHub {
8+ owner = "wez";
9+ repo = pname;
10+ rev = version;
11+ sha256 = "sha256-EHO4WkxoAXUhuJKMNYmBbGfOgtO9uklzXtWS4QsV1c8=";
1012 };
1113
12− nativeBuildInputs = [ autoreconfHook ];
14+ nativeBuildInputs = [ cmake ];
1315
1416 buildInputs = [ zlib ]
15− ++ stdenv.lib.optionals stdenv.isDarwin [ Cocoa ];
17+ ++ stdenv.lib.optionals stdenv.isDarwin [ Cocoa ];
1618
17− configureFlags = stdenv.lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
18− # AC_FUNC_MALLOC is broken on cross builds.
19− "ac_cv_func_malloc_0_nonnull=yes"
20− "ac_cv_func_realloc_0_nonnull=yes"
21− ];
22−
23− installPhase = "install -D AtomicParsley $out/bin/AtomicParsley";
19+ installPhase = ''
20+ runHook preInstall
21+ install -D AtomicParsley $out/bin/AtomicParsley
22+ runHook postInstall
23+ '';
2424
2525 meta = with stdenv.lib; {
26− description = ''
27− A lightweight command line program for reading, parsing and
28− setting metadata into MPEG-4 files
29− '';
30−
31− longDescription = ''
32− This is a maintained fork of the original AtomicParsley.
33− '';
34−
35− homepage = "https://bitbucket.org/wez/atomicparsley";
36− license = licenses.gpl2;
26+ description = "A CLI program for reading, parsing and setting metadata into MPEG-4 files";
27+ homepage = "https://github.com/wez/atomicparsley";
28+ license = licenses.gpl2Plus;
3729 platforms = platforms.unix;
3830 maintainers = with maintainers; [ pjones ];
3931 };