nixos/pkgs/sqlfmt/default.nix

25 lines
426 B
Nix
Raw Normal View History

2024-06-15 00:50:30 +01:00
{ pkgs ? import <nixpkgs> { }
, ...
}:
let
name = "hello_poetry2nix";
rev = "4431812218e1963fd34f4d9d22dcd688a4c33fb4";
hash = "sha256-iHqzA/HJ+vb7O5vpGpA1eR3BcoGDPE2QOqQQpOp0zFQ=";
src = pkgs.fetchFromGitHub {
inherit rev hash;
owner = "wilsonehusin";
repo = "hello-poetry2nix";
};
in
pkgs.poetry2nix.mkPoetryApplication {
inherit name src;
pname = name;
version = rev;
projectDir = src;
}