]> git.scottworley.com Git - pinch/blame - default.nix
Build like a real Python package
[pinch] / default.nix
CommitLineData
b5964ec3
SW
1{ pkgs ? import <nixpkgs> { } }:
2pkgs.python3Packages.callPackage
3({ lib, buildPythonPackage, nix, git, autopep8, mypy, pylint, }:
4 buildPythonPackage rec {
5 pname = "pinch";
6 version = "1.3";
7 src = lib.cleanSource ./.;
8 checkInputs = [ nix git autopep8 mypy pylint ];
9 doCheck = true;
10 checkPhase = "./test.sh";
11 }) { }