mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 09:53:10 +00:00
Merge pull request #185494 from pbsds/domeneshop
python3Packages.domeneshop: init at 0.4.2
This commit is contained in:
commit
451cda9342
40
pkgs/development/python-modules/domeneshop/default.nix
Normal file
40
pkgs/development/python-modules/domeneshop/default.nix
Normal file
@ -0,0 +1,40 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
, urllib3
|
||||
, pyopenssl
|
||||
, cryptography
|
||||
, idna
|
||||
, certifi
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "domeneshop";
|
||||
version = "0.4.2";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.4";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "tr3wsrscIU66kTz3nlvDHj2EXoEHCH3grD0yD7BU3Fc=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
certifi
|
||||
urllib3
|
||||
] ++ urllib3.optional-dependencies.secure;
|
||||
|
||||
# There are none
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "domeneshop" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python library for working with the Domeneshop API";
|
||||
homepage = "https://api.domeneshop.no/docs/";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ pbsds ];
|
||||
};
|
||||
}
|
@ -2720,6 +2720,8 @@ in {
|
||||
|
||||
doit-py = callPackage ../development/python-modules/doit-py { };
|
||||
|
||||
domeneshop = callPackage ../development/python-modules/domeneshop { };
|
||||
|
||||
dominate = callPackage ../development/python-modules/dominate { };
|
||||
|
||||
doorbirdpy = callPackage ../development/python-modules/doorbirdpy { };
|
||||
|
Loading…
Reference in New Issue
Block a user