nixpkgs/pkgs/tools/X11/ratmen/default.nix

36 lines
1,016 B
Nix
Raw Normal View History

2021-01-15 10:19:50 +01:00
{lib, stdenv, fetchurl, perl, xorgproto, libX11}:
2015-06-14 21:26:13 +02:00
let
s = # Generated upstream information
rec {
baseName="ratmen";
version="2.2.3";
name="${baseName}-${version}";
hash="0gnfqhnch9x8jhr87gvdjcp1wsqhchfjilpnqcwx5j0nlqyz6wi6";
url="http://www.update.uu.se/~zrajm/programs/ratmen/ratmen-2.2.3.tar.gz";
sha256="0gnfqhnch9x8jhr87gvdjcp1wsqhchfjilpnqcwx5j0nlqyz6wi6";
};
buildInputs = [
perl xorgproto libX11
2015-06-14 21:26:13 +02:00
];
in
stdenv.mkDerivation {
inherit (s) name version;
inherit buildInputs;
src = fetchurl {
inherit (s) url sha256;
};
makeFlags = [
"PREFIX=$(out)"
];
meta = {
inherit (s) version;
description = "A minimalistic X11 menu creator";
2021-01-15 10:19:50 +01:00
license = lib.licenses.free ; # 9menu derivative with 9menu license
maintainers = [lib.maintainers.raskin];
platforms = lib.platforms.linux;
homepage = "http://www.update.uu.se/~zrajm/programs/";
2015-06-14 21:26:13 +02:00
downloadPage = "http://www.update.uu.se/~zrajm/programs/ratmen/";
updateWalker = true;
};
}