[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/13: gnu: Add python-qtsass.
From: |
guix-commits |
Subject: |
08/13: gnu: Add python-qtsass. |
Date: |
Sat, 8 May 2021 05:28:54 -0400 (EDT) |
lbraun pushed a commit to branch master
in repository guix.
commit 83706ea9e91792f22eec900ff65372c49991297f
Author: Vinicius Monego <monego@posteo.net>
AuthorDate: Tue Apr 20 05:22:38 2021 +0000
gnu: Add python-qtsass.
* 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 ca27e45..8229649 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -25066,6 +25066,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")
- branch master updated (a9a67da -> dd05a93), guix-commits, 2021/05/08
- 01/13: gnu: Add python-textdistance., guix-commits, 2021/05/08
- 02/13: gnu: Add python-three-merge., guix-commits, 2021/05/08
- 03/13: gnu: Add python-pyls-black., guix-commits, 2021/05/08
- 04/13: gnu: Add python-tinycss., guix-commits, 2021/05/08
- 05/13: gnu: Add python-qstylizer., guix-commits, 2021/05/08
- 08/13: gnu: Add python-qtsass.,
guix-commits <=
- 07/13: gnu: Add python-pytest-qt., guix-commits, 2021/05/08
- 10/13: gnu: Add python-entrypoint2., guix-commits, 2021/05/08
- 11/13: gnu: Add python-pyvirtualdisplay., guix-commits, 2021/05/08
- 06/13: gnu: python-language-server: Enable tests., guix-commits, 2021/05/08
- 12/13: gnu: Add python-pytest-xvfb., guix-commits, 2021/05/08
- 13/13: gnu: python-language-server: Relax dependency versions., guix-commits, 2021/05/08
- 09/13: gnu: Add python-easyprocess., guix-commits, 2021/05/08