Merge pull request #154816 from Stunkymonkey/ratmen-refactor
ratmen: refactor
This commit is contained in:
commit
a5a6e31c01
@ -1,35 +1,26 @@
|
||||
{lib, stdenv, fetchurl, perl, xorgproto, libX11}:
|
||||
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";
|
||||
{ lib, stdenv, fetchurl, perl, xorgproto, libX11 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ratmen";
|
||||
version = "2.2.3";
|
||||
src = fetchurl {
|
||||
url = "http://www.update.uu.se/~zrajm/programs/ratmen/ratmen-${version}.tar.gz";
|
||||
sha256 = "0gnfqhnch9x8jhr87gvdjcp1wsqhchfjilpnqcwx5j0nlqyz6wi6";
|
||||
};
|
||||
buildInputs = [
|
||||
perl xorgproto libX11
|
||||
perl
|
||||
xorgproto
|
||||
libX11
|
||||
];
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
inherit (s) name version;
|
||||
inherit buildInputs;
|
||||
src = fetchurl {
|
||||
inherit (s) url sha256;
|
||||
};
|
||||
makeFlags = [
|
||||
"PREFIX=$(out)"
|
||||
];
|
||||
meta = {
|
||||
inherit (s) version;
|
||||
meta = with lib; {
|
||||
description = "A minimalistic X11 menu creator";
|
||||
license = lib.licenses.free ; # 9menu derivative with 9menu license
|
||||
maintainers = [lib.maintainers.raskin];
|
||||
platforms = lib.platforms.linux;
|
||||
license = licenses.free; # 9menu derivative with 9menu license
|
||||
maintainers = with maintainers; [ raskin ];
|
||||
platforms = platforms.linux;
|
||||
homepage = "http://www.update.uu.se/~zrajm/programs/";
|
||||
downloadPage = "http://www.update.uu.se/~zrajm/programs/ratmen/";
|
||||
updateWalker = true;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user