tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
parted: remove 2.3.*, no longer used
Vladimír Čunát
13 years ago
35f1bbc4
cdebe761
-57
2 changed files
expand all
collapse all
unified
split
pkgs
tools
misc
parted
2.3.nix
top-level
all-packages.nix
-56
pkgs/tools/misc/parted/2.3.nix
···
1
1
-
{ stdenv, fetchurl, devicemapper, libuuid, gettext, readline
2
2
-
, utillinux, enableStatic ? false, hurd ? null }:
3
3
-
4
4
-
stdenv.mkDerivation rec {
5
5
-
name = "parted-2.3";
6
6
-
7
7
-
src = fetchurl {
8
8
-
url = "mirror://gnu/parted/${name}.tar.xz";
9
9
-
sha256 = "0sabj81nawcjm8ww34lxg65ka8crv3w2ab4crh8ypw5agg681836";
10
10
-
};
11
11
-
12
12
-
buildInputs = [ libuuid ]
13
13
-
++ stdenv.lib.optional (readline != null) readline
14
14
-
++ stdenv.lib.optional (gettext != null) gettext
15
15
-
++ stdenv.lib.optional (devicemapper != null) devicemapper
16
16
-
++ stdenv.lib.optional (hurd != null) hurd;
17
17
-
18
18
-
configureFlags =
19
19
-
(if (readline != null)
20
20
-
then [ "--with-readline" ]
21
21
-
else [ "--without-readline" ])
22
22
-
++ stdenv.lib.optional (devicemapper == null) "--disable-device-mapper"
23
23
-
++ stdenv.lib.optional enableStatic "--enable-static";
24
24
-
25
25
-
doCheck = true;
26
26
-
27
27
-
preCheck =
28
28
-
stdenv.lib.optionalString doCheck
29
29
-
# The `t0400-loop-clobber-infloop.sh' test wants `mkswap'.
30
30
-
"export PATH=\"${utillinux}/sbin:$PATH\"";
31
31
-
32
32
-
meta = {
33
33
-
description = "GNU Parted, a tool to create, destroy, resize, check, and copy partitions";
34
34
-
35
35
-
longDescription = ''
36
36
-
GNU Parted is an industrial-strength package for creating, destroying,
37
37
-
resizing, checking and copying partitions, and the file systems on
38
38
-
them. This is useful for creating space for new operating systems,
39
39
-
reorganising disk usage, copying data on hard disks and disk imaging.
40
40
-
41
41
-
It contains a library, libparted, and a command-line frontend, parted,
42
42
-
which also serves as a sample implementation and script backend.
43
43
-
'';
44
44
-
45
45
-
homepage = http://www.gnu.org/software/parted/;
46
46
-
license = "GPLv3+";
47
47
-
48
48
-
maintainers = [
49
49
-
# Add your name here!
50
50
-
stdenv.lib.maintainers.ludo
51
51
-
];
52
52
-
53
53
-
# GNU Parted requires libuuid, which is part of util-linux-ng.
54
54
-
platforms = stdenv.lib.platforms.linux;
55
55
-
};
56
56
-
}
-1
pkgs/top-level/all-packages.nix
···
1290
1290
patchutils = callPackage ../tools/text/patchutils { };
1291
1291
1292
1292
parted = callPackage ../tools/misc/parted { hurd = null; };
1293
1293
-
parted_2_3 = callPackage ../tools/misc/parted/2.3.nix { hurd = null; };
1294
1293
1295
1294
hurdPartedCross =
1296
1295
if crossSystem != null && crossSystem.config == "i586-pc-gnu"