summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/pyscss/default.nix
blob: c3731ea6d9702425cb3f97dac0811196fcfa6b65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  pytestCheckHook,
  six,
}:

buildPythonPackage rec {
  pname = "pyscss";
  version = "1.4.0";
  format = "setuptools";

  src = fetchFromGitHub {
    repo = "pyScss";
    owner = "Kronuz";
    tag = "v${version}";
    hash = "sha256-z0y4z+/JE6rZWHAvps/taDZvutyVhxxs2gMujV5rNu4=";
  };

  nativeCheckInputs = [ pytestCheckHook ];

  propagatedBuildInputs = [ six ];

  # Test suite is broken.
  # See https://github.com/Kronuz/pyScss/issues/415
  doCheck = false;

  meta = {
    description = "Scss compiler for Python";
    homepage = "https://pyscss.readthedocs.org/en/latest/";
    license = lib.licenses.mit;
    maintainers = [ ];
  };
}