3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/datauri/default.nix
yuu 1f31b264a4
python3Packages.datauri: init at 1.1.0
Co-authored-by: Sandro Jäckel <sandro.jaeckel@gmail.com>
2022-07-16 00:38:24 -03:00

38 lines
740 B
Nix

{ 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 ];
};
}