diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2018-12-13 21:25:24 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-05-24 01:40:13 +0200 |
commit | 252dd7d899b7a0deea1537cc5d2d48b825afffb0 (patch) | |
tree | f51c3c9cd7429b0b9553a840f26bee489be045bc /pkgs/mtop | |
download | NUR-nur_root.tar.gz NUR-nur_root.tar.zst NUR-nur_root.zip |
Initial commit published for NURnur_root
Diffstat (limited to 'pkgs/mtop')
-rw-r--r-- | pkgs/mtop/default.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/mtop/default.nix b/pkgs/mtop/default.nix new file mode 100644 index 00000000..4a894303 --- /dev/null +++ b/pkgs/mtop/default.nix | |||
@@ -0,0 +1,24 @@ | |||
1 | { buildPerlPackage, fetchurl, perlPackages, lib }: | ||
2 | buildPerlPackage rec { | ||
3 | name = "mtop-${version}"; | ||
4 | version = "0.6.6"; | ||
5 | src = fetchurl { | ||
6 | url = "http://downloads.sourceforge.net/project/mtop/mtop/v${version}/mtop-${version}.tar.gz"; | ||
7 | sha256 = "0x0x5300b1j9i0xxk8rsrki0pspyzj2vylhzv8qg3l6j26aw0zrf"; | ||
8 | }; | ||
9 | outputs = ["out"]; | ||
10 | buildInputs = with perlPackages; [ DBI DBDmysql Curses ]; | ||
11 | |||
12 | postInstall = '' | ||
13 | cd "$out" | ||
14 | preConfigure || true | ||
15 | ''; | ||
16 | |||
17 | meta = with lib; { | ||
18 | description = "MySQL top (monitor and examine slow queries)"; | ||
19 | homepage = http://mtop.sourceforge.net/; | ||
20 | license = licenses.gpl3; | ||
21 | maintainers = with maintainers; [ { name = "Marc Prewitt"; email = "mprewitt@chelsea.net"; } ]; | ||
22 | platforms = platforms.unix; | ||
23 | }; | ||
24 | } | ||