Skip to content

Commit

Permalink
Add tests for unclear-gpl with python
Browse files Browse the repository at this point in the history
  • Loading branch information
rmcgibbo committed Jan 24, 2021
1 parent 67cd577 commit f0e6df4
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions run-tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ def __iter__(self):
'lgpl2',
'lgpl21',
'lgpl3',
'lgpl3-python',
],
[
'single-nonmatching-license',
Expand Down
2 changes: 2 additions & 0 deletions tests/unclear-gpl/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
lgpl2 = pkgs.callPackage ./lgpl2.nix { };
lgpl21 = pkgs.callPackage ./lgpl21.nix { };
lgpl3 = pkgs.callPackage ./lgpl3.nix { };
lgpl3-python = pkgs.callPackage ./lgpl3-python.nix { buildPythonPackage = pkgs.python3.pkgs.buildPythonPackage; };


# negative cases
single-nonmatching-license = pkgs.callPackage ./single-nonmatching-license.nix { };
Expand Down
11 changes: 11 additions & 0 deletions tests/unclear-gpl/lgpl3-python.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{ lib
, buildPythonPackage
}:

buildPythonPackage {
pname = "unclear-gpl-lgpl3-python";

src = ../fixtures/make;

meta.license = [ lib.licenses.lgpl3 ];
}

0 comments on commit f0e6df4

Please sign in to comment.