nixpkgs/pkgs/tools/networking/wolfebin/default.nix

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

30 lines
715 B
Nix
Raw Normal View History

2022-09-26 11:54:58 +00:00
{ lib, stdenv, fetchFromGitHub, python3 }:
2015-06-19 09:17:51 +00:00
stdenv.mkDerivation rec {
pname = "wolfebin";
2022-09-26 11:54:58 +00:00
version = "5.6";
2015-06-19 09:17:51 +00:00
src = fetchFromGitHub {
owner = "thejoshwolfe";
repo = "wolfebin";
2019-09-08 23:38:31 +00:00
rev = version;
2022-09-26 11:54:58 +00:00
sha256 = "sha256-tsI71/UdLaGZ3O2lNTd1c8S5OS2imquLovh0n0ez8Ts=";
2015-06-19 09:17:51 +00:00
};
2022-09-26 11:54:58 +00:00
buildInputs = [ python3 ];
2015-06-19 09:17:51 +00:00
installPhase = ''
install -m 755 -d $out/bin
install -m 755 wolfebin $out/bin
install -m 755 wolfebin_server.py $out/bin/wolfebin_server
'';
meta = with lib; {
homepage = "https://github.com/thejoshwolfe/wolfebin";
2015-06-19 09:17:51 +00:00
description = "Quick and easy file sharing";
license = licenses.mit;
2022-09-26 11:54:58 +00:00
maintainers = with maintainers; [ andrewrk ];
2015-06-19 09:17:51 +00:00
platforms = platforms.all;
};
}