python312Packages.types-aiobotocore: 2.15.2 -> 2.15.2.post3 (#361801)
[NixPkgs.git] / pkgs / by-name / pr / privatebin / package.nix
blobaaef2f737ee8f9ee63776c8b7d29281b7f0d3c6f
2   lib,
3   stdenvNoCC,
4   fetchFromGitHub,
5   nixosTests,
6 }:
8 stdenvNoCC.mkDerivation (finalAttrs: {
9   pname = "privatebin";
10   version = "1.7.5";
11   src = fetchFromGitHub {
12     owner = "PrivateBin";
13     repo = "PrivateBin";
14     rev = "refs/tags/${finalAttrs.version}";
15     hash = "sha256-LdTteUED/pq4Z4IOBttLPm3K9gx1xVqP24QQ48uvuyI=";
16   };
18   installPhase = ''
19     runHook preInstall
20     mkdir -p $out
21     cp -R $src/* $out
22     runHook postInstall
23   '';
25   passthru.tests = nixosTests.privatebin;
27   meta = {
28     changelog = "https://github.com/PrivateBin/PrivateBin/releases/tag/${finalAttrs.version}";
29     description = "Minimalist, open source online pastebin where the server has zero knowledge of pasted data.";
30     homepage = "https://privatebin.info";
31     license = lib.licenses.gpl2;
32     maintainers = [ lib.maintainers.savyajha ];
33   };