From 82550c639ea8fa609bec82605a0c6f66e26566ea Mon Sep 17 00:00:00 2001 From: Alexander Krupenkin Date: Tue, 8 May 2018 12:31:35 +0300 Subject: [PATCH] yrd: init at 0.5.3 --- pkgs/tools/networking/yrd/default.nix | 27 +++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 3 +++ 2 files changed, 30 insertions(+) create mode 100644 pkgs/tools/networking/yrd/default.nix diff --git a/pkgs/tools/networking/yrd/default.nix b/pkgs/tools/networking/yrd/default.nix new file mode 100644 index 000000000000..e5d260ef7d42 --- /dev/null +++ b/pkgs/tools/networking/yrd/default.nix @@ -0,0 +1,27 @@ +{ stdenv, 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 stdenv.lib; { + description = "Cjdns swiss army knife"; + maintainers = with maintainers; [ akru ]; + platforms = platforms.linux; + license = licenses.gpl3; + homepage = https://github.com/kpcyrd/yrd; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index b65b28bb0201..3984fbb2cd81 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -21502,4 +21502,7 @@ with pkgs; inherit (recurseIntoAttrs (callPackages ../os-specific/bsd { })) netbsd; + + yrd = callPackage ../tools/networking/yrd { }; + }