rio: 0.0.36 -> 0.0.37
[NixPkgs.git] / pkgs / tools / networking / wolfebin / default.nix
blob47babc4ceb9aaf7be049f4d97d041aa4bacfbcb5
1 { lib, stdenv, fetchFromGitHub, python3 }:
3 stdenv.mkDerivation rec {
4   pname = "wolfebin";
5   version = "5.6";
7   src = fetchFromGitHub {
8     owner = "thejoshwolfe";
9     repo = "wolfebin";
10     rev = version;
11     sha256 = "sha256-tsI71/UdLaGZ3O2lNTd1c8S5OS2imquLovh0n0ez8Ts=";
12   };
14   buildInputs = [ python3 ];
16   installPhase = ''
17     install -m 755 -d $out/bin
18     install -m 755 wolfebin $out/bin
19     install -m 755 wolfebin_server.py $out/bin/wolfebin_server
20   '';
22   meta = with lib; {
23     homepage = "https://github.com/thejoshwolfe/wolfebin";
24     description = "Quick and easy file sharing";
25     license = licenses.mit;
26     maintainers = with maintainers; [ andrewrk ];
27     platforms = platforms.all;
28   };