acr-cli: init at 0.14 (#359508)
[NixPkgs.git] / pkgs / by-name / re / resolve-march-native / package.nix
blob312d0d11c50cb996eb307b3e961ecd1efad91748
1 { python3Packages
2 , fetchFromGitHub
3 , gcc
4 , lib
5 }:
7 python3Packages.buildPythonApplication rec {
8   pname = "resolve-march-native";
9   version = "5.1.0";
11   src = fetchFromGitHub {
12     owner = "hartwork";
13     repo = pname;
14     rev = "refs/tags/${version}";
15     hash = "sha256-02d7ip5E/vkOMkkeHOx1m7FdpurXT9O6HdwrygNPHdY=";
16   };
18   # NB: The tool uses gcc at runtime to resolve the -march=native flags
19   propagatedBuildInputs = [ gcc ];
21   doCheck = true;
23   meta = with lib; {
24     description = "Tool to determine what GCC flags -march=native would resolve into";
25     mainProgram = "resolve-march-native";
26     homepage = "https://github.com/hartwork/resolve-march-native";
27     license = licenses.gpl2Plus;
28     maintainers = with maintainers; [ lovesegfault ];
29     platforms = platforms.unix;
30   };