summary refs log tree commit diff
path: root/pkgs/development/python-modules/setuptools-scm-git-archive/default.nix
blob: 98795eadfd4d94c578ba4ad4b4ed7e5e546be596 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ lib, 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 ];

  doCheck = false;
  pythonImportsCheck = [ "setuptools_scm_git_archive" ];

  meta = with lib; {
    description = "setuptools_scm plugin for git archives";
    homepage = "https://github.com/Changaco/setuptools_scm_git_archive";
    license = licenses.mit;
    maintainers = [ maintainers.marsam ];
  };
}