nixpkgs/pkgs/tools/misc/woof/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
814 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, python3 }:
2018-01-14 16:22:04 +00:00
stdenv.mkDerivation {
pname = "woof";
version = "2022-01-13";
2019-06-19 15:45:34 +00:00
src = fetchFromGitHub {
owner = "simon-budig";
repo = "woof";
rev = "f51e9db264118d4cbcd839348c4a6223fda49813";
sha256 = "sha256-tk55q2Ew2mZkQtkxjWCuNgt9t+UbjH4llIJ42IruqGY=";
2018-01-14 16:22:04 +00:00
};
propagatedBuildInputs = [ python3 ];
2018-01-14 16:22:04 +00:00
installPhase = ''
runHook preInstall
install -Dm555 -t $out/bin woof
runHook postInstall
'';
2018-01-14 16:22:04 +00:00
meta = with lib; {
homepage = "http://www.home.unix-ag.org/simon/woof.html";
2018-01-14 16:22:04 +00:00
description = "Web Offer One File - Command-line utility to easily exchange files over a local network";
2021-01-15 09:19:50 +00:00
license = lib.licenses.gpl2Plus;
platforms = lib.platforms.unix;
maintainers = with maintainers; [ matthiasbeyer ];
2023-11-27 01:17:53 +00:00
mainProgram = "woof";
2018-01-14 16:22:04 +00:00
};
}