You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

20 lines
606 B

  1. with import (builtins.fetchTarball {
  2. # nixos-unstable on 2020-07-18
  3. url =
  4. "https://github.com/NixOS/nixpkgs/tarball/d7e20ee25ed8aa1f0f24a9ca77026c6ef217f6ba";
  5. sha256 = "1ar7prnrmmlqj17g57nqp82hgy5283dxb94akaqrwpbaz7qfwi4y";
  6. }) { };
  7. poetry2nix.mkPoetryApplication {
  8. projectDir = ./.;
  9. # default cleaning of non-source files, but also ignore config and database
  10. src = lib.cleanSourceWith {
  11. filter = name: type:
  12. let baseName = baseNameOf (toString name);
  13. in !(baseName == "blimp.cfg" || baseName == "blimp.db");
  14. src = poetry2nix.cleanPythonSources { src = ./.; };
  15. };
  16. }