1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-21 13:44:50 +00:00
nixpkgs/pkgs/applications/audio/morituri/default.nix

54 lines
1.5 KiB
Nix
Raw Normal View History

2015-11-28 07:29:42 +00:00
{ stdenv, fetchgit, python, pythonPackages, cdparanoia, cdrdao
2014-11-01 23:11:11 +00:00
, pygobject, gst_python, gst_plugins_base, gst_plugins_good
2015-11-28 07:29:42 +00:00
, setuptools, utillinux, makeWrapper, substituteAll, autoreconfHook }:
2014-11-01 23:11:11 +00:00
stdenv.mkDerivation rec {
name = "morituri-${version}";
2015-11-28 07:29:42 +00:00
version = "0.2.3.20151109";
namePrefix = "";
2014-11-01 23:11:11 +00:00
2015-11-28 07:29:42 +00:00
src = fetchgit {
url = "https://github.com/thomasvs/morituri.git";
fetchSubmodules = true;
rev = "135b2f7bf27721177e3aeb1d26403f1b29116599";
sha256 = "1ccxq1spny6xgd7nqwn13n9nqa00ay0nhflg3vbdkvbirh8fgxwq";
2014-11-01 23:11:11 +00:00
};
pythonPath = [
pygobject gst_python pythonPackages.musicbrainzngs
pythonPackages.pycdio pythonPackages.pyxdg setuptools
2015-11-22 18:57:44 +00:00
pythonPackages.CDDB
2014-11-01 23:11:11 +00:00
];
2015-11-28 07:29:42 +00:00
nativeBuildInputs = [ autoreconfHook ];
2014-11-01 23:11:11 +00:00
buildInputs = [
python cdparanoia cdrdao utillinux makeWrapper
gst_plugins_base gst_plugins_good
] ++ pythonPath;
patches = [
(substituteAll {
src = ./paths.patch;
inherit cdrdao cdparanoia python utillinux;
})
];
2014-11-01 23:11:11 +00:00
# This package contains no binaries to patch or strip.
dontPatchELF = true;
dontStrip = true;
postInstall = ''
wrapProgram "$out/bin/rip" \
--prefix PYTHONPATH : "$PYTHONPATH" \
--prefix GST_PLUGIN_SYSTEM_PATH : "$GST_PLUGIN_SYSTEM_PATH"
'';
meta = with stdenv.lib; {
homepage = http://thomas.apestaart.org/morituri/trac/;
description = "A CD ripper aiming for accuracy over speed";
2015-06-22 07:25:07 +01:00
maintainers = with maintainers; [ rycee jgeerds ];
2014-11-01 23:11:11 +00:00
license = licenses.gpl3Plus;
platforms = platforms.linux;
2014-11-01 23:11:11 +00:00
};
}