forked from mirrors/nixpkgs
python3Packages.datauri: init at 1.1.0
Co-authored-by: Sandro Jäckel <sandro.jaeckel@gmail.com>
This commit is contained in:
parent
01df5fd67b
commit
1f31b264a4
37
pkgs/development/python-modules/datauri/default.nix
Normal file
37
pkgs/development/python-modules/datauri/default.nix
Normal file
|
@ -0,0 +1,37 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "datauri";
|
||||
version = "1.1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "fcurella";
|
||||
repo = "python-datauri";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-Eevd/xxKgxvvsAfI/L/KShH+PfxffBGyVwKewLgyEu0=";
|
||||
};
|
||||
|
||||
pythonImportsCheck = [
|
||||
"datauri"
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
# UnicodeDecodeError: 'utf-8' codec can't decode
|
||||
"tests/test_file_ebcdic.txt"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Data URI manipulation made easy.";
|
||||
homepage = "https://github.com/fcurella/python-datauri";
|
||||
license = licenses.unlicense;
|
||||
maintainers = with maintainers; [ yuu ];
|
||||
};
|
||||
}
|
|
@ -2152,6 +2152,8 @@ in {
|
|||
|
||||
datatable = callPackage ../development/python-modules/datatable { };
|
||||
|
||||
datauri = callPackage ../development/python-modules/datauri { };
|
||||
|
||||
dateparser = callPackage ../development/python-modules/dateparser { };
|
||||
|
||||
dateutils = callPackage ../development/python-modules/dateutils { };
|
||||
|
|
Loading…
Reference in a new issue