about summary refs log tree commit diff
path: root/pkgs/by-name/di/dipc/package.nix
blob: 4f8ab5fde7dec996880183aea02439e0c9e097c6 (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
{ lib
, rustPlatform
, fetchFromGitHub
}:

rustPlatform.buildRustPackage rec {
  pname = "dipc";
  version = "1.0.0";

  src = fetchFromGitHub {
    owner = "doprz";
    repo = "dipc";
    rev = "bf578bd9474084b7099ef665138667e486dce671";
    hash = "sha256-RXEC8bwdnUOaDmYIb7ci/JD+vi16tBn55FRsUmwaRzk=";
  };

  cargoHash = "sha256-XQ85T64K1NLdSOtAFr0XluvFNTaHzoWKxoQtBQ+uSKQ=";

  meta = with lib; {
    description = "Convert your favorite images and wallpapers with your favorite color palettes/themes";
    homepage = "https://github.com/doprz/dipc";
    license = with licenses; [ mit asl20 ];
    maintainers = with maintainers; [ ByteSudoer ];
    mainProgram = "dipc";
  };
}