about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/networking/yrd/default.nix
blob: 75a89b859fe8be64687528ccd248138709190b95 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ lib, fetchFromGitHub, pythonPackages }:

let
  pname = "yrd";
  version = "0.5.3";
  sha256 = "1yx1hr8z4cvlb3yi24dwafs0nxq41k4q477jc9q24w61a0g662ps";

in pythonPackages.buildPythonApplication {
  name = "${pname}-${version}";

  src = fetchFromGitHub {
    owner = "kpcyrd";
    repo = pname;
    rev = "v${version}";
    inherit sha256;
  };

  propagatedBuildInputs = with pythonPackages; [ argh ];

  meta = with lib; {
    description = "Cjdns swiss army knife";
    maintainers = with maintainers; [ akru ];
    platforms = platforms.linux;
    license = licenses.gpl3;
    homepage = "https://github.com/kpcyrd/yrd";
  };
}