]>
Commit | Line | Data |
---|---|---|
27ff981f SW |
1 | { pkgs ? import <nixpkgs> { }, lint ? false }: |
2 | pkgs.python3Packages.callPackage | |
3 | ({ lib, buildPythonPackage, mypy, autopep8, pylint, }: | |
4 | buildPythonPackage rec { | |
5 | pname = "rfc1751"; | |
6 | version = "0.1.0"; | |
7 | src = lib.cleanSource ./.; | |
8 | nativeCheckInputs = [ mypy ] ++ lib.optionals lint [ autopep8 pylint ]; | |
9 | doCheck = true; | |
10 | checkPhase = "./test.sh"; | |
06b69e2e | 11 | meta = { license = lib.licenses.isc; }; |
27ff981f | 12 | }) { } |