From f6fdc79989519219f28b1eee5b3bd1431858f4a1 Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Sun, 17 Oct 2021 10:35:40 +0200 Subject: [PATCH] pixelpwnr: init at unstable-2020-02-05 --- default.nix | 2 ++ flake.nix | 1 + pixelpwnr/client.nix | 22 ++++++++++++++++++++++ 3 files changed, 25 insertions(+) create mode 100644 pixelpwnr/client.nix diff --git a/default.nix b/default.nix index 8687c3c..9a45f25 100644 --- a/default.nix +++ b/default.nix @@ -2,6 +2,8 @@ final: prev: let inherit (prev) callPackage; in { + pixelpwnr = callPackage ./pixelpwnr/client.nix { }; + shoreline = callPackage ./shoreline { }; sturmflut = callPackage ./sturmflut { }; diff --git a/flake.nix b/flake.nix index 4cd2b66..b9fd981 100644 --- a/flake.nix +++ b/flake.nix @@ -16,6 +16,7 @@ packages = { inherit (pkgs) pixelnuke + pixelpwnr shoreline sturmflut; }; diff --git a/pixelpwnr/client.nix b/pixelpwnr/client.nix new file mode 100644 index 0000000..3a94451 --- /dev/null +++ b/pixelpwnr/client.nix @@ -0,0 +1,22 @@ +{ lib, fetchFromGitHub, rustPlatform }: + +rustPlatform.buildRustPackage rec { + pname = "pixelpwnr"; + version = "unstable-2020-02-05"; + + src = fetchFromGitHub { + owner = "timvisee"; + repo = pname; + rev = "fd8f35639dfaefef83ccb752bdc20434d208f0a6"; + sha256 = "sha256-PC+1Vx9H9njAy5UusFOHlE8SLpCf+J7cCPWONwDSU58="; + }; + + cargoSha256 = "sha256-4cnsSGUzIJyTEbjmKeORrw03RuyJxQ6PpBcwVR17xdM="; + + meta = with lib; { + description = "Insanely fast pixelflut client for images and animations written in Rust"; + homepage = "https://github.com/timvisee/pixelpwnr"; + license = licenses.gpl3Only; + maintainers = with maintainers; [ sbruder ]; + }; +}