mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2024-11-28 06:51:28 +00:00
use git revision as Nix derivation version
This commit is contained in:
parent
b3a6e6393c
commit
fa766b7027
|
@ -1,8 +1,8 @@
|
|||
{ pythonPackages }:
|
||||
{ pythonPackages, rev ? "local" }:
|
||||
|
||||
pythonPackages.buildPythonApplication rec {
|
||||
pname = "selfprivacy-graphql-api";
|
||||
version = "local";
|
||||
version = rev;
|
||||
src = builtins.filterSource (p: t: p != ".git" && t != "symlink") ./.;
|
||||
propagatedBuildInputs = with pythonPackages; [
|
||||
fastapi
|
||||
|
|
Loading…
Reference in a new issue