1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/tools/misc/woof/default.nix

33 lines
829 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, python3 }:
2018-01-14 16:22:04 +00:00
stdenv.mkDerivation rec {
version = "2020-12-17";
pname = "woof";
2019-06-19 16:45:34 +01:00
src = fetchFromGitHub {
owner = "simon-budig";
repo = "woof";
rev = "4aab9bca5b80379522ab0bdc5a07e4d652c375c5";
sha256 = "0ypd2fs8isv6bqmlrdl2djgs5lnk91y1c3rn4ar6sfkpsqp9krjn";
2018-01-14 16:22:04 +00:00
};
propagatedBuildInputs = [ python3 ];
2018-01-14 16:22:04 +00:00
2019-06-19 16:45:34 +01:00
dontUnpack = true;
2018-01-14 16:22:04 +00:00
installPhase = ''
mkdir -p $out/bin
cp $src/woof $out/bin/woof
chmod +x $out/bin/woof
'';
2018-01-14 16:22:04 +00:00
meta = with stdenv.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";
license = stdenv.lib.licenses.gpl2Plus;
platforms = stdenv.lib.platforms.unix;
maintainers = with maintainers; [ matthiasbeyer ];
2018-01-14 16:22:04 +00:00
};
}