NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.37k stars 13.59k forks source link

Package Request: Saleor #107522

Open epigramengineer opened 3 years ago

epigramengineer commented 3 years ago

Project description A headless, GraphQL-first e-commerce platform delivering ultra-fast, dynamic and personalized shopping experiences.

Metadata

epigramengineer commented 3 years ago

It looks like they now only recommend using docker as the installation mechanism, in previous versions they had linux installation instructions at https://docs.saleor.io/docs/2.9.0/getting-started/installation-linux

epigramengineer commented 3 years ago

Reopening this, would still be desirable to have in a pure nix service installation outside of a docker deployment. Have attempted to build a derivation myself, but I have no idea what I'm doing when it comes to services like this.

{ stdenv, fetchFromGitHub, python3 }:

stdenv.mkDerivation rec {
  pname = "saleor";
  version = "2.11.4";

  src = fetchFromGitHub {
    owner = "mirumee";
    repo = pname; 
    rev = "f5b2d1e018a96c1bce0066d1d93e582ec262da50";
    sha256 = ???
  };

  buildInputs = [ python3 ];

  meta = with stdenv.lib; {
    description = "Saleor; A headless, GraphQL-first e-commerce platform delivering ultra-fast, dynamic and personalized shopping experiences.";
    homepage = "https://saleor.io";
    license = licenses.bsd3;
    platforms = platforms.unix;
  };
}
stale[bot] commented 3 years ago

I marked this as stale due to inactivity. → More info