aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/python-modules/defcon/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/defcon/default.nix')
-rw-r--r--nixpkgs/pkgs/development/python-modules/defcon/default.nix35
1 files changed, 35 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/defcon/default.nix b/nixpkgs/pkgs/development/python-modules/defcon/default.nix
new file mode 100644
index 00000000000..25c59029992
--- /dev/null
+++ b/nixpkgs/pkgs/development/python-modules/defcon/default.nix
@@ -0,0 +1,35 @@
+{ lib, buildPythonPackage, fetchPypi, pythonOlder
+, fonttools
+, pytest, pytestrunner, lxml, fs, unicodedata2, fontpens
+}:
+
+buildPythonPackage rec {
+ pname = "defcon";
+ version = "0.7.2";
+
+ src = fetchPypi {
+ inherit pname version;
+ sha256 = "1lfqsvxmq1j0nvp26gidnqkj1dyxv7jalc6i7fz1r3nc7niflrqr";
+ extension = "zip";
+ };
+
+ propagatedBuildInputs = [
+ fonttools
+ ];
+
+ checkInputs = [
+ pytest
+ pytestrunner
+ 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 ];
+ };
+}