Unverified Commit f8adf710 authored by Anthony Roussel's avatar Anthony Roussel
Browse files
parent 679cb8ff
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -9,13 +9,13 @@

let
  pname = "photofield-ui";
  version = "0.11.0";
  version = "0.13.0";

  src = fetchFromGitHub {
    owner = "SmilyOrg";
    repo = "photofield";
    rev = "v${version}";
    hash = "sha256-AqOhagqH0wRKjwcRHFVw0izC0DBv9uY3B5MMDBJoFVE=";
    rev = "refs/tags/v${version}";
    hash = "sha256-6pJvOn3sN6zfjt2dVZ/xH6pSXM0WgbG7au9tSVUGYys=";
  };

  webui = buildNpmPackage {
@@ -24,7 +24,7 @@ let

    sourceRoot = "${src.name}/ui";

    npmDepsHash = "sha256-YVyaZsFh5bolDzMd5rXWrbbXQZBeEIV6Fh/kwN+rvPk=";
    npmDepsHash = "sha256-trKcNuhRdiabFKMafOLtPg8x1bQHLOif6Hm4k5bTAYc=";

    installPhase = ''
      mkdir -p $out/share
@@ -37,7 +37,7 @@ buildGoModule rec {
  pname = "photofield";
  inherit version src;

  vendorHash = "sha256-0rrBHkKZfStwzIv5Us/8Db6z3ZSqassCMWQMpScZq7Y=";
  vendorHash = "sha256-4JFP3vs/Z8iSKgcwfxpdnQpO9kTF68XQArFHYP8IoDQ=";

  preBuild = ''
    cp -r ${webui}/share/photofield-ui ui/dist
@@ -50,7 +50,7 @@ buildGoModule rec {
    "-X main.builtBy=Nix"
  ];

  tags = [ "embedstatic" ];
  tags = [ "embedui" ];

  doCheck = false; # tries to modify filesytem