nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 hatchling,
6}:
7
8buildPythonPackage rec {
9 pname = "appimage";
10 version = "1.0.0";
11 pyproject = true;
12
13 src = fetchFromGitHub {
14 owner = "ssh-mitm";
15 repo = "appimage";
16 tag = version;
17 hash = "sha256-d8LwZ4iZ+fwFaBP/IFoKImI/TsYtVD0rllbYN9XP/es=";
18 };
19
20 build-system = [ hatchling ];
21
22 # Module has no test
23 doCheck = false;
24
25 pythonImportsCheck = [ "appimage" ];
26
27 meta = {
28 description = "AppImage start scripts";
29 homepage = "https://github.com/ssh-mitm/appimage";
30 changelog = "https://github.com/ssh-mitm/appimage/blob/${src.rev}/CHANGELOG.md";
31 license = lib.licenses.gpl3Only;
32 maintainers = with lib.maintainers; [ fab ];
33 };
34}