From 2b4495246a7127e1b145207e24a7f5c49834b4ea Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Sun, 21 Jul 2019 04:24:00 -0500 Subject: [PATCH] pythonPackages.setuptools-scm-git-archive: init at 1.1 --- .../setuptools-scm-git-archive/default.nix | 23 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 25 insertions(+) create mode 100644 pkgs/development/python-modules/setuptools-scm-git-archive/default.nix diff --git a/pkgs/development/python-modules/setuptools-scm-git-archive/default.nix b/pkgs/development/python-modules/setuptools-scm-git-archive/default.nix new file mode 100644 index 00000000000..9c08871339a --- /dev/null +++ b/pkgs/development/python-modules/setuptools-scm-git-archive/default.nix @@ -0,0 +1,23 @@ +{ stdenv, buildPythonPackage, fetchPypi, setuptools_scm, pytest }: + +buildPythonPackage rec { + pname = "setuptools-scm-git-archive"; + version = "1.1"; + + src = fetchPypi { + inherit version; + pname = "setuptools_scm_git_archive"; + sha256 = "6026f61089b73fa1b5ee737e95314f41cb512609b393530385ed281d0b46c062"; + }; + + nativeBuildInputs = [ setuptools_scm ]; + + checkInputs = [ pytest ]; + + meta = with stdenv.lib; { + description = "setuptools_scm plugin for git archives"; + homepage = "https://github.com/Changaco/setuptools_scm_git_archive"; + license = licenses.mit; + maintainers = [ maintainers.marsam ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 2cc3e62d2da..26592e08457 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -4651,6 +4651,8 @@ in { setuptools_scm = callPackage ../development/python-modules/setuptools_scm { }; + setuptools-scm-git-archive = callPackage ../development/python-modules/setuptools-scm-git-archive { }; + serverlessrepo = callPackage ../development/python-modules/serverlessrepo { }; shippai = callPackage ../development/python-modules/shippai {};