[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#47906] [PATCH 14/22] gnu: Add python-qtsass.
From: |
Vinicius Monego |
Subject: |
[bug#47906] [PATCH 14/22] gnu: Add python-qtsass. |
Date: |
Tue, 20 Apr 2021 05:22:38 +0000 |
* gnu/packages/python-xyz.scm (python-qtsass): New variable.
---
gnu/packages/python-xyz.scm | 41 +++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 5c7fd02289..28c89f71a1 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -24409,6 +24409,47 @@ query Watchman to discover file changes.")
environment.")
(license license:expat)))
+(define-public python-qtsass
+ (package
+ (name "python-qtsass")
+ (version "0.3.0")
+ (source
+ (origin
+ ;; There are no tests in the PyPI tarball.
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/spyder-ide/qtsass/")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "09s04aa14d8jqbh71clrb5y7vcmkxlp94mwmvzrkxahry3bk03cb"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:test-target "pytest"
+ #:phases
+ (modify-phases %standard-phases
+ ;; Tests need to read and write files.
+ (add-before 'check 'make-git-checkout-writable
+ (lambda _
+ (for-each make-file-writable (find-files "."))
+ #t)))))
+ (native-inputs
+ `(("python-pytest" ,python-pytest)
+ ("python-pytest-cov" ,python-pytest-cov)
+ ("python-pytest-runner" ,python-pytest-runner)))
+ (propagated-inputs
+ `(("python-libsass" ,python-libsass)))
+ (home-page "https://github.com/spyder-ide/qtsass")
+ (synopsis "Compile SCSS files to valid Qt stylesheets")
+ (description
+ "Besides being used in web development, CSS is also the way to stylize
+Qt-based desktop applications. However, Qt's CSS has a few variations that
+prevent the direct use of SASS compiler.
+
+The purpose of this tool is to fill the gap between SASS and Qt-CSS by
+handling those variations.")
+ (license license:expat)))
+
(define-public python-qdarkstyle
(package
(name "python-qdarkstyle")
--
2.31.1
- [bug#47906] [PATCH 07/22] gnu: python-qtconsole: Update to 5.0.3., (continued)
- [bug#47906] [PATCH 07/22] gnu: python-qtconsole: Update to 5.0.3., Vinicius Monego, 2021/04/20
- [bug#47906] [PATCH 06/22] gnu: python-watchdog: Update to 1.0.2., Vinicius Monego, 2021/04/20
- [bug#47906] [PATCH 09/22] gnu: Add python-tinycss., Vinicius Monego, 2021/04/20
- [bug#47906] [PATCH 11/22] gnu: python-language-server: Enable tests., Vinicius Monego, 2021/04/20
- [bug#47906] [PATCH 12/22] gnu: Add python-pytest-qt., Vinicius Monego, 2021/04/20
- [bug#47906] [PATCH 13/22] gnu: Add python-qtawesome., Vinicius Monego, 2021/04/20
- [bug#47906] [PATCH 10/22] gnu: Add python-qstylizer., Vinicius Monego, 2021/04/20
- [bug#47906] [PATCH 08/22] gnu: python-qtconsole: Enable tests., Vinicius Monego, 2021/04/20
- [bug#47906] [PATCH 14/22] gnu: Add python-qtsass.,
Vinicius Monego <=
- [bug#47906] [PATCH 16/22] gnu: Add python-easyprocess., Vinicius Monego, 2021/04/20
- [bug#47906] [PATCH 15/22] gnu: python-qdarkstyle: Update to 3.0.2., Vinicius Monego, 2021/04/20
- [bug#47906] [PATCH 19/22] gnu: Add python-pytest-xvfb., Vinicius Monego, 2021/04/20
- [bug#47906] [PATCH 17/22] gnu: Add python-entrypoint2., Vinicius Monego, 2021/04/20
- [bug#47906] [PATCH 18/22] gnu: Add python-pyvirtualdisplay., Vinicius Monego, 2021/04/20
- [bug#47906] [PATCH 21/22] gnu: python-language-server: Relax dependency versions., Vinicius Monego, 2021/04/20
- [bug#47906] [PATCH 20/22] gnu: python-diff-match-patch: Update to 20200713., Vinicius Monego, 2021/04/20
- [bug#47906] [PATCH 22/22] gnu: Add spyder., Vinicius Monego, 2021/04/20