diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2018-11-27 19:54:15 -0600 |
---|---|---|
committer | Matthew Bauer <mjbauer95@gmail.com> | 2018-11-28 20:14:33 -0600 |
commit | a858113076b9012664237eb619b9289936b187a9 (patch) | |
tree | 4e29768520a82831c83dbeffc7a34b03a1e6a66f /pkgs/applications/misc/oneko | |
parent | 613e262fc2f84d068da40ee6c45f0915c00e2193 (diff) | |
download | nixpkgs-a858113076b9012664237eb619b9289936b187a9.tar nixpkgs-a858113076b9012664237eb619b9289936b187a9.tar.gz nixpkgs-a858113076b9012664237eb619b9289936b187a9.tar.bz2 nixpkgs-a858113076b9012664237eb619b9289936b187a9.tar.lz nixpkgs-a858113076b9012664237eb619b9289936b187a9.tar.xz nixpkgs-a858113076b9012664237eb619b9289936b187a9.tar.zst nixpkgs-a858113076b9012664237eb619b9289936b187a9.zip |
oneko: use imake setup hook
Simplifies some things here.
Diffstat (limited to 'pkgs/applications/misc/oneko')
-rw-r--r-- | pkgs/applications/misc/oneko/default.nix | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/pkgs/applications/misc/oneko/default.nix b/pkgs/applications/misc/oneko/default.nix index e1cc70e4277..311f093ba6d 100644 --- a/pkgs/applications/misc/oneko/default.nix +++ b/pkgs/applications/misc/oneko/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, xorg, xlibsWrapper }: +{ stdenv, fetchurl, imake, gccmakedep, xlibsWrapper }: stdenv.mkDerivation rec { version = "1.2.sakura.5"; @@ -8,14 +8,11 @@ stdenv.mkDerivation rec { url = "http://www.daidouji.com/oneko/distfiles/oneko-${version}.tar.gz"; sha256 = "2c2e05f1241e9b76f54475b5577cd4fb6670de058218d04a741a04ebd4a2b22f"; }; - buildInputs = [ xorg.imake xorg.gccmakedep xlibsWrapper ]; + nativeBuildInputs = [ imake gccmakedep ]; + buildInputs = [ xlibsWrapper ]; - configurePhase = "xmkmf"; - - installPhase = '' - make install BINDIR=$out/bin - make install.man MANPATH=$out/share/man - ''; + makeFlags = [ "BINDIR=$(out)/bin" "MANPATH=$(out)/share/man" ]; + installTargets = "install install.man"; meta = with stdenv.lib; { description = "Creates a cute cat chasing around your mouse cursor"; |