tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
mkcue: fetch source from debian
fixes #12102
Pascal Wittmann
10 years ago
7ab89409
a40b413b
+11
-3
1 changed file
expand all
collapse all
unified
split
pkgs
tools
cd-dvd
mkcue
default.nix
+11
-3
pkgs/tools/cd-dvd/mkcue/default.nix
···
1
1
{ stdenv, fetchurl }:
2
2
3
3
stdenv.mkDerivation rec {
4
4
-
name = "mkcue-1";
4
4
+
name = "mkcue-${version}";
5
5
+
version = "1";
5
6
6
7
src = fetchurl {
7
7
-
url = "https://diplodocus.org/dist/audio/${name}.tar.bz2";
8
8
-
sha256 = "08md7si3frb8sjfqf3pm7qbrcvkbd10mzszlbydkxnyxdb530b04";
8
8
+
url = "http://http.debian.net/debian/pool/main/m/mkcue/mkcue_${version}.orig.tar.gz";
9
9
+
sha256 = "0rs897wp08z4hd904bjb5sl4lb8qxj82x5ayklr28bhg9pd5gbra";
9
10
};
10
11
11
12
preInstall = "mkdir -pv $out/bin";
12
13
postInstall = "chmod -v +w $out/bin/mkcue";
14
14
+
15
15
+
meta = with stdenv.lib; {
16
16
+
description = "Generates CUE sheets from a CD TOC";
17
17
+
license = licenses.lgpl2Plus;
18
18
+
platforms = platforms.linux;
19
19
+
maintainers = with maintainers; [ pSub ];
20
20
+
};
13
21
}