Skip to content

Commit

Permalink
Add nix derivation
Browse files Browse the repository at this point in the history
  • Loading branch information
synesthesiam committed Oct 6, 2021
1 parent ccd9ca5 commit af59087
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
2 changes: 2 additions & 0 deletions default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
{ pkgs ? import <nixpkgs> {} }:
pkgs.callPackage ./derivation.nix {}
16 changes: 16 additions & 0 deletions derivation.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{ lib, nixpkgs ? import <nixpkgs> {}, pythonPkgs ? nixpkgs.pkgs.python38Packages }:
pythonPkgs.buildPythonPackage rec {
name = "phonemes2ids-${version}";
pname = "phonemes2ids";
version = "1.1.0";

src = ./.;

meta = with lib; {
homepage = "https://github.com/rhasspy/phonemes2ids";
description = "Convert phonemes to integer ids";
license = licenses.mit;
};

doCheck = false;
}

0 comments on commit af59087

Please sign in to comment.