3
0
Fork 0
forked from mirrors/nixpkgs

mkcue: fetch source from debian

fixes #12102
This commit is contained in:
Pascal Wittmann 2016-01-03 17:26:11 +01:00
parent a40b413b04
commit 7ab894098a

View file

@ -1,13 +1,21 @@
{ stdenv, fetchurl }: { stdenv, fetchurl }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "mkcue-1"; name = "mkcue-${version}";
version = "1";
src = fetchurl { src = fetchurl {
url = "https://diplodocus.org/dist/audio/${name}.tar.bz2"; url = "http://http.debian.net/debian/pool/main/m/mkcue/mkcue_${version}.orig.tar.gz";
sha256 = "08md7si3frb8sjfqf3pm7qbrcvkbd10mzszlbydkxnyxdb530b04"; sha256 = "0rs897wp08z4hd904bjb5sl4lb8qxj82x5ayklr28bhg9pd5gbra";
}; };
preInstall = "mkdir -pv $out/bin"; preInstall = "mkdir -pv $out/bin";
postInstall = "chmod -v +w $out/bin/mkcue"; postInstall = "chmod -v +w $out/bin/mkcue";
meta = with stdenv.lib; {
description = "Generates CUE sheets from a CD TOC";
license = licenses.lgpl2Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ pSub ];
};
} }