~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
2 2

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

Details
Message ID
<20210205205816.4726-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>
---
 .../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..87e9e29d7ab
--- /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 = "http://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 87b6736a62b..6d1e2596da8 100644
--- a/pkgs/top-level/python-packages.nix
+++ b/pkgs/top-level/python-packages.nix
@@ -2837,6 +2837,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.30.0
Details
Message ID
<87eehuma4b.fsf@yoctocell.xyz>
In-Reply-To
<20210205205816.4726-1-jb55@jb55.com> (view parent)
DKIM signature
pass
Download raw message
On Fri, Feb 05 2021, William Casarin wrote:

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

Is there a reason to not use https here?
Details
Message ID
<87pn1evx3a.fsf@jb55.com>
In-Reply-To
<87eehuma4b.fsf@yoctocell.xyz> (view parent)
DKIM signature
missing
Download raw message
Xinglu Chen <public@yoctocell.xyz> writes:

> On Fri, Feb 05 2021, William Casarin wrote:
>
>> +  src = fetchgit {
>> +      url = "http://git.carcosa.net/jmcbray/gusmobile.git";
>> +      rev = "0a09aaaf00578d1389a4aa6b15f5c64867e0f8ca";
>> +      sha256 = "0wpvfk5kj23r83xfha6kidsh5c7y143y9ximlx3h92hih7rpskmn";
>> +  };
>
> Is there a reason to not use https here?

good catch!
Reply to thread Export thread (mbox)