summary refs log tree commit diff
path: root/pkgs/development/python-modules/python-doi/default.nix
blob: 0cb6b2a7502dc784e9e699c1615199d1b843d1e4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ stdenv, buildPythonPackage, fetchFromGitHub, isPy3k }:

buildPythonPackage rec {
  pname = "python-doi";
  version = "0.1.1";

  src = fetchFromGitHub {
    owner = "papis";
    repo = "python-doi";
    rev = "v${version}";
    sha256 = "1wa5inh2a0drjswrnhjv6m23mvbfdgqj2jb8fya7q0armzp7l6fr";
  };

  disabled = !isPy3k;

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