1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 isPy3k,
6}:
7
8buildPythonPackage rec {
9 pname = "python-doi";
10 version = "0.1.1";
11 format = "setuptools";
12
13 src = fetchFromGitHub {
14 owner = "papis";
15 repo = "python-doi";
16 rev = "v${version}";
17 sha256 = "1wa5inh2a0drjswrnhjv6m23mvbfdgqj2jb8fya7q0armzp7l6fr";
18 };
19
20 disabled = !isPy3k;
21
22 meta = with lib; {
23 description = "Python library to work with Document Object Identifiers (doi)";
24 homepage = "https://github.com/alejandrogallo/python-doi";
25 maintainers = with maintainers; [ teto ];
26 };
27}