1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-21 17:01:10 +03:00
nixpkgs/pkgs/development/python-modules/defcon/default.nix

42 lines
839 B
Nix
Raw Normal View History

2020-08-25 17:27:22 +02:00
{ lib, buildPythonPackage, fetchPypi, pythonOlder
2021-03-09 11:11:40 +01:00
, fonttools, setuptools-scm
, pytest, pytest-runner, lxml, fs, unicodedata2, fontpens
2020-08-25 17:27:22 +02:00
}:
buildPythonPackage rec {
pname = "defcon";
version = "0.10.0";
2021-03-09 11:11:40 +01:00
disabled = pythonOlder "3.6";
2020-08-25 17:27:22 +02:00
src = fetchPypi {
inherit pname version;
sha256 = "a009862a0bc3f41f2b1a1b1f80d6aeedb3a17ed77d598da09f5a1bd93e970b3c";
2020-08-25 17:27:22 +02:00
extension = "zip";
};
2021-03-09 11:11:40 +01:00
nativeBuildInputs = [
setuptools-scm
];
2020-08-25 17:27:22 +02:00
propagatedBuildInputs = [
fonttools
];
checkInputs = [
pytest
pytest-runner
2020-08-25 17:27:22 +02:00
lxml
fs
unicodedata2
fontpens
];
meta = with lib; {
description = "A set of UFO based objects for use in font editing applications";
homepage = "https://github.com/robotools/defcon";
license = licenses.mit;
maintainers = [ maintainers.sternenseemann ];
};
}