~andir/nixpkgs-dev

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
3 3

[PATCH v2] pythonPackages.gusmobile: init at unstable-2020-03-17

Details
Message ID
<20210206005608.10821-1-jb55@jb55.com>
DKIM signature
missing
Download raw message
Patch: +22 -0
A gemini protocol python library. This is needed for the CAPCOM gemini
feed aggregator.

Signed-off-by: William Casarin <jb55@jb55.com>
---

v1 -> v2

- fetchgit src http to https

 .../python-modules/gusmobile/default.nix      | 20 +++++++++++++++++++
 pkgs/top-level/python-packages.nix            |  2 ++
 2 files changed, 22 insertions(+)
 create mode 100644 pkgs/development/python-modules/gusmobile/default.nix

diff --git a/pkgs/development/python-modules/gusmobile/default.nix b/pkgs/development/python-modules/gusmobile/default.nix
new file mode 100644
index 00000000000..a38843513c0
--- /dev/null
+++ b/pkgs/development/python-modules/gusmobile/default.nix
@@ -0,0 +1,20 @@
{ lib, buildPythonPackage, fetchgit }:

buildPythonPackage {
  pname = "gusmobile";
  version = "unstable-2020-03-17";

  src = fetchgit {
      url = "https://git.carcosa.net/jmcbray/gusmobile.git";
      rev = "0a09aaaf00578d1389a4aa6b15f5c64867e0f8ca";
      sha256 = "0wpvfk5kj23r83xfha6kidsh5c7y143y9ximlx3h92hih7rpskmn";
  };

  meta = with lib; {
    homepage = "https://git.carcosa.net/jmcbray/gusmobile";
    description = "A simple library for making Gemini protocol requests";
    license = licenses.agpl3;
    maintainers = [ jb55 ];
  };

}
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix
index 3d66eaaa5b0..d2694d873d3 100644
--- a/pkgs/top-level/python-packages.nix
+++ b/pkgs/top-level/python-packages.nix
@@ -2841,6 +2841,8 @@ in {

  gumath = callPackage ../development/python-modules/gumath { };

  gusmobile = callPackage ../development/python-modules/gusmobile { };

  gunicorn = if isPy27 then
    callPackage ../development/python-modules/gunicorn/19.nix { }
  else
-- 
2.28.0
Details
Message ID
<20210206083702.th2crqyzgywtunv3@hoshi>
In-Reply-To
<20210206005608.10821-1-jb55@jb55.com> (view parent)
DKIM signature
missing
Download raw message
Reviewed-by: Matthias Beyer <mail@beyermatthias.de>
Details
Message ID
<87y2g11swb.fsf@yoctocell.xyz>
In-Reply-To
<20210206005608.10821-1-jb55@jb55.com> (view parent)
DKIM signature
pass
Download raw message
Untested, but it builds just fine.

Reviewed-by: Xinglu Chen <public@yoctocell.xyz>
Details
Message ID
<87wnvksn3s.fsf@jb55.com>
In-Reply-To
<20210206005608.10821-1-jb55@jb55.com> (view parent)
DKIM signature
missing
Download raw message
PR'd at https://github.com/NixOS/nixpkgs/pull/112245

Thanks for the reviews!
Reply to thread Export thread (mbox)