about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/compilers/lesscpy/default.nix
blob: d85b36da8918ac72a1ae5d48aaf5c0cd91b4cf4a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ lib, python3Packages, fetchPypi }:

python3Packages.buildPythonApplication rec {
  pname   = "lesscpy";
  version = "0.15.1";

  src = fetchPypi {
    inherit pname version;
    sha256 = "sha256-EEXRepj2iGRsp1jf8lTm6cA3RWSOBRoIGwOVw7d8gkw=";
  };

  checkInputs = with python3Packages; [ pytestCheckHook ];
  pythonImportsCheck = [ "lesscpy" ];
  propagatedBuildInputs = with python3Packages; [ ply six ];

  doCheck = false; # Really weird test failures (`nix-build-python2.css not found`)

  meta = with lib; {
    description = "Python LESS Compiler";
    homepage    = "https://github.com/lesscpy/lesscpy";
    license     = licenses.mit;
    maintainers = with maintainers; [ s1341 ];
  };
}