diff options
author | Will Dietz <w@wdtz.org> | 2022-01-31 19:35:25 -0600 |
---|---|---|
committer | Will Dietz <w@wdtz.org> | 2022-01-31 19:35:25 -0600 |
commit | 58eeb07420a33f33c1a587b11e27011812cf412b (patch) | |
tree | 8f5b43fc85d0e09beb50d8bb23fa134bc6abbdb0 /pkgs/os-specific/linux/fnotifystat | |
parent | 67cc0b103ab45ca2babb97d96e26d50dd0061644 (diff) | |
download | nixpkgs-58eeb07420a33f33c1a587b11e27011812cf412b.tar nixpkgs-58eeb07420a33f33c1a587b11e27011812cf412b.tar.gz nixpkgs-58eeb07420a33f33c1a587b11e27011812cf412b.tar.bz2 nixpkgs-58eeb07420a33f33c1a587b11e27011812cf412b.tar.lz nixpkgs-58eeb07420a33f33c1a587b11e27011812cf412b.tar.xz nixpkgs-58eeb07420a33f33c1a587b11e27011812cf412b.tar.zst nixpkgs-58eeb07420a33f33c1a587b11e27011812cf412b.zip |
fnotifystat: fix src/homepage, moved to github
Also touchup the build to match pattern used for other ColinIanKing utilities
Diffstat (limited to 'pkgs/os-specific/linux/fnotifystat')
-rw-r--r-- | pkgs/os-specific/linux/fnotifystat/default.nix | 26 |
1 files changed, 15 insertions, 11 deletions
diff --git a/pkgs/os-specific/linux/fnotifystat/default.nix b/pkgs/os-specific/linux/fnotifystat/default.nix index baa92decd9f..ac0dda80211 100644 --- a/pkgs/os-specific/linux/fnotifystat/default.nix +++ b/pkgs/os-specific/linux/fnotifystat/default.nix @@ -1,22 +1,26 @@ -{ stdenv, lib, fetchurl }: +{ stdenv, lib, fetchFromGitHub }: stdenv.mkDerivation rec { pname = "fnotifystat"; version = "0.02.07"; - src = fetchurl { - url = "https://kernel.ubuntu.com/~cking/tarballs/fnotifystat/fnotifystat-${version}.tar.gz"; - sha256 = "0ipfg2gymbgx7bqlx1sq5p2y89k5j18iqnb0wa27n5s3kh9sh8w0"; + src = fetchFromGitHub { + owner = "ColinIanKing"; + repo = pname; + rev = "V${version}"; + sha256 = "sha256-5oYM1t+vmWywYRbgXI2RGQlOuNJluj2gwCMf3pTpDC0="; }; - installFlags = [ "DESTDIR=$(out)" ]; - postInstall = '' - mv $out/usr/* $out - rm -r $out/usr - ''; + + installFlags = [ + "BINDIR=${placeholder "out"}/bin" + "MANDIR=${placeholder "out"}/share/man/man8" + "BASHDIR=${placeholder "out"}/share/bash-completion/completions" + ]; + meta = with lib; { description = "File activity monitoring tool"; - homepage = "https://kernel.ubuntu.com/~cking/fnotifystat/"; + homepage = "https://github.com/ColinIanKing/fnotifystat"; license = licenses.gpl2; platforms = platforms.linux; - maintainers = with maintainers; [ womfoo ]; + maintainers = with maintainers; [ womfoo dtzWill ]; }; } |