2019-01-08 16:08:12 +00:00
|
|
|
{ stdenv, fetchFromGitHub, python3Packages }:
|
2018-01-08 13:09:53 +00:00
|
|
|
|
2019-01-08 16:08:12 +00:00
|
|
|
python3Packages.buildPythonApplication rec {
|
2018-04-06 17:01:59 +01:00
|
|
|
pname = "pubs";
|
2019-01-08 16:08:12 +00:00
|
|
|
version = "0.8.2";
|
2018-01-08 13:09:53 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "pubs";
|
|
|
|
repo = "pubs";
|
|
|
|
rev = "v${version}";
|
2019-01-08 16:08:12 +00:00
|
|
|
sha256 = "16zwdqfbmlla6906g3a57a4nj8wnl11fq78r20qms717bzv211j0";
|
2018-01-08 13:09:53 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = with python3Packages; [
|
2019-01-08 16:08:12 +00:00
|
|
|
argcomplete dateutil configobj feedparser bibtexparser pyyaml requests six beautifulsoup4
|
2018-01-08 13:09:53 +00:00
|
|
|
];
|
|
|
|
|
2019-01-08 16:08:12 +00:00
|
|
|
checkInputs = with python3Packages; [ pyfakefs mock ddt ];
|
2018-01-08 13:09:53 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Command-line bibliography manager";
|
|
|
|
homepage = https://github.com/pubs/pubs;
|
|
|
|
license = licenses.lgpl3;
|
|
|
|
maintainers = with maintainers; [ gebner ];
|
|
|
|
};
|
|
|
|
}
|