about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/misc/konsave/default.nix
blob: f86f2c19c6c07bc62a43ee5e52f6ad53beff5fca (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
25
26
27
28
{ lib, python3Packages, fetchPypi }:

python3Packages.buildPythonApplication rec {
  pname = "konsave";
  version = "2.2.0";

  src = fetchPypi {
    inherit version;
    pname = "Konsave";
    hash = "sha256-tWarqT2jFgCuSsa2NwMHRaR3/wj0khiRHidvRNMwM8M=";
  };

  nativeBuildInputs = with python3Packages; [ setuptools-scm ];
  propagatedBuildInputs = with python3Packages; [ pyyaml setuptools ];

  preCheck = ''
    export HOME=$(mktemp -d)
  '';

  meta = with lib; {
    description = "Save Linux Customization";
    mainProgram = "konsave";
    maintainers = with maintainers; [ MoritzBoehme ];
    homepage = "https://github.com/Prayag2/konsave";
    license = licenses.gpl3;
    platforms = platforms.linux;
  };
}