7 , gobject-introspection
20 bins = [ libcdio-paranoia cdrdao flac sox util-linux ];
21 in python3.pkgs.buildPythonApplication rec {
26 src = fetchFromGitHub {
27 owner = "whipper-team";
30 sha256 = "00cq03cy5dyghmibsdsq5sdqv3bzkzhshsng74bpnb5lasxp3ia5";
35 # Use custom YAML subclass to be compatible with ruamel_yaml>=0.17
36 # https://github.com/whipper-team/whipper/pull/543
37 url = "https://github.com/whipper-team/whipper/commit/3ce5964dfe8be1e625c3e3b091360dd0bc34a384.patch";
38 sha256 = "0n9dmib884y8syvypsg88j0h71iy42n1qsrh0am8pwna63sl15ah";
48 build-system = with python3.pkgs; [
53 propagatedBuildInputs = with python3.pkgs; [
64 buildInputs = [ libsndfile glib ];
66 nativeCheckInputs = with python3.pkgs; [
72 "--prefix" "PATH" ":" (lib.makeBinPath bins)
73 "\${gappsWrapperArgs[@]}"
78 outputs = [ "out" "man" ];
84 # disable tests that require internet access
85 # https://github.com/JoeLametta/whipper/issues/291
86 substituteInPlace whipper/test/test_common_accurip.py \
87 --replace "test_AccurateRipResponse" "dont_test_AccurateRipResponse"
92 installManPage man/*.1
95 passthru.tests.version = testers.testVersion {
97 command = "HOME=$TMPDIR whipper --version";
101 homepage = "https://github.com/whipper-team/whipper";
102 description = "CD ripper aiming for accuracy over speed";
103 maintainers = with maintainers; [ emily ];
104 license = licenses.gpl3Plus;
105 platforms = platforms.unix;