rfc-bibtex: Migrate out of python3Packages
This is a commandline tool, that does not advertise itself as as consumable library, so it does not belong into the python package set. Also fetch from git, so we can enable the tests.
This commit is contained in:
@@ -1,20 +0,0 @@
|
||||
{ lib, buildPythonApplication, fetchPypi, isPy3k }:
|
||||
|
||||
buildPythonApplication rec {
|
||||
pname = "rfc-bibtex";
|
||||
version = "0.3.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "60419a2043ef37ac2438f3eae7a3207d0a4cb2dd56ab21697f874a35ee52927f";
|
||||
};
|
||||
|
||||
disabled = !isPy3k;
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/iluxonchik/rfc-bibtex/";
|
||||
description = "Generate Bibtex entries for IETF RFCs and Internet-Drafts";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ teto ];
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, python3
|
||||
}:
|
||||
|
||||
with python3.pkgs; buildPythonApplication rec {
|
||||
pname = "rfc-bibtex";
|
||||
version = "0.3.2";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "iluxonchik";
|
||||
repo = pname;
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-bPCNQqiG50vWVFA6J2kyxftwsXunHTNBdSkoIRYkb0s=";
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
vcrpy
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"rfc_bibtex"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/iluxonchik/rfc-bibtex/";
|
||||
description = "Generate Bibtex entries for IETF RFCs and Internet-Drafts";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ teto ];
|
||||
};
|
||||
}
|
||||
@@ -36416,7 +36416,7 @@ with pkgs;
|
||||
|
||||
renderizer = callPackage ../development/tools/renderizer {};
|
||||
|
||||
rfc-bibtex = python3Packages.callPackage ../development/python-modules/rfc-bibtex { };
|
||||
rfc-bibtex = callPackage ../tools/typesetting/rfc-bibtex { };
|
||||
|
||||
pick-colour-picker = python3Packages.callPackage ../applications/graphics/pick-colour-picker {
|
||||
inherit glib gtk3 gobject-introspection wrapGAppsHook;
|
||||
|
||||
Reference in New Issue
Block a user