depot/third_party/nixpkgs/pkgs/tools/networking/yrd/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

27 lines
632 B
Nix

{ 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";
};
}