biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / applications / graphics / pika / default.nix
blobe1e5726eb54d371e9ca4f22d3c981aeb1948f630
1 { lib
2 , fetchurl
3 , stdenv
4 , undmg
5 }:
7 stdenv.mkDerivation rec {
8   pname = "pika";
9   version = "0.0.12";
11   src = fetchurl {
12     url = "https://github.com/superhighfives/${pname}/releases/download/${version}/Pika-${version}.dmg";
13     sha256 = "sha256-hcP2bETEx9RQW43I9nvdRPi9lbWwKW6mhRx5H6RxhjM=";
14   };
16   nativeBuildInputs = [ undmg ];
18   sourceRoot = "Pika.app";
20   installPhase = ''
21     mkdir -p "$out/Applications/Pika.app"
22     cp -R . "$out/Applications/Pika.app"
23   '';
25   meta = with lib; {
26     homepage = "https://superhighfives.com/pika";
27     description = "Open-source colour picker app for macOS";
28     platforms = platforms.darwin;
29     license = licenses.mit;
30     maintainers = with maintainers; [ arkivm ];
31   };