summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-doi/default.nix
blob: ae13490a68d05313e47499210530510c5a9c0071 (plain)
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
27
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  isPy3k,
}:

buildPythonPackage rec {
  pname = "python-doi";
  version = "0.2";
  format = "setuptools";

  src = fetchFromGitHub {
    owner = "papis";
    repo = "python-doi";
    rev = "v${version}";
    sha256 = "sha256-c5Wo/bJuHwAG7XOy4Re9joYw14jWZ6QaRB4Wsk8StL0=";
  };

  disabled = !isPy3k;

  meta = {
    description = "Python library to work with Document Object Identifiers (doi)";
    homepage = "https://github.com/papis/python-doi";
    maintainers = with lib.maintainers; [ teto ];
  };
}