mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 10:53:11 +00:00
Merge pull request #179763 from arkivm/add-darwin-pika
pika: init at 0.0.12
This commit is contained in:
commit
9c82c21801
32
pkgs/applications/graphics/pika/default.nix
Normal file
32
pkgs/applications/graphics/pika/default.nix
Normal file
@ -0,0 +1,32 @@
|
||||
{ lib
|
||||
, fetchurl
|
||||
, stdenv
|
||||
, undmg
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "pika";
|
||||
version = "0.0.12";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/superhighfives/${pname}/releases/download/${version}/Pika-${version}.dmg";
|
||||
sha256 = "sha256-hcP2bETEx9RQW43I9nvdRPi9lbWwKW6mhRx5H6RxhjM=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ undmg ];
|
||||
|
||||
sourceRoot = "Pika.app";
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p "$out/Applications/Pika.app"
|
||||
cp -R . "$out/Applications/Pika.app"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://superhighfives.com/pika";
|
||||
description = "An open-source colour picker app for macOS";
|
||||
platforms = platforms.darwin;
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ arkivm ];
|
||||
};
|
||||
}
|
@ -4379,6 +4379,8 @@ with pkgs;
|
||||
|
||||
piglit = callPackage ../tools/graphics/piglit { };
|
||||
|
||||
pika = callPackage ../applications/graphics/pika { };
|
||||
|
||||
playerctl = callPackage ../tools/audio/playerctl { };
|
||||
|
||||
pn = callPackage ../tools/text/pn { };
|
||||
|
Loading…
Reference in New Issue
Block a user